How to install Jaws CMS 1.3.0 on CentOS 7
To install Jaws CMS 1.3.0 on CentOS 7
Jaws is a Framework and Content Management System for build on dynamic websites. It aims to be User-Friendly giving ease of use and lots of ways to customize websites, but at the same time is Developer Friendly, it offers a simple and powerful framework to hack your own modules.
Prerequisites
Install LAMP(Apache, mariadb, php5)
In mariadb (create database and user and give privileges to that user )
Php installation
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm yum install php56w php56w-opcache php56w-mysql php56w-curl php56w-xml php56w-mcrypt php56w-gd
Switch to the directory
[root@linuxhelp1 ~]# cd /home/user1/
Install a Git using the following command
[root@linuxhelp1 user1]# yum install git -y
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.nhanhoa.com
* epel: epel.scopesky.iq
* extras: centos-hn.viettelidc.com.vn
* updates: centos-hn.viettelidc.com.vn
* webtatic: sp.repo.webtatic.com
.
.
Verifying : perl-Git-1.8.3.1-12.el7_4.noarch 3/4
Verifying : perl-TermReadKey-2.30-20.el7.x86_64 4/4
Installed:
git.x86_64 0:1.8.3.1-12.el7_4
Dependency Installed:
perl-Error.noarch 1:0.17020-2.el7 perl-Git.noarch 0:1.8.3.1-12.el7_4
perl-TermReadKey.x86_64 0:2.30-20.el7
Complete!
Clone the Jaws CMS from on Git
[root@linuxhelp1 user1]# git clone -b master https://[email protected]/jaws-project/jaws.git
Cloning into ' jaws' ...
remote: Counting objects: 85495, done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 85495 (delta 1), reused 5 (delta 1), pack-reused 85484
Receiving objects: 100% (85495/85495), 31.90 MiB | 1.09 MiB/s, done.
Resolving deltas: 100% (51238/51238), done.
Use the following command to move the file
[root@linuxhelp1 user1]# mv jaws /var/www/
Switch to the directory
[root@linuxhelp1 user1]# cd /var/www/
Change the ownership and permission of the file
[root@linuxhelp1 www]# chown -R apache. apache jaws/
[root@linuxhelp1 www]# chmod -R 775 jaws
Create a virtual host configuration for access the Jaws CMS
[root@linuxhelp1 www]# vim /etc/httpd/conf.d/jaws.conf
< VirtualHost *:80>
ServerName www.linuxhelp1.com
DocumentRoot /var/www/jaws/
< Directory /var/www/jaws/>
AllowOverride All
allow from all
< /Directory>
< /VirtualHost>
And then restart the httpd service
[root@linuxhelp1 www]# systemctl restart httpd
Now you can proceed the further installation and configuration from the browser by navigating to the following URL: http://< ipaddress or domain name
Choose the language for Jaws CMS application
Authenticate the Jaws CMS as follows
Switch to the following directory
[root@linuxhelp1 www]# cd jaws/
Switch the following directory
[root@linuxhelp1 jaws]# cd install/
Create a file and put the following content
[root@linuxhelp1 install]# vim key.txt
127558a83d8ff0f9d964cb454ee3e3ec15238290501523829050255
Restart the httpd service
[root@linuxhelp1 install]# systemctl restart httpd
Verify the requirements
Configure the database details
Configure the Admin user account.
Configure the site settings
Check and save the configuration
switch to the previous directory
[root@linuxhelp1 install]# cd ..
Switch to the following directory
[root@linuxhelp1 jaws]# cd config/
Rename the file
[root@linuxhelp1 config]# mv JawsConfig.php.sample JawsConfig.php
Restart the httpd service
[root@linuxhelp1 config]# systemctl restart httpd
Once the configuration is complete you will see the following page
Next, log in using the admin account credentials
After successful login, you will see the admin dashboard of Jaws CMS
with this, the method to install Jaws CMS 1.3.0 on CentOS 7 comes to an end.
Comments ( 0 )
No comments available