How to Install Wolf CMS on RHEL7.6
- 00:33 cat /etc/os-release
- 00:41 mysql -u root -p
- 01:34 wget https://github.com/wolfcms/wolfcms/archive/master.zip
- 01:41 unzip master.zip
- 01:55 mv wolfcms-master /var/www/wolf
- 02:06 chown -R apache. /var/www/wolf/
- 02:16 chmod -R 755 /var/www/wolf/
- 02:31 vim /etc/httpd/conf.d/wolf.conf
- 02:56 vim /etc/hosts
- 03:18 systemctl restart httpd
How to Install Wolf CMS on RHEL7.6
Introduction:
Wolf CMS is a free and open-source content management system with a simple user interface. It is built ased on PHP programming language and has several features such as archiving, comment section, file manager, markdown, statistics, and SQLite3. In this tutorial, we are going to learn about the method to install Wolf 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)
Run the following 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"
Log into the Mysql to create Database for the Wolf CMS.
[root@linuxhelp ~]# 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 wolf;
Query OK, 1 row affected (0.001 sec)
MariaDB [(none)]> grant all on wolf.* to wuser@localhost identified by 'linuxc';
Query OK, 0 rows affected (0.001 sec)
MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.001 sec)
MariaDB [(none)]> exit
Bye
Now, download the Wolf cms using below link.
[root@linuxhelp ~]# wget https://github.com/wolfcms/wolfcms/archive/master.zip
--2020-09-05 17:26:58-- https://github.com/wolfcms/wolfcms/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/wolfcms/wolfcms/zip/master [following]
--2020-09-05 17:26:59-- https://codeload.github.com/wolfcms/wolfcms/zip/master
Resolving codeload.github.com (codeload.github.com)... 13.233.43.20
Connecting to codeload.github.com (codeload.github.com)|13.233.43.20|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘master.zip’
[ <=> ] 12,68,211 417KB/s in 3.0s
2020-09-05 17:27:03 (417 KB/s) - ‘master.zip’ saved [1268211]
Then, unzip the downloaded zip file.
[root@linuxhelp ~]# unzip master.zip
Archive: master.zip
c22f3281b266ab0cc69e0fd2fd5e49a3db455e77
creating: wolfcms-master/
inflating: wolfcms-master/CHANGELOG.md
inflating: wolfcms-master/CONTRIBUTING.md
inflating: wolfcms-master/README.md
inflating: wolfcms-master/_.htaccess
….
….
inflating: wolfcms-master/wolf/plugins/textile/textile.php
inflating: wolfcms-master/wolf/utils.php
Move the unzipped directory under apache document root.
[root@linuxhelp ~]# mv wolfcms-master /var/www/wolf
After, we have to configure ownership and permission for the Directory.
[root@linuxhelp ~]# chown -R apache. /var/www/wolf/
[root@linuxhelp ~]# chmod -R 755 /var/www/wolf/
Configure the virtualhost with the below steps.
[root@linuxhelp ~]# vim /etc/httpd/conf.d/wolf.conf
<virtualhost *:80>
servername www.linuxhelp1.com
documentroot /var/www/wolf
</virtualhost>
After the virtualhost configuration edit the host file as your domain-name.
[root@linuxhelp ~]# vim /etc/hosts
Once all configuration done, Restart the apache service to update the changes.
[root@linuxhelp ~]# systemctl restart httpd
Go to Browser and type your domain name in new tab.

Once your system satisfies the requirements then click on continue option.

Here configure the database credentials.

Now, copy the admin password then click on login option to visit admin login console.
Paste the admin password then click on login to visit the wolf cms dashboard

With this, the method to install Wolf CMS on RHEL7.6 comes to end.
Comments ( 0 )
No comments available