Category: freebsd

freebsd, MySql

Error The Server Quit Without Updating Pid File

This detailed guide is mainly for FreeBSD, however the idea coincides for Linux. Every once a while, when I upgrade my FreeBSD box, the system prefers to shutdown my MySQL web server. Therefore, I need to begin it again after the upgrade is done. Sadly, the update process isn’t smooth every time. Sometimes it will …

CentOS, Centoswebpanel, CloudLinux, cPanel, CWP, DirectAdmin, freebsd, kali linux, Linux

Bad Magic Number In Superblock

Bad Magic Number In Superblock The Server will go down due to issues in disks attached. Sometimes fsck in disks ends up in an error “Bad magic number in Superblock while trying to open /dev/sdb”. What do you mean by superblock? The superblock means a file system metadata (data of a data) that describes the size, …

freebsd

How to Install MariaDB on FreeBSD

to install the MariaDB database manager and to validate which components are available for the MariaDB databases we will execute the following command. We can see the various options available. ls -al /usr/ports/databases/ | grep mariadb In this case, we will install the mariadb102 package by executing the following command: pkg install mariadb102-server mariadb102-client php71-mysqli Now, we will enable the …

freebsd

How to Install Apache, PHP, MySQL, phpMyAdmin – FreeBSD 11.2-Release

How to Install Apache Web Server Apache, and all the other packages that we’re going to use here can be installed either via pkg(8) or via FreeBSD ports. To install Apache 2.4 via pkg: sudo pkg install apache24 To install Apache 2.4 via ports: cd /usr/ports/www/apache24 && sudo make install clean FYI: Installing from ports …

freebsd

How to configure/change IP in Freebsd

To display the current configuration for the network interfaces on your FreeBSD server, type the following command:# ifconfig How Do I Configure the Network Card Under FreeBSD? You need to use the ifconfig command as follows to assign an IP address:# ifconfig interfaceName inet IPAddress To assign an ip to lnc0 interface, enter:# ifconfig lnc0 …