How to Install Sitemagic CMS on Linuxmint 19

Installation Of Sitemagic CMS On Linuxmint 19

Sitemagic CMS is the world' s most beautiful Content Management System. It is Designed in the way that allows users to create truly stunning websites in a very short amount of time. It’ s complete CMS on the market capable of running without a database.This tutorial covers the installation of sitemagic CMS on Linuxmint 19

Requirements for Sitemagic CMS:

Apache

Php and Its modules

(php php-gd php-curl php-common php-mysql php-soap php-mysql php-mcrypt php-xml)

Installation procedure

Check the Linuxmint version by using the following command

root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID:	LinuxMint
Description:	Linux Mint 19 Tara
Release:	19
Codename:	tara

Download the sitemagic cms installation package using wget command

root@linuxhelp:~# wget https://github.com/Jemt/SitemagicCMS/archive/master.zip
--2019-07-25 00:52:49--  https://github.com/Jemt/SitemagicCMS/archive/master.zip
Resolving github.com (github.com)... 13.234.176.102
Connecting to github.com (github.com)|13.234.176.102|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/Jemt/SitemagicCMS/zip/master [following]
--2019-07-25 00:52:49--  https://codeload.github.com/Jemt/SitemagicCMS/zip/master
Resolving codeload.github.com (codeload.github.com)... 140.82.113.9
Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘master.zip’

master.zip                      [          <=>                               ]  18.54M  1.11MB/s    in 21s     

2019-07-25 00:53:12 (897 KB/s) - ‘master.zip’ saved [19439607]

Once the download is completed extract the downloaded package using unzip command

root@linuxhelp:~# unzip master.zip
Archive:  master.zip
99ad2418b9ca1778c4376c041f55734cdd0f5d80
   creating: SitemagicCMS-master/
 extracting: SitemagicCMS-master/.gitignore  
   creating: SitemagicCMS-master/.vscode/
  inflating: SitemagicCMS-master/.vscode/settings.json  
  inflating: SitemagicCMS-master/README.md  
   creating: SitemagicCMS-master/base/
.
.
  inflating: SitemagicCMS-master/templates/_BaseTopNav/images/blank.gif  
  inflating: SitemagicCMS-master/templates/_BaseTopNav/index.css  
  inflating: SitemagicCMS-master/templates/_BaseTopNav/index.html  
  inflating: SitemagicCMS-master/templates/_BaseTopNav/menu.js  
  inflating: SitemagicCMS-master/upgrade.php  

Move the sitemagic cms directory to apache root directory

root@linuxhelp:~# mv SitemagicCMS-master /var/www/sitemagic

Set the ownership and permission for sitemagic cms directory by using the following command

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

Configure the virtualhost for accessing the sitemagic cms

root@linuxhelp:~# vim /etc/apache2/sites-available/sitemagic.conf
<Virtualhost *:80>
        Servername www.linuxhelp1.com
        documentroot  /var/www/sitemagic
<directory /var/www/sitemagic>
allowoverride all
allow from all
</directory>
</Virtualhost>

Disable the default site access for enabling the sitemagic cms

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

Enable the site access for sitemagic cms

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

Enable the rewrite module

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

Once all the step is completed Restart the apache service

root@linuxhelp:~# systemctl restart apache2

Switch to your browser and enter your domain name Welcome page of sitemagic cms

Log in using the default admin credentials This is the sitemagic cms dashboard With this, the method to install Sitemagic CMS Linuxmint 19 comes to end.

FAQ
Q
What is the default apache root directory For sitemagic cms?
A
Execute the following command:

# cd /var/www/html/
Q
What is the use of Sitemagic CMS?
A
Sitemagic CMS is the world' s most beautiful Content Management System. It is Designed in a way that allows users to create truly stunning websites in a very short amount of time. It&rsquo s complete CMS on the market capable of running without a database.
Q
What are the Pre-requirements for Sitemagic CMS?
A
These are the requirements for sitemagic


Install LAMP (apache and php7.0)
Q
What are the alternatives for Sitemagic CMS?
A
The alternatives are,

PageKit

Bolt CMS

October CMS
Q
What are the required php modules for sitemagic cms?
A
These are the modules that required for sitemagic cms


php php-gd php-curl php-common php-mysql php-soap php-mysql php-mcrypt php-xml php-patchwork-utf8