Tag: freebsd

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 …

freebsd

List all physical devices

Type the following command:# camcontrol devlist How do I list current partition information? Use the following command:# gpart showSample outputs: => 34 31277165 ada3 GPT (14G) 34 1024 1 bios-boot (512k) 1058 6 – free – (3.0k) 1064 31275184 2 freebsd-zfs (14G) 31276248 951 – free – (475k) => 34 11721045101 ada0 GPT (5.5T) 34 …