How to install bigtree cms 4.4.3 on ubuntu 18.10

Installation of bigtree cms 4.4.3 on Ubuntu 18.10

Installation procedure

You need to configure the LAMP setup For the Installation of bigtree CMS If you dont have the Lamp setup ReferHere

Check the Ubuntu version by using the following command

root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.10
Release:	18.10
Codename:	cosmic

configure the MySQL database. Log into MySQL as a root user and make the necessary settings.

root@linuxhelp:~# mysql -u root -p
Enter password: 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 4
Server version: 5.7.25-0ubuntu0.18.10.2 (Ubuntu)
Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> create database bigtree;
Query OK, 1 row affected (0.02 sec)
mysql> create user 'biguser'@localhost identified by '123456';
Query OK, 0 rows affected (0.06 sec)
mysql> grant all privileges on bigtree.* to 'biguser'@localhost;
Query OK, 0 rows affected (0.00 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.09 sec)
mysql> exit
Bye

Once the database configuration is done, you shall download the bigtree cms with the help of the following command.

root@linuxhelp:~# wget https://github.com/bigtreecms/BigTree-CMS/archive/4.4.3.zip
--2019-04-12 10:10:24--  https://github.com/bigtreecms/BigTree-CMS/archive/4.4.3.zip
Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112
Connecting to github.com (github.com)|192.30.253.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/bigtreecms/BigTree-CMS/zip/4.4.3 [following]
--2019-04-12 10:10:26--  https://codeload.github.com/bigtreecms/BigTree-CMS/zip/4.4.3
Resolving codeload.github.com (codeload.github.com)... 192.30.253.121, 192.30.253.120
Connecting to codeload.github.com (codeload.github.com)|192.30.253.121|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘4.4.3.zip’
4.4.3.zip                         [                                 <=>              ]   5.77M  88.9KB/s    in 37s     
2019-04-12 10:11:05 (159 KB/s) - ‘4.4.3.zip’ saved [6055642]

Once the installation package is downloaded, you shall extract by using unzip command.

root@linuxhelp:~# unzip 4.4.3.zip
Archive:  4.4.3.zip
924da09338b4abc979e5df0d4ed3b6459c525058
   creating: BigTree-CMS-4.4.3/
  inflating: BigTree-CMS-4.4.3/.gitignore  
  inflating: BigTree-CMS-4.4.3/README.md  
  inflating: BigTree-CMS-4.4.3/composer.json  
  inflating: BigTree-CMS-4.4.3/composer.lock  
   creating: BigTree-CMS-4.4.3/core/
   creating: BigTree-CMS-4.4.3/core/admin/
  inflating: BigTree-CMS-4.4.3/core/admin/_nav-tree.php  
   creating: BigTree-CMS-4.4.3/core/admin/ajax/
   creating: BigTree-CMS-4.4.3/core/admin/ajax/auto-modules/
.
.
.
  inflating: BigTree-CMS-4.4.3/vendor/psr/http-message/README.md  
  inflating: BigTree-CMS-4.4.3/vendor/psr/http-message/composer.json  
   creating: BigTree-CMS-4.4.3/vendor/psr/http-message/src/
  inflating: BigTree-CMS-4.4.3/vendor/psr/http-message/src/MessageInterface.php  
  inflating: BigTree-CMS-4.4.3/vendor/psr/http-message/src/RequestInterface.php  
  inflating: BigTree-CMS-4.4.3/vendor/psr/http-message/src/ResponseInterface.php  
  inflating: BigTree-CMS-4.4.3/vendor/psr/http-message/src/ServerRequestInterface.php  
  inflating: BigTree-CMS-4.4.3/vendor/psr/http-message/src/StreamInterface.php  
  inflating: BigTree-CMS-4.4.3/vendor/psr/http-message/src/UploadedFileInterface.php  
  inflating: BigTree-CMS-4.4.3/vendor/psr/http-message/src/UriInterface.php  

Once the above step is completed move bigtree directory to apache root directory.

root@linuxhelp:~# mv BigTree-CMS-4.4.3 /var/www/

Change ownership and permission of the as BigTree CMS by using he following command

root@linuxhelp:~# chown -R www-data.www-data /var/www/BigTree-CMS-4.4.3
root@linuxhelp:~# chmod -R 755 /var/www/BigTree-CMS-4.4.3

Create a new virtual host configuration for accessing the BigTree CMS

root@linuxhelp:~# vim /etc/apache2/sites-available/BigTree-CMS-4.4.3.conf
<Virtualhost *:80>
Servername www.linuxhelp1.com
documentroot /var/www/bigtree
</Virtualhost>

Disable default access for accessing the bigtree cms

root@linuxhelp:~# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
  systemctl reload apache2

Enable site access for bigtree cms by using the following command

root@linuxhelp:~# a2ensite BigTree-CMS-4.4.3.conf
Enabling site BigTree-CMS-4.4.3.
To activate the new configuration, you need to run:
  systemctl reload apache2

Enable rewrite module

root@linuxhelp:~# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
  systemctl restart apache2

Restart the apache service to make the changes effect

root@linuxhelp:~# systemctl restart apache2

Once the above step is completed switch to browser and enter your domain name

Configure the Database and enter your details. Admin user and Site information and click install After the configuration, you will see the following page and copy the url and search it You can log in using the admin user credentials You will see the BigTree dashboard

With this, the method to install Bigtree CMS 4.4.3 on Ubuntu 18.10 comes to an end.

FAQ
Q
What is the use of bigtree cms?
A
BigTree is an extremely extensible open source CMS built on PHP and MySQL. It was created by the expert designers, strategists, and developers at Fastspot to help you make and maintain better websites.
Q
How to configure host entry for big tree cms?
A
To configure host entry for big tree cms

vim /etc/hosts



Q
What is the PHP module required for big tree cms?
A
The php modules required for php is (php-gd php-curl php-common php-mysql php-soap php-mysql php-mcrypt )
Q
What are the Prerequisites in BigTree CMS?
A
The requirements are,

Install LAMP(Apache, MariaDB, php7)

In MariaDB (create database and user and give privileges to that user )
Q
Is it possible to configure BigTree with an Nginx web server?
A
Yes, BigTree will work on an nginx environment but does not come without the box support. You'll need to add directives to either your global nginx configuration file or your virtual host as laid out here.