Install BigTree on CentOS 7

bigtreeCms centos 7BigTree CMS is an open source content management system (CMS) built on PHP and MySQL. It is very extensible applications with user friendly interface and it is very easy to use. The latest version of BigTree CMS requires PHP version 5.3 or higher and MySQL version 5 or higher. BigTree is developed almost exclusively on the Apache web server but it can run on IIS 7 and 8 too. In this article we will guide you through the installation of BigTree CMS on a CentOS 7 VPS with Apache, PHP and MariaDB.

BigTree comes with tons of useful features such as:

  • Full WYSIWYG editor
  • Complete Code/Site Control
  • Powerful Core
  • Custom Image Sizing and Image Cropping
  • Integrated Analytics
  • Flexible Content Template
  • In-Page Editing
  • Service APIs
  • and many more

 

To start the installation, login to your CentOS 7 server as user root

ssh root@IP

and run the following command in your terminal to update all installed packages

yum -y update

Next, install Apache web server

yum -y install httpd

Once the installation of the web server is completed, start it and make it to start automatically on boot.

systemctl start httpd
systemctl enable httpd

BigTree is a PHP based application, so we need to install PHP with the ‘mysqli’ and the ‘gd’ extensions installed

yum -y install php php-gd php-mysql

Install MariaDB server on your CentOS 7 machine running the following command

yum -y install mariadb mariadb-server

Once the installation is completed start the MariaDB server and set it to start on system boot

systemctl start mariadb
systemctl enable mariadb

Then, run the mysql_secure_installation script. This script will help you to improve the security of your MariaDB installation and set your MariaDB root password.

BigTree requires an empty database, so login to the MariaDB server with the root user and create a new user and database that will be used by BigTree

mysql -u root -p

CREATE DATABASE bigtree;
CREATE USER 'bigtreeuser'@'localhost' IDENTIFIED BY 'PASSWORD';
GRANT ALL PRIVILEGES ON `bigtree`.* TO 'bigtreeuser'@'localhost';
FLUSH PRIVILEGES;
exit

Don’t forget to replace ‘PASSWORD’ with an actual strong password.

Go to BigTree’s official website and download the latest version of the content management system. At the moment of writing this blog article it is version 4.2.11  Upload the downloaded ZIP archive to your server via FTP or sFTP. Once it is uploaded, unpack the archive to the document root directory of your server

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

Set the Apache user to be owner of the BigTree files and directories

Need a fast and easy fix?
✔ Unlimited Managed Support
✔ Supports Your Software
✔ 2 CPU Cores
✔ 2 GB RAM
✔ 50 GB PCIe4 NVMe Disk
✔ 1854 GeekBench Score
✔ Unmetered Data Transfer
NVME 2 VPS

Now just $43 .99
/mo

GET YOUR VPS
chown -R apache: /var/www/html/bigtree/

Now, create Apache virtual host for your BigTree based website. Create ‘/etc/httpd/conf.d/vhosts.conf’ file with the following content:

IncludeOptional vhosts.d/*.conf

Create a ‘vhosts.d/’ directory

mkdir /etc/httpd/vhosts.d/

and create the virtual host with the following content

vim /etc/httpd/vhosts.d/yourdomain.com.conf

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

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

Save the file and restart the Apache web server for the changes to take effect.

systemctl restart httpd

With this step the installation from the command line is completed. Now, open a web browser and navigate it to http://yourdomain.com/install.php to run the web installer and follow the on-screen installation process to complete the BigTree CMS installation.

Of course you don’t have to do any of this if you use one of our Blazing-Fast VPS Hosting services, in which case you can simply ask our expert Linux admins to install BigTree CMS for you. They are available 24×7 and will take care of your request immediately.

PS. If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.

Leave a Comment