How to install GpEasy CMS on Linuxmint-18.03

To install GpEasy CMS on Linuxmint-18.03

gpEasy is a simple, powerful and lightweight CMS. It doesn' t require any databases, it' s flat-file based, and allows you to edit your website on the fly.

Pre-requirements

Install LAMP (apache and php7.2)

FOR PHP INSTALLATION


apt-get install python-software-properties
add-apt-repository ppa:ondrej/php
apt-get update
apt-get install php7.2-mysql php7.2-curl php7.2-json php7.2-cgi php7.2 libapache2-mod-php7.2 php7.2-mcrypt php7.2-xmlrpc php7.2-gd php7.2-mbstring php7.2
php7.2-common  php7.2-xmlrpc php7.2-soap  php7.2-xml php7.2-intl  php7.2-cli  php7.2-ldap php7.2-zip php7.2-readline php7.2-imap php7.2-tidy
php7.2-recod

Download gpEasy cms package using wget command


linuxhelp sites-available # wget https://excellmedia.dl.sourceforge.net/project/gpeasy/gpeasy/4.4/gpEasy\_4.4.zip
--2018-06-02 04:17:16--  https://excellmedia.dl.sourceforge.net/project/gpeasy/gpeasy/4.4/gpEasy\_4.4.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: 2838827 (2.7M) \[application/octet-stream\]
Saving to: &lsquo gpEasy\_4.4.zip&rsquo 

gpEasy\_4.4.zip           100%\[=================================> \]   2.71M   118KB/s    in 50s     

2018-06-02 04:18:06 (55.7 KB/s) - &lsquo gpEasy\_4.4.zip&rsquo  saved \[2838827/2838827\]

Extract the downloaded package


linuxhelp sites-available # unzip gpEasy\_4.4.zip 
Archive:  gpEasy\_4.4.zip
   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/
.
.
.
inflating: gpEasy/addons/Example/LoadAutomatically.php  
  inflating: gpEasy/addons/Example/Addon.ini  
  inflating: gpEasy/addons/Example/Special.php  
  inflating: gpEasy/addons/Example/Admin.php  
   creating: gpEasy/addons/Multi Site/
  inflating: gpEasy/addons/Multi Site/SetupSite.php  
  inflating: gpEasy/addons/Multi Site/Install\_Check.php  
  inflating: gpEasy/addons/Multi Site/Addon.ini  
  inflating: gpEasy/addons/Multi Site/Install.php  
  inflating: gpEasy/addons/Multi Site/multi\_site.css  

Change the ownership and permission of the gpEasy directory


linuxhelp ~ # ls
gpEasy  gpEasy\_4.4.zip
linuxhelp ~ # chown -R www-data:www-data gpEasy
linuxhelp ~ # chmod -R 775 gpEasy

Move the gpEasy directory into the html location


linuxhelp ~ # mv gpEasy /var/www/html/

Create the virtual host for gpEasy cms


linuxhelp ~ # cd /etc/apache2/sites-available/
linuxhelp sites-available # vim gpeasy.conf
< VirtualHost \*:80> 
ServerName www.linuxhelp1.ocm
DocumentRoot /var/www/html/gpEasy/
< Directory /var/www/html/gpEasy/> 
AllowOverride All    
Order allow,deny
allow from all
< /Directory> 
< /VirtualHost> 

Enable the gpeasy.conf file


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

Make an entry to the host file as follows


linuxhelp sites-available # vim /etc/hosts
< give your ip>    < give your localip> 

Restart the apache service


linuxhelp sites-available # 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

Verify the installation before proceeding.

Configure the admin user settings

< ads2>

Once the installation is done you can access the site from here.

Homepage of gpEasy cms

Admin page of gpEasy cms

With this, the method to install GpEasy CMS on Linuxmint-18.03 comes to an end.

Tag : Linux Mint
FAQ
Q
how to create error and access log?
A
follow the below command access and error log,

Errorlog /var/log/linux/error_log
customlog /var/log/linux/access_log
Q
how to entry to the host file?
A
Run the following command,
# vim /etc/hosts
Q
How to enable image functions for gpEasy?
A
It's very easy. All we have to do is install php5-gd. Execute:

apt-get install php5-gd
Q
What are the Pre-requirements of GpEasy CMS?
A
That is

install LAMP (apache, php7.2 and mysql)
Q
What is GpEasy CMS?
A
gpEasy is a simple, powerful and lightweight CMS. It doesn' t require any databases, it' s flat-file based, and allows you to edit your website on the fly