How to install Nucleus CMS 3.71 on Ubuntu 18.04

How to install Nucleus CMS 3.71 on Ubuntu 18.04
Nucleus CMS is an open-source blog management software package written in PHP, with a MySQL backend. It is used to manage frequently-updated Web content. With a little tweaking, it might be considered a lightweight content management system.In this tutorial, we will cover the installation of ---- on Ubuntu 18.04.

Prerequisites
Install LAMP(Apache, MariaDB, php7)
In MariaDB (create database and user and give privileges to that user )
    
Php installation with required following modules

add-apt-repository ppa:ondrej/php
apt-get update
apt-get install php7.0 php7.0-mysql php7.0-curl php7.0-json php7.0-cgi libapache2-mod-php7.0 php7.0-mcrypt 
php7.0-xmlrpc php7.0-gd php7.0-mbstring php7.0  php7.0-common  php7.0-xmlrpc php7.0-soap  php7.0-xml php7.0-intl  
php7.0-cli  php7.0-ldap php7.0-zip php7.0-readline php7.0-imap php7.0-tidy php7.0-recode php7.0-sq php7.0-intl

Download a Nucleus CMS package using the following URL

root@linuxhelp1:~# wget https://codeload.github.com/NucleusCMS/NucleusCMS/zip/master
--2018-08-17 02:50:42--  https://codeload.github.com/NucleusCMS/NucleusCMS/zip/master
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: 1053195 (1.0M) [application/zip]
Saving to: ‘;master’;

master                  100%[==============================>]   1.00M   491KB/s    in 2.1s    

2018-08-17 02:50:45 (491 KB/s) - ‘;master’; saved [1053195/1053195]

After Downloading extract the downloaded package

root@linuxhelp1:~# unzip master
Archive:  master
510ea313ee976d95ffd4943f86903280ea4a15ce
   creating: NucleusCMS-master/
  inflating: NucleusCMS-master/README.md  
  inflating: NucleusCMS-master/action.php  
  inflating: NucleusCMS-master/config.php  
   creating: NucleusCMS-master/extra/
  inflating: NucleusCMS-master/extra/atom.php
.
.
  inflating: NucleusCMS-master/skins/grey/preview.png  
  inflating: NucleusCMS-master/skins/grey/readme.html  
  inflating: NucleusCMS-master/skins/grey/skinbackup.xml  
  inflating: NucleusCMS-master/skins/readme.txt  
   creating: NucleusCMS-master/skins/rsd/
  inflating: NucleusCMS-master/skins/rsd/skinbackup.xml  
   creating: NucleusCMS-master/skins/rss2.0/
  inflating: NucleusCMS-master/skins/rss2.0/skinbackup.xml  
  inflating: NucleusCMS-master/xml-rss2.php  

Move the extracted file into the HTML directory

root@linuxhelp1:~# mv NucleusCMS-master /var/www/

Navigate to the apache document root directory

root@linuxhelp1:~# cd /var/www/

Change ownership and permission of the as Nucleus CMS follows

root@linuxhelp1:/var/www# chown -R www-data.www-data NucleusCMS-master
root@linuxhelp1:/var/www# chmod -R 775 NucleusCMS-master

Create a new virtual host configuration for accessing the Nucleus CMS

root@linuxhelp1:/var/www# vim /etc/apache2/sites-available/nucleus.conf
<VirtualHost *:80>
ServerName www.linuxhelp1.com
DocumentRoot /var/www/NucleusCMS-master/

<Directory /var/www/NucleusCMS-master/>
AllowOverride All
Allow from All
</Directory>

</VirtualHost>

Enable site access

root@linuxhelp1:/var/www# a2ensite nucleus.conf
Enabling site nucleus.
To activate the new configuration, you need to run:
systemctl reload apache2

Disable default 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

Enable  rewrite module

root@linuxhelp1:/var/www# 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@linuxhelp1:/var/www# systemctl restart apache2

Now you can proceed the further installation and configuration from the browser by navigating to the following URL: http://<ipaddress or domain name

Configure the language setup, site information, Database setup and Admin user setup


After the configuration, you will see the following page as shown below

Access the login page from the options shown below

You will see the Homepage of Nucleus CMS

You can log in using the admin user credentials

After the Successful login, you will see the Admin dashboard of Nucleus as shown below

You will see the version of Nucleus-


With this, the method to install Nucleus 3.71 on Ubuntu 18.04 comes to an end.

FAQ
Q
Is Nucleus CMS a light weight tool?
A
Nucleus CMS is a lightweight content management system
Q
What verision of PHP is recommended for Nuclear CMS?
A
PHP 7 and above is recommended for Nuclear CMS.
Q
What does this www-data used in Document root for Nuclear CMS Configuration?
A
In Nuclear CMS Configuration www-data is the user and group name given for apache document root location.
Q
What are the basic Pre-requirements for installing Nuclear CMS?
A
The basic pre-requirements for Nuclear CMS are

Install LAMP(Apache, MariaDB, php7)

In MariaDB (create database and user and give privileges to that user )

PHP Extensions

php7.0 php7.0-mysql php7.0-curl php7.0-json php7.0-cgi libapache2-mod-php7.0 php7.0-mcrypt
php7.0-xmlrpc php7.0-gd php7.0-mbstring php7.0 php7.0-common php7.0-xmlrpc php7.0-soap php7.0-xml php7.0-intl

php7.0-cli php7.0-ldap php7.0-zip php7.0-readline php7.0-imap php7.0-tidy php7.0-recode php7.0-sq php7.0-intl
Q
What is Nucleus CMS?
A
Nucleus CMS is an open-source blog management software package written in PHP, with a MySQL backend. It is used to manage frequently-updated Web content. With a little tweaking, it might be considered a lightweight content management system.