How to install Gpeasy CMS on Debian 11.3

To Install Gpeasy CMS on Debian 11.3

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 below command

root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 11 (bullseye)
Release:	11
Codename:	bullseye

Step 2: Download Gpeasy CMS by using the below command

root@linuxhelp:~# wget https://sourceforge.net/projects/gpeasy/files/latest/download
04-07-2022- 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]
--2022-07-04 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]
--2022-07-04 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    

2022-07-04 00:01:41 (858 KB/s) - ‘download’ saved [2838827/2838827]

Step 3: Extract the downloaded file in anchor directory by using the below command

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  
  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 by using the below command** ``` root@linuxhelp:~# mv gpEasy/ /var/www/gp ``` **Step 5: Change Ownership to the Gpeasy directory by using the below command** ``` root@linuxhelp:~# chown -R www-data. /var/www/gp/ ``` **Step 6: Change Permissions to the Gpeasy directory by using the below command** ``` root@linuxhelp:~# chmod -R 775 /var/www/gp/ ```
**Step 7: Create Virtual Host for the Gpeasy CMS by using the below command**
root@linuxhelp:~# nano /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: Make the host entry for Gpeasy CMS by using the below command

root@linuxhelp:~# nano /etc/hosts
127.0.0.1 www.linuxhelp1.com

Step 9: Disable the default Virtual Host file of Apache by using the below command

root@linuxhelp:~# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
  systemctl reload apache2
**Step 10: Enable the Virtual Host by using the below command**
root@linuxhelp:~# a2ensite gp.conf
Enable site gp.
To activate the new configuration, you need to run:
  systemctl reload apache2

Step 11: Enable the read write module o f Apache by using the below command

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

Step 12: Restart the Apache webserver by using the below command

root@linuxhelp:~# systemctl restart apache2

Step 13: Ping server name in browser as shown in the below image

Step 14: Configure the Admin credentials as shown in the below image

Step 15: This is the Dashboard of Gpeasy CMS

Conclusion:

We have reached the end of this article. In this guide, we have walked you through the steps required to Install Gpeasy CMS on Debian 11.3. Your feedback is much welcome.

FAQ
Q
What are the main features of Gpeasy?
A
The Main features of Gpeasy are
Multiple User Administration, Flat File Storage, Free and Open Source (GPL), and Runs on PHP.
Q
From what is Gpeasy written?
A
Gpeasy is written in PHP for about 76%
Q
What are the minimum PHP requirements for Gpeasy?
A
The minimum PHP requirements for Gpeasy PHP 5.2+.
Q
Where is the LDAP Configuration file located?
A
Configuration of the LDAP server can be found in include/tool/ldap.php
Q
Where to download the Gpeasy CMS?
A
The Gpeasy CMS can be downloaded by using this command with the download link wget "https://sourceforge.net/projects/gpeasy/files/latest/download".