How to Install gpEasy CMS on Linux Mint 20
- 00:30 cat /etc/os-release
- 00:43 apt install apache2
- 01:07 systemctl start apache2
- 01:17 systemctl status apache2
- 01:28 apt install mariadb-server
- 01:58 systemctl start mysql
- 02:11 systemctl status mysql
- 02:21 mysql_secure_installation
- 02:47 apt install php libapche2-mod-php php-mysql
- 03:27 wget https://github.com/jeremykenedy/gpEasy-CMS/archive/master.zip
- 03:47 unzip master.zip
- 04:05 mv gpEasy-CMS-master /var/www/gpeasy
- 05:02 vi /etc/apache2/sites-available/gpeasy.conf
- 07:06 a2dissite 000-default.conf
- 07:32 a2enmod rewrite
- 07:41 systemctl restart apache2
To Install GpEasy CMS on Linux Mint 20.
Introduction:
GpEasy is the powerful, lightweight and database free Content Management System that is used to develop an effective web sites. In this tutorial, will cover about the Installation of GpEasy CMS on Linux Mint 20.
Installation procedure
Let check the version of the OS
root@linuxhelp:~# cat /etc/os-release
NAME="Linux Mint"
VERSION="20 (Ulyana)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 20"
VERSION_ID="20"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.ubuntu.com/"
Now install the Apache server by using the apt command
root@linuxhelp:~# apt install apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
apache2-bin apache2-data apache2-utils libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap
Suggested packages:
apache2-doc apache2-suexec-pristine | apache2-suexec-custom
The following NEW packages will be installed:
apache2 apache2-bin apache2-data apache2-utils libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap
Preparing to unpack .../1-libaprutil1_1.6.1-4ubuntu2_amd64.deb ...
.
.
.
Created symlink /etc/systemd/system/multi-user.target.wants/apache2.service → /lib/systemd/system/apache2.service.
Created symlink /etc/systemd/system/multi-user.target.wants/apache-htcacheclean.service → /lib/systemd/system/apache-htca
checlean.service.
Processing triggers for ufw (0.36-6) ...
Processing triggers for systemd (245.4-4ubuntu3) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9) ...
Once the service is installed. Now, start the Apache service
root@linuxhelp:~# systemctl start apache2
Now, check the status of apache2
root@linuxhelp:~# systemctl status apache2
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2020-11-20 14:30:54 IST; 50s ago
Docs: https://httpd.apache.org/docs/2.4/
Main PID: 2871 (apache2)
Tasks: 55 (limit: 2244)
Memory: 5.6M
CGroup: /system.slice/apache2.service
├─2871 /usr/sbin/apache2 -k start
├─2874 /usr/sbin/apache2 -k start
└─2875 /usr/sbin/apache2 -k start
Nov 20 14:30:54 linuxhelp systemd[1]: Starting The Apache HTTP Server...
Nov 20 14:30:54 linuxhelp apachectl[2870]: AH00558: apache2: Could not reliably determine the server's fully qualified d>
Nov 20 14:30:54 linuxhelp systemd[1]: Started The Apache HTTP Server
Now, install the mariadb server by using the following command
root@linuxhelp:~# apt install mariadb-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
galera-3 libconfig-inifiles-perl libdbd-mysql-perl libdbi-perl libhtml-template-perl libterm-readkey-perl
mariadb-client-10.3 mariadb-client-core-10.3 mariadb-common mariadb-server-10.3 mariadb-server-core-10.3 socat
Suggested packages:
Preparing to unpack .../1-galera-3_25.3.29-1_amd64.deb ...
Unpacking galera-3 (25.3.29-1) ...
Selecting previously unselected package libdbi-perl:amd64.
Preparing to unpack .../2-libdbi-perl_1.643-1_amd64.deb ...
Unpacking libdbi-perl:amd64 (1.643-1) ...
Selecting previously unselected package libterm-readkey-perl.
.
.
.
Created symlink /etc/systemd/system/mysql.service → /lib/systemd/system/mariadb.service.
Created symlink /etc/systemd/system/mysqld.service → /lib/systemd/system/mariadb.service.
Created symlink /etc/systemd/system/multi-user.target.wants/mariadb.service → /lib/systemd/system/mariadb.service.
Setting up mariadb-server (1:10.3.22-1ubuntu1) ...
Processing triggers for systemd (245.4-4ubuntu3) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for doc-base (0.10.9) ...
Processing 1 added doc-base file...
Now, start the mysql service
root@linuxhelp:~# systemctl start mysql
Now, check the status of mysql
root@linuxhelp:~# systemctl status mysql
● mariadb.service - MariaDB 10.3.22 database server
Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2020-11-20 14:33:55 IST; 39s ago
Docs: man:mysqld(8)
https://mariadb.com/kb/en/library/systemd/
Main PID: 4622 (mysqld)
Status: "Taking your SQL requests now..."
Tasks: 31 (limit: 2244)
Memory: 68.8M
CGroup: /system.slice/mariadb.service
└─4622 /usr/sbin/mysqld
Nov 20 14:33:55 linuxhelp /etc/mysql/debian-start[4660]: mysql
Nov 20 14:33:55 linuxhelp /etc/mysql/debian-start[4660]: performance_schema
Nov 20 14:33:55 linuxhelp /etc/mysql/debian-start[4660]: Phase 6/7: Checking and upgrading tables
Nov 20 14:33:55 linuxhelp /etc/mysql/debian-start[4660]: Processing databases
Nov 20 14:33:55 linuxhelp /etc/mysql/debian-start[4660]: information_schema
Nov 20 14:33:55 linuxhelp /etc/mysql/debian-start[4660]: performance_schema
Nov 20 14:33:55 linuxhelp /etc/mysql/debian-start[4660]: Phase 7/7: Running 'FLUSH PRIVILEGES'
Nov 20 14:33:55 linuxhelp /etc/mysql/debian-start[4660]: OK
Nov 20 14:33:55 linuxhelp /etc/mysql/debian-start[4714]: Checking for insecure root accounts.
Nov 20 14:33:55 linuxhelp /etc/mysql/debian-start[4718]: Triggering myisam-recover for all MyISAM tables and aria-recove>
Now, create a credentials of mysql
root@linuxhelp:~# mysql_secure_installation
Enter current password for root (enter for none):
OK, successfully used password, moving on...
Setting the root password ensures that nobody can log into the MariaDB
root user without the proper authorisation.
Set root password? [Y/n]
New password:
Re-enter new password:
Password updated successfully!
Reloading privilege tables..
... Success!
By default, a MariaDB installation has an anonymous user, allowing anyone
to log into MariaDB without having to have a user account created for
them. This is intended only for testing, and to make the installation
go a bit smoother. You should remove them before moving into a
production environment.
Remove anonymous users? [Y/n] y
... Success!
Normally, root should only be allowed to connect from 'localhost'. This
ensures that someone cannot guess at the root password from the network.
Disallow root login remotely? [Y/n] y
... Success!
By default, MariaDB comes with a database named 'test' that anyone can
access. This is also intended only for testing, and should be removed
before moving into a production environment.
Remove test database and access to it? [Y/n] y
- Dropping test database...
... Success!
- Removing privileges on test database...
... Success!
Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.
Reload privilege tables now? [Y/n] y
... Success!
Cleaning up...
All done! If you've completed all of the above steps, your MariaDB
installation should now be secure.
Thanks for using MariaDB!
Now, install the PHP and its modules
root@linuxhelp:~# apt install php libapache2-mod-php php-mysql
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libapache2-mod-php7.4 php-common php7.4 php7.4-cli php7.4-common php7.4-json php7.4-mysql php7.4-opcache
php7.4-readline
Suggested packages:
php-pear
The following NEW packages will be installed:
Selecting previously unselected package php7.4-cli.
Preparing to unpack .../05-php7.4-cli_7.4.3-4ubuntu2.4_amd64.deb ...
.
Creating config file /etc/php/7.4/apache2/php.ini with new version
Module mpm_event disabled.
Enabling module mpm_prefork.
apache2_switch_mpm Switch to prefork
apache2_invoke: Enable module php7.4
Setting up php7.4 (7.4.3-4ubuntu2.4) ...
Setting up libapache2-mod-php (2:7.4+75) ...
Setting up php (2:7.4+75) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for php7.4-cli (7.4.3-4ubuntu2.4) ...
Processing triggers for libapache2-mod-php7.4 (7.4.3-4ubuntu2.4) ...
Now download the GpEasy package by using the wget command
root@linuxhelp:~# wget https://github.com/jeremykenedy/gpEasy-CMS/archive/master.zip
--2020-11-20 14:41:07-- http://wget/
Resolving wget (wget)... failed: Name or service not known.
wget: unable to resolve host address ‘wget’
--2020-11-20 14:41:07-- https://github.com/jeremykenedy/gpEasy-CMS/archive/master.zip
Resolving github.com (github.com)... 13.234.210.38
Connecting to github.com (github.com)|13.234.210.38|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/jeremykenedy/gpEasy-CMS/zip/master [following]
--2020-11-20 14:41:08-- https://codeload.github.com/jeremykenedy/gpEasy-CMS/zip/master
Resolving codeload.github.com (codeload.github.com)... 13.127.152.42
Connecting to codeload.github.com (codeload.github.com)|13.127.152.42|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘master.zip’
master.zip [ <=> ] 2.92M 664KB/s in 4.2s
2020-11-20 14:41:13 (717 KB/s) - ‘master.zip’ saved [3063905]
FINISHED --2020-11-20 14:41:13--
Total wall clock time: 5.6s
Downloaded: 1 files, 2.9M in 4.2s (717 KB/s)
Now, extract the GpEasy package
root@linuxhelp:~# unzip master.zip
Archive: master.zip
33f4d7cc251bd98f0e810c63cdde26cdca700824
creating: gpEasy-CMS-master/
creating: gpEasy-CMS-master/.easymin/
inflating: gpEasy-CMS-master/.easymin/ignore_prefixes
extracting: gpEasy-CMS-master/.easymin/ignore_types
.
.
.
inflating: gpEasy-CMS-master/themes/Three_point_5/Shore/style.css
inflating: gpEasy-CMS-master/themes/Three_point_5/Shore/wood.jpg
creating: gpEasy-CMS-master/themes/Three_point_5/images/
inflating: gpEasy-CMS-master/themes/Three_point_5/images/magnifier.png
inflating: gpEasy-CMS-master/themes/Three_point_5/images/shore.jpg
inflating: gpEasy-CMS-master/themes/Three_point_5/images/wheel.jpg
extracting: gpEasy-CMS-master/themes/Three_point_5/screenshot.png
inflating: gpEasy-CMS-master/themes/Three_point_5/settings.php
inflating: gpEasy-CMS-master/themes/Three_point_5/template.php
inflating: gpEasy-CMS-master/themes/index.html
inflating: gpEasy-CMS-master/web.config
List the files
root@linuxhelp:~# ls
gpEasy-CMS-master master.zip
Now, move the GpEasy CMS directory to the Apache directory
root@linuxhelp:~# mv gpEasy-CMS-master /var/www/gpeasy
Now, set the ownership of the GpEasy directory
root@linuxhelp:~# chown -R www-data.www-data /var/www/gpeasy/
Now, set the permissions of the GpEasy directory
root@linuxhelp:~# chmod -R 755 /var/www/gpeasy/
Now, configure the gpeasy.conf file
root@linuxhelp:~# vi /etc/apache2/sites-available/gpeasy.conf
Now, disable the default site of the Apache
root@linuxhelp:~# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
systemctl reload apache2
Now, enable the site access of the GpEasy CMS
root@linuxhelp:~# a2ensite gpeasy.conf
Enabling site gpeasy.
To activate the new configuration, you need to run:
systemctl reload apache2
Now, enable the rewrite modules
root@linuxhelp:~# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
systemctl restart apache2
Finally, restart the apache2 service
root@linuxhelp:~# systemctl restart apache2
Switch browser and search your hostname
This is the welcome page of GpEasy CMS and enter the admin credentials
The GpEasy CMS is installed
This is the dash board of the GpEasy CMS
This is the admin page of GpEasy CMS

The installation process of GpEasy CMS on LinuxMint 20 comes to an end.
Comments ( 0 )
No comments available