ManagedCloud Servers

High performance handled and monitored by us 24/7/365. A complete solution to provide you with our in house expertise 24/7 tailored to your specific needs. We'll setup a bespoke server for your site using the latest tehnologies so you can get the most out of your hardware and get your website loading quickly and reliably. Find out more..

cPanelCloud Servers

Recommended - High performance cloud servers with no technical knowledge required. If you're hosting multiple websites already and you're looking to consolidate, or if you're looking to isolate yourself from the shared hosting environment but you don't have the time or knoweldge to manage a server, then the Managed cPanel Servers are for you. Find out more..

UnmanagedCloud Servers

Our unmanaged range gives you complete control at rock bottom prices and our cloud platform boasts super fast multipath 40Gb/s network, the latest Intel Xeon V3 CPUs and enterprise grade redundant SSDs. If you're a sysadmin look no further, we offer some of the best specification to price ratio servers available. Find out more..

Want your very own server? Get our 1GB memory, Xeon V4, 20GB SSD VPS for £10.00 / month.

View Plans

How to Install BigTree CMS on CentOS 7

BigTree CMS is an open source content management system written in PHP and uses MySQL for databases.

It provides auser friendly web interface and it is easy to use. BigTree CMS is very fast, lightweight core capable of powering multiple sites and millions of hits per day.

BigTree CMS comes with lots of modules that can be used to manage complex content like blog posts, formatted news releases, calendar events, frequently asked questions, and homepage features.

In this tutorial, we will learn how to install BigTree CMS on a CentOS 7 server.

Requirements

  • A server runing CentOS 7 on your system.
  • A non-root user with sudo privileges setup on your server.
  • A static IP address 192.168.15.193 setup on your server.

Update the System

Before starting, you will need to update the system with the latest version. You can do this with the following command:

sudo yum update -y

Once your system is up to date, you can proceed to the next step.

Install LAMP Server

First, you will need to install LAMP server (Apache, MariaDB and PHP) on your server as a prerequisites of BigTree CMS.

You can install all of them by running the following command:

sudo yum install httpd mariadb-server mariadb php

Next, you will also need to install some required php modules and other packages on your system. You can install it with the following command:

sudo yum install php-mysql php-gd php-ldap php-xml php-xmlrpc php-mbstring php-mcrypt curl zlib libtool-ltdl php-pdo -y

Once the installation is complete, start the apache and mariadb service and enable it to start on boot with the following command:

sudo systemctl start httpd sudo systemctl start mariadb sudo systemctl enable httpd sudo systemctl enable mariadb

Configure Database for BigTree CMS

By default, MariaDB is not secured, so you will need to secure it first. You can secure it by running the mysql_secure_installation script:

sudo mysql_secure_installation

Answer all the questions as follows:

Enter current password for root (enter for none): Enter
Set root password? [Y/n]: Y
New password: <your-password>
Re-enter new password: <your-password>
Remove anonymous users? [Y/n]: Y
Disallow root login remotely? [Y/n]: Y
Remove test database and access to it? [Y/n]: Y
Reload privilege tables now? [Y/n]: Y

Once MariaDB is secured, you can login to MySQL shell with the following command:

mysql -u root -p

Enter your root password when prompt.

Next, create a database named bigtreedb with the username bigtree and password password. It is recommended to set secure password:

`MariaDB [(none)]> Create database bigtreedb;
Query OK, 1 row affected (0.00 sec)`

`MariaDB [(none)]>CREATE USER 'bigtree'@'localhost' IDENTIFIED BY 'password'; Query OK, 1 row affected (0.00 sec)`

Next, grant all privileges with the following command:

`MariaDB [(none)]> GRANT ALL PRIVILEGES ON `bigtreedb`.* TO 'bigtree'@'localhost';
Query OK, 1 row affected (0.00 sec)`

Next, flush all privileges so that the privileges table will be reloaded by MySQL and we can use new credentials.:

`MariaDB [(none)]> FLUSH PRIVILEGES;
Query OK, 1 row affected (0.00 sec)`

Then, exit from the MySQL shell:

`MariaDB [(none)]>quit;
Query OK, 1 row affected (0.00 sec)`

You will also need to make some changes in php.ini file. You can do this with the following command:

sudo nano /etc/php.ini

Change the following lines as shown below:

upload_max_filesize = 8M
short_open_tag = On

Save and close the file when you are finished then restart the Apache service so the changes will be applied:

sudo systemctl restart apache2

##Download BigTree CMS

First, go to the BigTree CMS official web site at https://www.bigtreecms.org/download/ and download the latest version of the BigTree.

Once the download is complete, extract the downloaded file with the following command:

mkdir /var/www/html/bigtree unzip BigTreeCMS-4.2.16.zip -d /var/www/html/bigtree

Next, you will need to change permission of the bigtree directory. You can do this with the following command:

sudo chown apache:apache -R /var/www/html/bigtree/

Once you are done, you can proceed to the next step.

Configure Apache for BigTree CMS

Next, you will need to create Apache virtual host for BigTree CMS. You can do this by creating bigtree.conf file inside /etc/httpd/conf.d/ directory:

sudo nano /etc/httpd/conf.d/bigtree

Add the following lines:

<VirtualHost *:80>
ServerAdmin webmaster@yourdomain.com
DocumentRoot "/var/www/html/bigtree/"
ServerName 192.168.15.193
ErrorLog "/var/log/httpd/bigtree-error_log"
CustomLog "/var/log/httpd/bigtree-access_log" combined

<Directory "/var/www/html/bigtree/"> DirectoryIndex index.html index.php install.php Options FollowSymLinks AllowOverride All Require all granted </Directory> </VirtualHost>

Save and close the file when you are finished, then restart the apache service for the changes to take effects:

sudo systemctl restart httpd

Access BigTree CMS Web Interface

Before accessing BigTree CMS web interface, you will need to configure your firewall to allow port 80 so that the Apache web server's default port will be accessible externally. You can do this with the following command:

sudo firewall-cmd --zone=public --add-port=80/tcp --permanent

Next, reload your firewall service with the following command:

sudo firewall-cmd --reload

Once, everything is configured, open your web browser and type the URL http://192.168.15.193, you will be directed to the BigTreeCMS installation wizard as shown in below image.

Enter your database name, username and password:

Enetr your admin account details:

Choose Advanced Routing and Allow Either option under Site Routing section:

Then, check the checkbox. Click Install Now button and click on Install Now button.

Once the installation is completed, you should see the following page:

Next, click on the Administration Area url. Provide your administrator credentials that you created on installation wizard then click on the login button. You should see the BigTree CMS default dashboard as below image:

0

That's it.

Congratulations! Hou have successfully installed BigTree CMS on your CentOS 7 server.

Want your very own server? Get our 1GB memory, Xeon V4, 20GB SSD VPS for £10.00 / month.

View Plans