How to install BigTree CMS on CentOS Web Panel

How to install BigTree CMS on CentOS Web Panel

Bigtree CMS is a free and open source Content Management System allows to create your own website or blogs similar to WordPress. It is built on PHP and MySQL and uses various PHP templates. It also contains various helpful API and assets specified by the user to serve to specified pages. This tutorial covers the installation procedure of BigTree CMS on CentOS web panel.

Installation procedure

Before installing the BigTree CMS, create a new account and domain for BigTree CMS on CentOS web panel.

Create a new account with all the required fields and click create option.

The user details is shown on the screen.

Now add a new domain by entering the required fields and click create.

Create a new database and user for BigTree CMS by entering into MariaDB and grant the privileges to the user. Execute the set of commands given commands.

[root@cwp ~]# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor.  Commands end with   or g.
Your MariaDB connection id is 576
Server version: 10.1.25-MariaDB MariaDB Server

Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.
Type ' help '  or ' h'  for help. Type ' c'  to clear the current input statement.

MariaDB [(none)]>  create database bigtree 
Query OK, 1 row affected (0.00 sec)

MariaDB [(none)]>  CREATE USER ' bigtreeuser' @' localhost'  IDENTIFIED BY ' 123'  
Query OK, 0 rows affected (0.00 sec)

MariaDB [(none)]>  GRANT ALL PRIVILEGES ON `bigtree`.* TO ' bigtreeuser' @' localhost'  
Query OK, 0 rows affected (0.00 sec)

MariaDB [(none)]>  flush privileges 
Query OK, 0 rows affected (0.00 sec)

MariaDB [(none)]>  exit 
Bye

Now switch over to browser and enter into BigTree CMS official web site and download the package. Remove default index.html file from your domain’ s document root directory

[root@cwp ~]# rm -rf /home/bigtree/public_html/index.html

Extract the downloaded package to desired document root directory.

[root@cwp ~]# unzip BigTreeCMS-4.2.19.zip -d /home/bigtree/public_html/
Archive:  BigTreeCMS-4.2.19.zip
   creating: /home/bigtree/public_html/BigTree-CMS/
  inflating: /home/bigtree/public_html/BigTree-CMS/.gitmodules  
  inflating: /home/bigtree/public_html/BigTree-CMS/README.md  
  inflating: /home/bigtree/public_html/BigTree-CMS/bigtree.sql  
   creating: /home/bigtree/public_html/BigTree-CMS/core/
   creating: /home/bigtree/public_html/BigTree-CMS/core/admin/
  inflating: /home/bigtree/public_html/BigTree-CMS/core/admin/_nav-tree.php
.
.
.
  inflating: /home/bigtree/public_html/BigTree-CMS/core/router.php  
  inflating: /home/bigtree/public_html/BigTree-CMS/core/version.php  
  inflating: /home/bigtree/public_html/BigTree-CMS/example-site.sql  
  inflating: /home/bigtree/public_html/BigTree-CMS/install.php  
  inflating: /home/bigtree/public_html/BigTree-CMS/license.txt  

Go to extracted directory and move all the content to your domain’ s public_html directory as shown below.

[root@cwp ~]# cd /home/bigtree/public_html/
[root@cwp public_html]# ls
BigTree-CMS
[root@cwp public_html]# cd BigTree-CMS/
[root@cwp BigTree-CMS]# mv * .gitmodules ../
[root@cwp BigTree-CMS]# cd ..
[root@cwp public_html]# rm -rf BigTree-CMS/
[root@cwp public_html]# ls -l
total 228
-rwxr-xr-x 1 root root  22861 Aug 11 15:37 bigtree.sql
drwxr-xr-x 6 root root   4096 Aug 11 15:37 core
-rw-r--r-- 1 root root  24553 Aug 11 15:37 example-site.sql
-rw-r--r-- 1 root root  29846 Aug 11 15:37 install.php
-rwxr-xr-x 1 root root  42436 Aug 11 15:37 license.txt
-rwxr-xr-x 1 root root 100591 Aug 11 15:37 README.md

Set the File permissions and ownership by executing the following command.

[root@cwp ~]# chown -R bigtree:bigtree /home/bigtree/
[root@cwp ~]# chmod -R 755 /home/bigtree/

Create the Apache configuration named bigtree.conf for BigTree CMS by running the vim editor. Enter the following contents in the file and save it.

[root@cwp ~]# vim /usr/local/apache/conf.d/bigtree.conf

< VirtualHost *:80> 
Servername bigtree.example.com
DocumentRoot /home/bigtree/public_html
< /VirtualHost> 
< Directory /home/bigtree/public_html> 
DirectoryIndex install.php
Options FollowSymLinks
AllowOverride All
Require all granted
suPHP_UserGroup bigtree bigtree
< /Directory> 

Restart the Apache service by running the following commands.

[root@cwp ~]# systemctl restart httpd

Open your browser and type your domain name to start BigTree CMS installation.

Fill the required information to complete the installation procedure.

Fill the administrator account with the required information.

Enter the Routing information for your site and select install now option.

After completing the installation, go to public site link to redirect to your site.

The BigTree CMS with your website is running successfully.

Go to the administration link for admin area and click on the given link.

Enter the email and password credentials for admin and click login.

The dashboard for the BigTree is shown below.

The installation procedure of BigTree on CentOS web panel is completed.

FAQ
Q
Can I use BigTree with a nginx web server?
A
Yes, BigTree will work on an ngninx environment but does not come with out of the box support. You'll need to add directives to either your global nginx configuration file or your virtual host as laid out here.
Q
How do I suggest a new BigTree feature?
A
Users and developers are welcome to submit feature requests through the Feature Requests channel in our Forum.
Q
How does BigTree CMS stack up against the competition?
A
We think it's the best, but don't take our word for it. BigTree CMS was recently ranked in the Top 50 CMS platforms available within the industry.
Q
How many other people are using BigTree CMS?
A
While we don't require a registration of BigTree for downloading it, we can share that over 7,000 people have dowloaded the most recent version of BigTree, and the forum has over 700 active users.
Q
I'm seeing a page with broken styles or a 500 error after installing BigTree, what's up?
A
Many shared hosts have issues with .htaccess files. We have a section dedicated to some common platforms for installing BigTree.