How to install BigTree CMS – 4.2.21 on Ubuntu – 17.04
To BigTree CMS &ndash 4.2.21 on Ubuntu &ndash 17.04
Bigtree CMS is a free and open source Content Management System allows creating 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 Ubuntu &ndash 17.04
Prerequisites
BigTree CMS requires a webserver to functionally based on LAMP setup on your system and also with following required PHP modules.
apt-get install php-mysql php-curl php-json php-cgi php libapache2-mod-php php-mcrypt php-xmlrpc php-gd php-mbstring php php-common php-xmlrpc php-soap php-xml php-intl php-cli php-ldap php-zip php-readline php-imap php-tidy php-recode php-sqlite3 php-xdebug php-gettext php-dev php-pear php-memcache php-memcached php-bz2
Installing BigTree CMS
First, make sure you update the system repositories by making use of the following command.
root@linuxhelp1:~# apt-get update
0% [Working]
Hit:1 http://old-releases.ubuntu.com/ubuntu zesty InRelease
Hit:2 http://old-releases.ubuntu.com/ubuntu zesty-updates InRelease
Hit:3 http://old-releases.ubuntu.com/ubuntu zesty-backports InRelease
Hit:4 http://old-releases.ubuntu.com/ubuntu zesty-security InRelease
Reading package lists... Done
After that, you need to create a new database as follows.
root@linuxhelp1:~# mysql -u root -p Enter password: Welcome to the MariaDB monitor. Commands end with or g. Your MariaDB connection id is 11 Server version: 10.1.25-MariaDB- Ubuntu 17.04 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.01 sec) MariaDB [(none)]> grant all privileges on bigtree.* to ' biguser' @' localhost' identified by ' 123' Query OK, 0 rows affected (0.03 sec) MariaDB [(none)]> flush privileges Query OK, 0 rows affected (0.00 sec) MariaDB [(none)]> exit Bye
Now, switch into the directory
root@linuxhelp1:~# cd /home/user/Downloads/
And unzip the package by running the following command.
root@linuxhelp1:/home/user/Downloads# unzip BigTreeCMS-4.2.21.zip
Archive: BigTreeCMS-4.2.21.zip
creating: BigTree-CMS/
inflating: BigTree-CMS/.gitmodules
inflating: BigTree-CMS/README.md
inflating: BigTree-CMS/bigtree.sql
creating: BigTree-CMS/core/
creating: BigTree-CMS/core/admin/
inflating: BigTree-CMS/core/admin/_nav-tree.php
creating: BigTree-CMS/core/admin/ajax/
creating: BigTree-CMS/core/admin/ajax/auto-modules/
.
.
creating: BigTree-CMS/core/inc/lib/slug-generator/tests/
inflating: BigTree-CMS/core/inc/lib/slug-generator/tests/SlugGeneratorTest.php
inflating: BigTree-CMS/core/inc/lib/slug-generator/tests/SlugOptionsTest.php
inflating: BigTree-CMS/core/inc/lib/slug-generator/tests/bootstrap.php
inflating: BigTree-CMS/core/inc/lib/text-statistics.php
inflating: BigTree-CMS/core/launch.php
inflating: BigTree-CMS/core/router.php
inflating: BigTree-CMS/core/version.php
inflating: BigTree-CMS/example-site.sql
inflating: BigTree-CMS/install.php
inflating: BigTree-CMS/license.txt
Now, you need to move the file.
root@linuxhelp1:/home/user/Downloads# mv BigTree-CMS /var/www/bigtree
And switch into the directory.
root@linuxhelp1:/home/user/Downloads# cd /var/www/
After that, you need to change ownership and permission for the file.
root@linuxhelp1:/var/www# chown -R www-data.www-data bigtree
root@linuxhelp1:/var/www# chmod -R 775 bigtree
And change the value inside the php.ini file.
root@linuxhelp1:/var/www# vim /etc/php/7.0/apache2/php.ini
[..]
file_uploads = On short_open_tag = On
[..]
Then create VirtualHost and configure it.
root@linuxhelp1:/var/www# vim /etc/apache2/sites-available/bigtree.conf
< VirtualHost *:80>
ServerName www.linuxhelp1.com
DocumentRoot /var/www/bigtree/
< Directory /var/www/bigtree/>
AllowOverride All
allow from all
< /Directory>
< /VirtualHost>
You need to enable the site access too.
root@linuxhelp1:/var/www# a2ensite bigtree.conf Enabling site bigtree. To activate the new configuration, you need to run: systemctl reload apache2
Also, enable the rewrite module.
root@linuxhelp1:/var/www# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
Systemctl restart apache2
Then, disable the default site access.
root@linuxhelp1:/var/www# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
systemctl reload apache2
You should also restart the apache2 service.
root@linuxhelp1:/var/www# systemctl restart apache2
And then, open a browser and type http://local IP (or) domain name.
Then, give the database and admin user details.
The public and Administration site URL gets displayed.
Open the Public site now.
And log in with the Admin user credentials.
You should be able to open Bigtree now.
You can check the version.
With this, the method to install BigTree CMS comes to an end.