วิธีการติดตั้ง Froxlor Server Management Panel บน CentOS 7

วิธีการติดตั้ง Froxlor Server Management Panel บน CentOS 7

Step 1: Update the system

In order to keep your system up to date, run the following commands as a sudo user:

Log in back as the same sudo user after the system starts again.

Step 2: Install the Apache web server

On CentOS 7, you can install the latest stable release of Apache using YUM:

Next, remove the Apache welcome page:

For security purposes, you should prevent Apache from exposing files to web visitors:

Start the Apache web server and enable automatic start on system boot:

Step 3: Install MariaDB 10

Froxlor needs to store its data in a relationship database. On CentOS 7, it is recommended to use MariaDB 10.1.

3.1 Setup the MariaDB 10.1 YUM repo

Just copy the entire code segment below into your SSH terminal, and then press Enter to import the repo file:

3.2 Install MariaDB 10.1 using YUM:

3.3 Start the MariaDB service and enable auto start on boot:

3.4 Secure the installation of MariaDB:

Run the below command to secure MariaDB:

Answer questions as follows, and be sure to use a private and strong MariaDB root password.

3.5 Create a MariaDB database for Froxlor

Log into the MySQL shell as root:

Enter the MariaDB root password you set earlier in order to log in.

In the MySQL shell, create a database froxlor, an unprivileged user froxlor and its password (say it is yourpassword) using the following commands.

Note: Remember to replace the sample password yourpassword with a secure password.

Step 4: Install PHP 7

Install PHP 7.1 and all the necessary dependencies using the Webtatic YUM repo as follows:

Step 5: Install Froxlor

Download the latest stable release of Froxlor, unzip the archive to the web root directory, and then grand proper permissions to all of the Froxlor files:

Modify firewall rules in order to allow web access:

Now, point your web browser to http://203.0.113.1/froxlor/, continuing the installation in the web interface.

1) On the Welcome to Froxlor page, click the Start install link.

2) On the Checking system requirements page, make sure that all requirements have been satisfied, and then click the link Click here to continue.

3) On the Froxlor install - setup page, provide necessary info as follows, and then click the link Click here to continue.

Database connection

  • MySQL-Hostname: 127.0.0.1
  • Database name: froxlor
  • Username for the unprivileged MySQL-account: froxlor
  • Password for the unprivileged MySQL-account: yourpassword
  • Username for the MySQL-root-account: root
  • Password for the MySQL-root-account: <MariaDB-root-password>

Administrator Account

  • Administrator Username: <your-Froxlor-admin-username>
  • Administrator Password: <your-Floxlor-admin-password>
  • Administrator-Password (confirm): <your-Floxlor-admin-password>

Server settings

  • Server name (FQDN, no ip-address): <your-server's-FQDN>
  • Server IP: 203.0.113.1
  • Webserver Apache 2.4: Apache 2.4
  • HTTP username: apache
  • HTTP groupname: apache

4) On the last page, if nothing goes wrong, you can use the link Click here to login to visit the Froxlor dashboard.

That concludes our tutorial. Thanks for reading.

Leave a Reply

iameveme