How to install Grand CMS on Ubuntu 21.04
- 00:38 lsb_release -a
- 00:54 mysql -u root -p
- 01:11 create database grand;
- 01:24 grant all on grand.* to guser@localhost identified by 'linuxc';
- 01:45 flush privileges;
- 01:54 exit
- 02:00 wget http://downloads.sourceforge.net/project/grandcms/grandcms_v0.2.0.1.1.zip
- 02:12 unzip grandcms_v0.2.0.1.1.zip –d grand
- 02:26 mv grand /var/www/
- 02:40 chown -R www-data. /var/www/grand/
- 02:54 chmod -R 775 /var/www/grand/
- 03:10 vi /etc/apache2/sites-available/grand.conf
- 03:44 a2dissite 000-default.conf
- 04:00 a2ensite grand.conf
- 04:16 a2enmod rewrite
- 04:25 systemctl restart apache2
- 04:35 vi /etc/hosts
To Install Grand CMS on Ubuntu 21.04
Introduction
Content management systems (CMS) are software applications for managing digital content. Grand CMS is standalone software like Joomla or Drupal that enables website owners to create their own websites. The software has a smart and new framework that is ideal for developing any advanced system.
Prerequisites:
• Apache Web server
• Maria DB
• PHP and its Modules
Step 1: Check the OS version by using the following command
root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 21.04
Release: 21.04
Codename: hirsute
Step 2: Log in to the Maria DB
root@linuxhelp:~# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 43
Server version: 10.5.13-MariaDB-0ubuntu0.21.04.1 Ubuntu 21.04
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
Step 3: Create a database for the Grand CMS
MariaDB [(none)]> create database grand;
Query OK, 1 row affected (0.001 sec)
Step 4: Create a user and Grant all privileges on Grand database for the user “guser”
MariaDB [(none)]> grant all on grand.* to guser@localhost identified by 'linuxc';
Query OK, 0 rows affected (0.003 sec)
Step 5: Flush privileges to make changes effect
MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.001 sec)
Step 6: Exit from the Maria DB
MariaDB [(none)]> exit
Bye
Step 7: Download the Grand CMS
root@linuxhelp:~# wget http://downloads.sourceforge.net/project/grandcms/grandcms_v0.2.0.1.1.zip
--2021-12-09 07:27:42-- http://downloads.sourceforge.net/project/grandcms/grandcms_v0.2.0.1.1.zip
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 204.68.111.105
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|204.68.111.105|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://master.dl.sourceforge.net/project/grandcms/grandcms_v0.2.0.1.1.zip?viasf=1 [following]
--2021-12-09 07:27:43-- http://master.dl.sourceforge.net/project/grandcms/grandcms_v0.2.0.1.1.zip?viasf=1
Resolving master.dl.sourceforge.net (master.dl.sourceforge.net)... 216.105.38.12
Connecting to master.dl.sourceforge.net (master.dl.sourceforge.net)|216.105.38.12|:80... 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 2.06MB/s in 2.6s
2021-12-09 07:27:46 (2.06 MB/s) - ‘grandcms_v0.2.0.1.1.zip’ saved [5606378/5606378]
Step 8: Extract the downloaded file by using the following command
root@linuxhelp:~# unzip grandcms_v0.2.0.1.1.zip –d grand
inflating: grand/upload/admin/controller/common/footer.php inflating: upload/admin/controller/common/logout.php
inflating: upload/admin/controller/common/menu.php
inflating: upload/admin/controller/common/profile.php
inflating: upload/admin/controller/common/reset.php
creating: upload/admin/controller/dashboard/
inflating: upload/admin/controller/dashboard/activity.php
Step 9: Move the extracted directory to the apache home directory
root@linuxhelp:~# mv grand /var/www/
Step 10: Change the ownership for the Grand directory
root@linuxhelp:~# chown -R www-data. /var/www/grand/
Step 11: Change the Permissions to the Grand directory
root@linuxhelp:~# chmod -R 775 /var/www/grand/
Step 12: Create Virtual Host for the Grand CMS
root@linuxhelp:~# vi /etc/apache2/sites-available/grand.conf
<virtualhost *:80>
servername www.linuxhelp1.com
documentroot /var/www/grand
<Directory /var/www/grand>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</virtualhost>
Step 13: Disable the default Virtual Host file of apache
root@linuxhelp:~# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
systemctl reload apache2
Step 14: Enable the Virtual Host
root@linuxhelp:~# a2ensite grand.conf
Enabling site grand.
To activate the new configuration, you need to run:
systemctl reload apache2
Step 15: Enable the read write module of Apache
root@linuxhelp:~# a2enmod rewrite
Enable module rewrite.
To activate the new configuration, you need to run:
systemctl restart apache2
Step 16: Restart the apache webserver
root@linuxhelp:~# systemctl restart apache2
Step 17: Mak host entry for the Grand CMS
root@linuxhelp:~# vi /etc/hosts
192.168.7.150 www.linuxhelp1.com
Step 18: Ping server name in browser
Step 19: Give Data Base Credentials
Step 20: Create Admin Credentials
Step 21: Login in to the Admin section
Step 22: Grand CMS Dashboard
With this process of Installation Grand CMS on Ubuntu 21.04 has been completed
Comments ( 0 )
No comments available