How to install CMSimple_XH on Linux mint 18.03

To install CMSimple_XH on Linux mint 18.03

CMSimple_XH is a free and open source content management system. It does not require a database. All data is simply stored in the file system you can create a website in a few minutes, which you can maintain online. In this tutorial, we will cover the installation of Vanilla Forums on Linux mint-18.03.

Prerequisites

Install LAMP (Apache, MariaDB, php5.6) 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 php5.6 php5.6-mysql php5.6-curl php5.6-json php5.6-cgi libapache2-mod-php5.6 php5.6-mcrypt php5.6-xmlrpc php5.6-gd php5.6-mbstring php5.6  php5.6-common  php5.6-xmlrpc php5.6-soap  php5.6-xml php5.6-intl  php5.6-cli  php5.6-ldap php5.6-zip php5.6-readline php5.6-imap php5.6-tidy php5.6-recode php5.6-sq php5.6-intl

Download a CMSimple_XH package by using wget command.

linuxhelp ~ # wget https://github.com/cmsimple-xh/cmsimple-xh/releases/download/1.7.2/CMSimple_XH-1.7.2.zip
--2018-09-09 02:43:18--  https://github.com/cmsimple-xh/cmsimple-xh/releases/download/1.7.2/CMSimple_XH-1.7.2.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://github-production-release-asset-2e65be.s3.amazonaws.com/76755053/41fc70e6-e67c-11e7-926b-4d8fbf87a07d?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180908%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20180908T211132Z&X-Amz-Expires=300&X-Amz-Signature=5212ca26f70f398e57f3b36ce013078c5f5d0329109e8168f9b40ea41a0ca561&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3DCMSimple_XH-1.7.2.zip&response-content-type=application%2Foctet-stream [following]
--2018-09-09 02:43:19--  https://github-production-release-asset-2e65be.s3.amazonaws.com/76755053/41fc70e6-e67c-11e7-926b-4d8fbf87a07d?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180908%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20180908T211132Z&X-Amz-Expires=300&X-Amz-Signature=5212ca26f70f398e57f3b36ce013078c5f5d0329109e8168f9b40ea41a0ca561&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3DCMSimple_XH-1.7.2.zip&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.133.115
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.133.115|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2850326 (2.7M) [application/octet-stream]
Saving to: ‘CMSimple_XH-1.7.2.zip’

CMSimple_XH-1.7.2.zip             100%[==========================================================>]   2.72M   279KB/s    in 15s     

2018-09-09 02:43:35 (186 KB/s) - ‘CMSimple_XH-1.7.2.zip’ saved [2850326/2850326]

After Downloading extract the downloaded package

linuxhelp ~ # unzip CMSimple_XH-1.7.2.zip -d xh
Archive:  CMSimple_XH-1.7.2.zip
   creating: xh/cmsimplexh/
   creating: xh/cmsimplexh/2lang/
 extracting: xh/cmsimplexh/2lang/.2lang  
   creating: xh/cmsimplexh/2lang/content/
  inflating: xh/cmsimplexh/2lang/content/.htaccess  
  inflating: xh/cmsimplexh/2lang/content/content.htm  
  inflating: xh/cmsimplexh/2lang/index.php  
.
.
.
inflating: xh/cmsimplexh/userfiles/images/flags/sv.gif  
   creating: xh/cmsimplexh/userfiles/media/
  inflating: xh/README.txt           
  inflating: xh/README_CS.txt        
  inflating: xh/README_DA.txt        
  inflating: xh/README_DE.txt        
  inflating: xh/README_RU.txt        
  inflating: xh/README_SK.txt   

Change ownership and permission of the as CMSimple_XH follows

linuxhelp ~ # ls
CMSimple_XH-1.7.2.zip  xh
linuxhelp ~ # chown -R www-data:www-data xh/ ; chmod -R 775 xh/

Move the extracted file into the HTML directory

linuxhelp ~ # mv xh/ /var/www/html/

Create a new virtual host configuration for accessing the CMSimple_XH

linuxhelp ~ # cd /etc/apache2/sites-available/
linuxhelp sites-available # vim xh.conf
 <VirtualHost *:80>
ServerName www.linuxhelp1.com
DocumentRoot /var/www/html/xh/
<Directory /var/www/html/xh/>
AllowOverride All
Allow from all
</Directory>
</VirtualHost>

Enable site access

linuxhelp sites-available # a2ensite xh.conf 

Enabling site xh. To activate the new configuration, you need to run: service apache2 reload Entry to the host file.

linuxhelp sites-available #vim /etc/hosts
<Give your ip>   <Give your domain name>

Restart the apache service to make the changes effect

linuxhelp sites-available # 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

Login page of CMSimple_XH. Here default password ‘test’.

After the Successful login, you will see the Admin dashboard of CMSimple_XH.

With this, the method to install CMSimple_XH on Linux mint 18.03 comes to an end.

FAQ
Q
Do you have shopping carts that I can use?
A
Yes They have support for the shopping carts in the content management system.
Q
What content will be provided centrally via the CMS?
A
Drupal modules that allow data to be pulled from a central source will be offered.
Q
Will there be photos available for use in the CMS?
A
Yes, a selection of optimized images will be made available through the "insert image" icon. Units may continue to post their own image content.
Q
What can I do to get ready for the CMS?
A
We recommend you begin to audit your current site by categorizing and analyzing existing content. For example, determine what pages are generating little or no traffic now and, therefore, do not need to be maintained. Also, look for instances where you are duplicating efforts
Q
What is the timeline?
A
Because Public Affairs and Information Technology will be offering assistance and support for migration on a first-come, first-served basis, we encourage you to convert your site as soon as possible. Units are expected to have completed their migration to the CMS according to the timeline in the Deployment Plan.