This tutorial intends to teach you to Install and Configure Froxlor Server Management Software with LAMP Stack on AlmaLinux 9. As described on the Froxlor official site, it is an open-source lightweight server management control panel to manage web hosting, domain names, FTP accounts, email accounts, etc.
How To Install Froxlor Server Management on AlmaLinux 9?
To set up the Froxlor server management control panel, you need some requirements.
First, you must have access to your server as a non-root user with sudo privileges and set up a basic firewall. To do this, you can visit Initial Server Setup with AlmaLinux 9.
Because we want to install Froxlor with LAMP stack, you must install it on your server. For this purpose, you can visit this guide on How To Install LAMP Stack on AlmaLinux 9.
When you are done, proceed to the following steps to complete this guide.
Step 1 – Download Latest Froxlor Tarball package on AlmaLinux 9
First, you must switch to your /var/www/html/ directory with the following command:
Then, use the following wget command to download the latest Froxlor on your server:
sudo wget https://files.froxlor.org/releases/froxlor-latest.tar.gz
Next, extract your downloaded file with the following command:
sudo tar xvfz froxlor-latest.tar.gz
Now your Froxlor must be available in the /var/www/html/froxlor directory.
Also, you can remove your archive:
sudo rm froxlor-latest.tar.gz
Finally, set the correct ownership for Froxlor on AlmaLinux 9 with the following command:
sudo chown -R apache:apache /var/www/html/froxlor
Step 2 – Create Froxlor privileged Database User on AlmaLinux 9
At this point, you must log in to your MariaDB shell and create a privileged user which is required for froxlor.
First, log in to your MariaDB shell with the command below:
sudo mysql -u root -p
Then, create a new user for Froxlor with a strong password:
MariaDB [(none)]> CREATE USER 'froxloruser'@'localhost' IDENTIFIED BY 'password';
Grant all the privileges to this user with the following command:
MariaDB [(none)]> GRANT ALL PRIVILEGES ON *.* TO 'froxloruser'@'localhost' WITH GRANT OPTION;
Next, flush the privileges and exit from MariaDB:
MariaDB [(none)]> FLUSH PRIVILEGES; MariaDB [(none)]> EXIT;
Step 3 – Configure Firewall Rules for Froxlor on AlmaLinux 9
Before you can access your Froxlor from the web interface on AlmaLinux 9, you need to allow ports 80 and 443 through the firewall. To do this, run the commands below:
# sudo firewall-cmd --zone=public --add-service=http --permanent # sudo firewall-cmd --zone=public --add-service=https --permanent
Reload the firewall to apply the new rules:
sudo firewall-cmd --reload
Step 4 – Access and Install Froxlor through Web Interface on AlmaLinux 9
At this point, you can complete your installation through the web interface by typing your server’s IP address in your web browser followed by froxlor:
Note: Your default web-root directory may differ from /var/www/html/. To access froxlor, you need to adjust the default virtual host to set /var/www/html/ as document-root. To do this, you can edit the following file:
sudo vi /etc/httpd/conf/httpd.conf
And set the DocumentRoot to:
Then, restart Apache to apply the changes.
When you access your Froxlor welcome screen, click Start Install.
Then, from the system check, when everything is ok, click start installation.
At this point, you must enter your Froxlor privileged user that you have created in step 2. Also, the given database and unprivileged user will be created here. Weh you are done, click Next.
Now you must create an admin user to access your Froxlor dashboard on AlmaLinux 9 and click Next.
Here you need to enter your server details like the server’s IP address and hostname. For the distribution, you can choose Debian 12 because it doesn’t have AlmaLinux in the list.
Now you will see a command. You can wait to automatically finish or do it manually and click Finish setup.
Then, you will see your Froxlor server management login screen. Enter your Admin user and password and click Login.
Finally, you will see your Froxlor dashboard on AlmaLinux 9.
From here you can easily manage your server via the Froxlor web panel dashboard.
For more information, you can visit Froxlor documentation.
At this point, you have learned to Install and Configure the Froxlor Server Management control panel with LAMP Stack on AlmaLinux 9 and access the Froxlor dashboard from the web interface.
Hope you enjoy using it. You may be interested in these articles too: