How to Install Impress CMS on RHEL7.6

How to Install Impress CMS on RHEL7.6

Introduction:

Impress CMS is a free and open source content management system which is used by many for building and managing dynamic websites. It is built based on PHP programming language and uses MYSQL database. This tutorial covers the method to install IMPRESS CMS on RHEL7.6

Prerequisite:

Apache

Mysql

PHP and Modules (php-gd php-pdo php-mbstring php-mcrypt php-mysql php-simplexml php-pecl- zip php-imap)

Installation procedure

Use the command to check the installed version of OS

[root@linuxhelp ~]# cat /etc/os-release
NAME="Red Hat Enterprise Linux Server"
VERSION="7.6 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="7.6"
PRETTY_NAME="Red Hat Enterprise Linux Server 7.6 (Maipo)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.6:GA:server"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
REDHAT_BUGZILLA_PRODUCT_VERSION=7.6
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="7.6"

Download the Impress CMS with the following link

 [root@linuxhelp ~]# wget https://sourceforge.net/projects/impresscms/files/1.4.1/v1.4.1.zip/download -O impress.zip
--2020-08-31 19:35:24--  https://sourceforge.net/projects/impresscms/files/1.4.1/v1.4.1.zip/download
Resolving sourceforge.net (sourceforge.net)... 216.105.38.13
Connecting to sourceforge.net (sourceforge.net)|216.105.38.13|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://downloads.sourceforge.net/project/impresscms/1.4.1/v1.4.1.zip?r=&ts=1598882724&use_mirror=master [following]
….
….
100%[==================================================================================================>] 2,47,31,757 1.11MB/s   in 65s    
2020-08-31 19:39:55 (371 KB/s) - ‘impress.zip’ saved [24731757/24731757]

Unzip the downloaded zip file

[root@linuxhelp ~]# unzip impress.zip  -d impress
Archive:  impress.zip
2789e96bdf360bd949b5c99982a4c0c23d3a0c61
  creating: impress/ImpressCMS-impresscms-2789e96/
 inflating: impress/ImpressCMS-impresscms-2789e96/.editorconfig  
 inflating: impress/ImpressCMS-impresscms-2789e96/.gitattributes  
  creating: impress/ImpressCMS-impresscms-2789e96/.github/
 …..
……
 inflating: impress/ImpressCMS-impresscms-2789e96/upgrade/upd-icms-1.0-to-1.1/settings_trust_path.php  
 inflating: impress/ImpressCMS-impresscms-2789e96/upgrade/upgrade_tpl.php  

Now, the Extracted Directory under apache root directory

[root@linuxhelp ~]# mv impress /var/www/

Then change directory to impress

[root@linuxhelp ~]# cd /var/www/impress/

We have to configure the ownership and permission for the impress directory with this command

[root@linuxhelp impress]# chown -R apache. ./
[root@linuxhelp impress]# chmod -R 755 ./

Create Database for the Impress CMS

[root@linuxhelp impress]# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 8
Server version: 10.3.24-MariaDB MariaDB Server
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> create database impress;
Query OK, 1 row affected (0.000 sec)
MariaDB [(none)]> grant all on impress.* to user@localhost identified by 'linuxc';
Query OK, 0 rows affected (0.056 sec)
MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.001 sec)
MariaDB [(none)]> exit
Bye

After the mysql configuration, create virtualhost for the impress cms

[root@linuxhelp impress]# vim /etc/httpd/conf.d/impress.conf

Where rename the existing directory with following command

[root@linuxhelp impress]# mv ImpressCMS-impresscms-2789e96/ impress1

Edit the host file

 [root@linuxhelp impress]# vim /etc/hosts
<your-ip address>    <domain-name>

Once all configuration completed, restart the apache service to update the changes

[root@linuxhelp impress]# systemctl restart httpd

Navigate to the browser, where type your domain name in new tab

Now, you can see the configuration page of impress cms. Select language and click on next

Check you server satisfied the impress cms requirements and click on next

Check the configuration

Here, configure the trusted path

Provide database credentials

In database configuration page provide database name and click on next Save the configuration

Table creation

Configure admin credentials

Save your settings to database

Click here, install modules

Click on this home icon to visit home page

Provide admin credential in login page

With this, the method to isntall Impress CMS comes to an end.

FAQ
Q
How to configure the virtual host for impress cms?
A
Enter into the path #vim /etc/hosts
Q
Does Impress CMS has any github repo ?
A
Yes, you can find the github repo of impress CMS here
https://github.com/impresscms/impresscms
Q
What are the requirement to install Impress CMS?
A
Apache
Mysql
PHP and Modules (php-gd php-pdo php-mbstring php-mcrypt php-mysql php-simplexml php-pecl-zip php-imap)
Q
How to Transfer ImpressCMS From Another Host?
A
You will need to transfer both your “trust” folder and your website files. You can perform the transfer via FTP.
Q
What is Impress CMS?
A
Impress CMS is a free and open source content management system. It is written in the PHP programming language and using a MYSQL database.
impress cms for building and maintaining the dynamic websites.