<\/span><\/h2>\n\n\n\nBefore installing the software, we must update the system packages to the latest available versions.<\/p>\n\n\n\n
$ sudo apt-get update && sudo apt-get upgrade<\/code><\/pre>\n\n\n\n<\/span>Step 2. Install MariaDB prerequisites<\/span><\/h2>\n\n\n\nThe first step of the installation is installing the required packets. To do that, execute the following command:<\/p>\n\n\n\n
sudo apt-get install wget software-properties-common dirmngr ca-certificates apt-transport-https -y<\/code><\/pre>\n\n\n\n<\/span>Step 3. Install MariaDB<\/span><\/h2>\n\n\n\nOnce the system is updated and the required packets are installed, you can proceed with installing MariaDB with the following command:<\/p>\n\n\n\n
sudo apt-get install mariadb-server mariadb-client<\/code><\/pre>\n\n\n\nAfter installation is completed, you can log in to the MySQL command line to create the Fluxbb database and user with the mysql command and execute the following commands:<\/p>\n\n\n\n
CREATE DATABASE fluxbb;\nCREATE USER 'fluxbbuser'@'localhost' IDENTIFIED BY 'your_password';\nGRANT ALL PRIVILEGES ON fluxbb.* TO 'fluxbbuser'@'localhost';\nFLUSH PRIVILEGES;\nEXIT;<\/code><\/pre>\n\n\n\n<\/span>Step 4. Install PHP<\/span><\/h2>\n\n\n\nNext, you will need to install PHP 7.4 version for the Fluxbb version 1.5.13 with the needed PHP modules with the commands:<\/p>\n\n\n\n
sudo add-apt-repository ppa:ondrej\/php\nsudo apt-get install php7.4 libapache2-mod-php7.4 php7.4-common php7.4-curl php7.4-intl php7.4-mbstring php7.4-xmlrpc php7.4-mysql php7.4-gd php7.4-pgsql php7.4-xml php7.4-cli php7.4-imagick php7.4-bcmath php7.4-gmp php7.4-zip<\/code><\/pre>\n\n\n\nAfter the installation of PHP 7.4 is completed, you can proceed to the next step of installing FluxBB. <\/p>\n\n\n\n