How to Install Wonder CMS on RHEL7.6
How to Install Wonder CMS on RHEL7.6
Introduction:
WonderCMS is a free, open source and small flat file content management system used for building websites It lets you edit content with its in-page editing function. This tutorial covers the method to install Wonder CMS on RHEL7.6
Pre-requisite
Apache 2.4
Mariadb 10.3
PHP - 7.2 and modules ( php-gd php-curl php-mbstring php-zip php-mcrypt )
Installation Process
First, check the version of the OS you are using by running the following command.
[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"
Change Directory to Download
[root@linuxhelp ~]# cd Downloads/
Long listing the current directory
[root@linuxhelp Downloads]# ls -la
total 32
drwxr-xr-x. 2 root root 4096 Aug 27 16:11 .
dr-xr-x---. 17 root root 4096 Aug 27 16:06 ..
-rw-r--r-- 1 root root 22021 Aug 27 16:11 WonderCMS-3.1.1.zip
Unzip the wonderzip file
[root@linuxhelp Downloads]# unzip WonderCMS-3.1.1.zip
Archive: WonderCMS-3.1.1.zip
creating: wondercms/
inflating: wondercms/.htaccess
creating: wondercms/themes/
creating: wondercms/themes/essence/
inflating: wondercms/themes/essence/summary
creating: wondercms/themes/essence/css/
inflating: wondercms/themes/essence/css/data-style.css
extracting: wondercms/themes/essence/version
inflating: wondercms/themes/essence/theme.php
inflating: wondercms/index.php
move the wonder cms under apache root directory
[root@linuxhelp Downloads]# mv wondercms/ /var/www/wonder
Change directory to wonder
[root@linuxhelp Downloads]# cd /var/www/wonder/
Create a file called functions.php
[root@linuxhelp wonder]# touch functions.php
We have to Change ownership and permission for the directory
[root@linuxhelp wonder]# chown -R apache. ./
[root@linuxhelp wonder]# chmod -R 755 ./
After this, we have to configure virtualhost for wonder cms
[root@linuxhelp wonder]# vim /etc/httpd/conf.d/wonder.conf
Then, make an entry in hosts file
[root@linuxhelp wonder]# vim /etc/hosts
Finally restart the apache service to update the changes
[root@linuxhelp wonder]# systemctl restart httpd
Navigate to the browser, In new tab provide domain address
Copy the given password then login with that password
With this, the method to install Wonder CMS comes to end.