How to install Gpeasy CMS on Ubuntu 21.04
To Install Gpeasy CMS on Ubuntu 21.04
Introduction
Content management system is software that manages digital content. Gpeasy CMS is a free open source written in PHP and is a flat CMS without databases.
Prerequisites:
• Apache Web server
• PHP and its Modules
Installation Procedure:
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: Download Gpeasy CMS by using the following command
root@linuxhelp:~# wget https://sourceforge.net/projects/gpeasy/files/latest/download
--2021-11-27 00:01:34-- https://sourceforge.net/projects/gpeasy/files/latest/download
Resolving sourceforge.net (sourceforge.net)... 204.68.111.105
Connecting to sourceforge.net (sourceforge.net)|204.68.111.105|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://downloads.sourceforge.net/project/gpeasy/gpeasy/4.4/gpEasy_4.4.zip?ts=gAAAAABhoSgHBxVDDPOwtkx_wt6Az08lJrkmwv3N2NU92tza3smmJqEffTKuWrY_LKFOogO3Q2BLiep58j7oQvg8j33DyyGQZQ%3D%3D&use_mirror=master&r= [following]
--2021-11-27 00:01:35-- https://downloads.sourceforge.net/project/gpeasy/gpeasy/4.4/gpEasy_4.4.zip?ts=gAAAAABhoSgHBxVDDPOwtkx_wt6Az08lJrkmwv3N2NU92tza3smmJqEffTKuWrY_LKFOogO3Q2BLiep58j7oQvg8j33DyyGQZQ%3D%3D&use_mirror=master&r=
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 204.68.111.105
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|204.68.111.105|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://master.dl.sourceforge.net/project/gpeasy/gpeasy/4.4/gpEasy_4.4.zip?viasf=1 [following]
--2021-11-27 00:01:36-- https://master.dl.sourceforge.net/project/gpeasy/gpeasy/4.4/gpEasy_4.4.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|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2838827 (2.7M) [application/octet-stream]
Saving to: ‘download’
download 100%[===============================================>] 2.71M 858KB/s in 3.2s
2021-11-27 00:01:41 (858 KB/s) - ‘download’ saved [2838827/2838827]
Step 3: Extract the downloaded file in anchor directory
root@linuxhelp:~# unzip download
Archive: download
creating: gpEasy/
extracting: gpEasy/robots.txt
inflating: gpEasy/Addon.ini
inflating: gpEasy/README.md
inflating: gpEasy/.htaccess
inflating: gpEasy/gpconfig.php
inflating: gpEasy/index.php
creating: gpEasy/themes/
inflating: gpEasy/themes/index.html
creating: gpEasy/themes/Bootstrap/
creating: gpEasy/themes/Bootstrap/6_Sticky_Footer/
inflating: gpEasy/themes/Bootstrap/6_Sticky_Footer/template.php
inflating: gpEasy/themes/Bootstrap/6_Sticky_Footer/data-style.css
creating: gpEasy/themes/Bootstrap/2_Basic_Marketing/
inflating: gpEasy/themes/Bootstrap/2_Basic_Marketing/template.php
inflating: gpEasy/themes/Bootstrap/2_Basic_Marketing/data-style.css
inflating: gpEasy/themes/Bootstrap/drop_down_menu.php
creating: gpEasy/themes/Bootstrap/5_Justified_Nav/
inflating: gpEasy/themes/Bootstrap/5_Justified_Nav/template.php
inflating: gpEasy/themes/Bootstrap/5_Justified_Nav/data-style.css
inflating: gpEasy/themes/Bootstrap/Addon.ini
inflating: gpEasy/addons/Example/Addon.ini
inflating: gpEasy/addons/Example/Special.php
inflating: gpEasy/addons/Example/Admin.php
Step 4: Move Extracted files to the Apache home directory
root@linuxhelp:~# mv gpEasy/ /var/www/gp
Step 5: Change Ownership to the Gpeasy directory
root@linuxhelp:~# chown -R www-data. /var/www/gp/
Step 6: Change Permissions to the Gpeasy directory
root@linuxhelp:~# chmod -R 775 /var/www/gp/
Step 7: Create Virtual Host for the Gpeasy CMS
root@linuxhelp:~# vi /etc/apache2/sites-available/gp.conf
<virtualhost *:80>
servername www.linuxhelp1.com
documentroot /var/www/gp
<Directory /var/www/gp>
AllowOverride All
allow from all
</Directory>
</virtualhost>
Step 8: 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 9: Enable the Virtual Host
root@linuxhelp:~# a2ensite gp.conf
Enable site gp.
To activate the new configuration, you need to run:
systemctl reload apache2
Step 10: Enable the read write module of apache
root@linuxhelp:~# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
systemctl restart apache2
Step 11: Restart the apache webserver
root@linuxhelp:~# systemctl restart apache2
Step 12: Make the host entry for Gpeasy CMS
root@linuxhelp:~# vi /etc/hosts
Step 13: Ping server name in browser
Step 14: Configure the Admin credentials
Step 15: Dashboard of Gpeasy cms
By this the installation of Gpeasy CMS on Ubuntu 21.04 has been completed
Multiple User Administration, Flat File Storage, Free and Open Source (GPL), and Runs on PHP.