How to install GrandCMS on CentOS 6.9

To install GrandCMS on CentOS 6.9

GrandCMS is an open source Content Management System like Wordpress, which is used to create and build your own blog or website and publish it to the Internet easily. GrandCMS acts as a backend code for the sites you create by just using html codes. It contains features such as backup an restoring tools, enables automatic image resizing, and support multiple languages. This tutorial explains the installation procedure of GrandCMS on CentOS 6.9.

Pre- Requisite

Before beginning the installation procedure, Check whether the LAMP environment is set in the target system. Create a MySQL database for the SuiteCRM to work on and create a user in the database and grant all privileges to the user.

Installation procedure

To proceed with the installation procedure, download the GrandCMS package by running the wget command followed by the download link.

root@linuxhelp1 ~]#  wget http://downloads.sourceforge.net/project/grandcms/grandcms_v0.2.0.1.1.zip
--2017-09-19 13:35:04--  http://downloads.sourceforge.net/project/grandcms/grandcms_v0.2.0.1.1.zip
Resolving downloads.sourceforge.net... 216.34.181.59
Connecting to downloads.sourceforge.net|216.34.181.59|: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]
--2017-09-19 13:35:04--  https://excellmedia.dl.sourceforge.net/project/grandcms/grandcms_v0.2.0.1.1.zip
Resolving excellmedia.dl.sourceforge.net... 202.153.32.19
Connecting to 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” 

100%[======================================> ] 5,606,378    793K/s   in 6.7s    
2017-09-19 13:35:12 (818 KB/s) - “ grandcms_v0.2.0.1.1.zip”  saved [5606378/5606378]

Move the downloaded package into HTML location.

[root@linuxhelp1 ~]# mv grandcms_v0.2.0.1.1.zip /var/www/html/

Enter into HTML location.

[root@linuxhelp1 ~]# cd /var/www/html/

Extract the downloaded zip file.

[root@linuxhelp1 html]# unzip grandcms_v0.2.0.1.1.zip
Archive:  grandcms_v0.2.0.1.1.zip
   creating: upload/
  inflating: upload/.htaccess.txt    
   creating: upload/admin/
  inflating: upload/admin/config-dist.php  
.
.
inflating: license.txt             
  inflating: README.txt              
  inflating: upload/catalog/view/theme/default/template/common/header.tpl  

List the extracted files directory.

[root@linuxhelp1 html]# ll
total 5524
-rw-r--r-- 1 root root 5606378 May  6  2015 grandcms_v0.2.0.1.1.zip
-rw-r--r-- 1 root root    2496 Feb 27  2015 install.txt
-rw-r--r-- 1 root root   34752 Dec  6  2014 license.txt
-rw-r--r-- 1 root root     374 May  6  2015 README.txt
drwxr-xr-x 8 root root    4096 Mar  2  2015 upload

Enter into the extracted file by running the cd command.

[root@linuxhelp1 html]# cd upload/

Rename the configuration file.

[root@linuxhelp1 upload]#  mv config-dist.php config.php

Rename the configuration file in admin directory.

[root@linuxhelp1 upload]#  mv admin/config-dist.php admin/config.php

Change the ownership of the file in HTML location

[root@linuxhelp1 upload]# chown -R apache.apache /var/www/html

Change the permissions of the file in HTML location

[root@linuxhelp1 upload]# chmod -R 775 /var/www/html

Restart the Apache service.

[root@linuxhelp1 upload]# service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]

Switch over to the browser and give the URL as machine IP/upload. The installation setup page appears on the screen and click continue.

This window shows the list of system checks before installation, click continue.


Enter the database details to create a database for GrandCMS and click continue.

Enter the admin details as well and click continue.

The installation is complete and a notification prompts you to delete the installation directory.

Switch over to the terminal and list the extracted directory.

[root@linuxhelp1 upload]# ll
total 44
drwxrwxr-x  6 apache apache 4096 Sep 19 13:39 admin
drwxrwxr-x  6 apache apache 4096 Mar  2  2015 catalog
-rwxrwxr-x  1 apache apache 1007 Sep 19 13:43 config.php
-rwxrwxr-x  1 apache apache  197 Nov 13  2014 crossdomain.xml
drwxrwxr-x  2 apache apache 4096 Feb 27  2015 download
drwxrwxr-x  7 apache apache 4096 Feb 27  2015 image
-rwxrwxr-x  1 apache apache 7096 Mar  1  2015 index.php
drwxrwxr-x  6 apache apache 4096 Mar  2  2015 install
-rwxrwxr-x  1 apache apache  383 Nov 13  2014 php.ini
drwxrwxr-x 11 apache apache 4096 Mar  2  2015 system

Remove the installation directory by executing the following command.

[root@linuxhelp1 upload]# rm -rf install

Switch over to the browser again and click ‘ Login to your administration’ button.

Enter the admin credentials and click login.

The Admin page of GrandCMS is shown as below.

The installation procedure of GrandCMS on CentOS 6.9 is done without any glitches.

FAQ
Q
What are the requirements of GrandCMS?
A
The requirements of Grand CMS are LAMP environment is set in the target system. Create a MySQL database for the SuiteCRM to work on and create a user in the database and grant all privileges to the user.
Q
Is Grand CMS opensource?
A
Grand CMS is free and opensource.
Q
What is GrandCMS?
A
GrandCMS is an open source Content Management System like Wordpress, which is used to create and build your own blog or website and publish it to the Internet easily. GrandCMS acts as a backend code for the sites you create by just using html codes. It contains features such as backup an restoring tools, enables automatic image resizing, and support multiple languages.
Q
Why do I get logged off automatically from Grand CMS?
A
If you do not check the Remember me box when you log in, the board will only keep you logged in for a preset time. This prevents misuse of your account by anyone else.
Q
I registered in the past but cannot login any more?!
A
It is possible an administrator has deactivated or deleted your account for some reason. Also, many boards periodically remove users who have not posted for a long time to reduce the size of