How to install Grand cms on Linuxmint-18.3

To install Grand CMS on Linux mint 18.3

GrandCMS is an open source content management system for Linux distributions. It enables the users to create own websites with the graphical user interface. This tutorial covers the method to install Grand CMS on Linux Mint 18.3


Pre-requirements

Install LAMP (Apache, php7.0, mariadb-server)
In MariaDB (create database, user and give privileges to the user)


FOR PHP INSTALLATION

add-apt-repository ppa:ondrej/php 
apt-get update 
apt-get install php-pear php7.0-dev php7.0-zip php7.0-curl php7.0-gd php7.0-mysql php7.0-mcrypt php7.0-xml libapache2-mod-php7.0

Installing Grand CMS

Download the Grandcms package using wget command as follows

linuxhelp ~ # wget http://downloads.sourceforge.net/project/grandcms/grandcms_v0.2.0.1.1.zip
--2018-05-24 16:36:30--  http://downloads.sourceforge.net/project/grandcms/grandcms_v0.2.0.1.1.zip
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.105.38.13
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.105.38.13|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://excellmedia.dl.sourceforge.net/project/grandcms/grandcms_v0.2.0.1.1.zip [following]
--2018-05-24 16:36:31--  https://excellmedia.dl.sourceforge.net/project/grandcms/grandcms_v0.2.0.1.1.zip
Resolving excellmedia.dl.sourceforge.net (excellmedia.dl.sourceforge.net)... 202.153.32.19
Connecting to excellmedia.dl.sourceforge.net (excellmedia.dl.sourceforge.net)|202.153.32.19|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5606378 (5.3M) [application/octet-stream]
Saving to: ‘grandcms_v0.2.0.1.1.zip’

grandcms_v0.2.0.1.1.zip  100%[=================================>]   5.35M   424KB/s    in 12s     

2018-05-24 16:36:48 (465 KB/s) - ‘grandcms_v0.2.0.1.1.zip’ saved [5606378/5606378]We have to extract the download directory

Unzip the downloaded package

linuxhelp ~ # unzip grandcms_v0.2.0.1.1.zip -d grand
Archive:  grandcms_v0.2.0.1.1.zip
   creating: grand/upload/
  inflating: grand/upload/.htaccess.txt 
   creating: grand/upload/admin/
  inflating: grand/upload/admin/config-dist.php 
   creating: grand/upload/admin/controller/
   creating: grand/upload/admin/controller/catalog/
  inflating: grand/upload/admin/controller/catalog/download.php 
  inflating: grand/upload/admin/controller/catalog/information.php 
.
.
.
  inflating: grand/upload/system/modification/index.html 
  inflating: grand/upload/system/modification.xml 
  inflating: grand/upload/system/startup.php 
   creating: grand/upload/system/upload/
  inflating: grand/upload/system/upload/index.html 
  inflating: grand/install.txt      
  inflating: grand/license.txt      
  inflating: grand/README.txt       
  inflating: grand/upload/catalog/view/theme/default/template/common/header.tpl  

Move the Grand directory into the /var/www/html directory

grand  grandcms_v0.2.0.1.1.zip
linuxhelp ~ # mv grand /var/www/html/

Go to /var/www/html directory

linuxhelp ~ # cd /var/www/html/
linuxhelp html # ls
grand  index.html

Change ownership and permission for the Grand directory

linuxhelp html # chown -R www-data:www-data grand/
linuxhelp html # chmod -R 775 grand/

Configure a virtual host for Grand cms. Create an empty file named  Grand.conf

linuxhelp html # cd /etc/apache2/sites-available/
linuxhelp sites-available # vim grand.conf
<virtualhost *:80>
servername  www.linuxhelp1.com
Documentroot  /var/www/html/grand
<Directory /var/www/html/grand>
AllowOverride all
order allow,deny
allow from all
</Directory>
</virtualhost>

Enable the espo.conf file

linuxhelp sites-available # a2ensite grand.conf
Enabling site grand.
To activate the new configuration, you need to run
service apache2 reload

Go to upload directory, then rename the config-dist.php file

linuxhelp sites-available # cd /var/www/html/grand/
linuxhelp grand # ls
install.txt  license.txt  README.txt  upload
linuxhelp grand # cd upload/
linuxhelp upload # ls
admin    config-dist.php  download  index.php  php.ini
catalog  crossdomain.xml  image     install    system
linuxhelp upload # mv config-dist.php config.php 

Go to admin directory, and rename the config-dist.php file

linuxhelp upload # cd admin/
linuxhelp admin # ls
config-dist.php  controller  index.php  language  model  php.ini  view
linuxhelp admin # mv config-dist.php config.php

After that, make an  entry to the hosts file as follows

linuxhelp admin # vim /etc/hosts
<give your ip>    <give your domain name>

Restart the Apache web server

linuxhelp admin # systemctl restart apache2.service 

Now you can proceed the further installation and configuration from the browser by navigating to the following URL: http://<ipaddress or domain name
web_output
you will see the directories as follows. click on install to start the installation
index_of_Grand_cms

Accept the license and proceed with the installation.
accept_license


Verify whether the server meets all the requirements as follows 
verify_configuration

verify_requirements

continue_installation


Next, configure the database settings as follows
configure_database


And then Configure the user account setup
proceed_db_config


After successful installation, you will see the following page.
login_as_admin


Login as admin using admin credential setup
login_creds

After successful login, you will see the admin dashboard of Grand CMS.
grand_cms_dashboard

with this, the method to install Grand cms on Linuxmint-18.03 comes to an end.


Thank you! for using Linux Help.

You find this tutorial helpful? Share with your friends to keep it alive.
For more help topics browse our website www.linuxhelp.com
Be the first to comment, we value your suggestions. For further queries please comment below.

Tags: Linux Mint GrandCMS
user image Author :  Gabriel