How to install Known CMS on CentOS 7
How to install Known CMS on CentOS 7
Known CMS is a free and open source content management tool and also a publishing platform to share different types of posts like photos, notes, stories, songs etc. It is written in PHP and can be used with any type of database. It also organizes effectivley to post from the site, save links and respond to comments from the site. This tutorial explains the installation procedure of Known CMS on CentOS 7.
Pre-Requisite
- LAMP Setup on centos 7
- Apache
- Mariadb (create database, user protected by password)
- PHP Version 7 and above
Installation procedure
To begin with the installation procedure, download the known CMS package through the HTML directory of Apache and to start the download execute the following command.
[root@linuxhelp1 ~]# cd /var/www/html/ [root@linuxhelp1 html]# wget http://assets.withknown.com/releases/known-0.9.2.zip -O known.zip --2017-07-21 10:48:05-- http://assets.withknown.com/releases/known-0.9.2.zip Resolving assets.withknown.com (assets.withknown.com)... 54.231.185.6 Connecting to assets.withknown.com (assets.withknown.com)|54.231.185.6|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 22976436 (22M) [application/zip] Saving to: ‘ known.zip’ 100%[======================================> ] 2,29,76,436 211KB/s in 5m 0s 2017-07-21 10:53:06 (74.8 KB/s) - ‘ known.zip’ saved [22976436/22976436]
Unzip the contents of the downloaded package by running the following command.
[root@linuxhelp1 html]# unzip known.zip
Archive: known.zip
inflating: .gitignore
inflating: .htaccess
inflating: .travis.yml
creating: ansible.sample/
extracting: ansible.sample/.htaccess
inflating: ansible.sample/develop.yml
creating: ansible.sample/roles/
creating: ansible.sample/roles/apache/
creating: ansible.sample/roles/apache/handlers/
inflating: ansible.sample/roles/apache/handlers/main.yml
creating: ansible.sample/roles/apache/tasks/
inflating: ansible.sample/roles/apache/tasks/main.yml
creating: ansible.sample/roles/apache/templates/
inflating: ansible.sample/roles/apache/templates/known.conf
creating: ansible.sample/roles/common/
.
.
.
inflating: warmup/requirements.php
inflating: warmup/settings.php
inflating: warmup/top.php
inflating: warmup/writeconfig.php
Next, provide the virtual host configurations by creating a configuration file by the name known.conf through vim editor and enter the following lines in the file. Save and exit from the file.
[root@linuxhelp1 html]# vim /etc/httpd/conf.d/known.conf
< VirtualHost *:80>
DocumentRoot " /var/www/html/"
ServerName 192.168.7.231
ServerAlias *.linuxhelp1.com
ErrorLog " /var/log/httpd/www.linuxhelp1.com-error_log"
CustomLog " /var/log/httpd/www.linuxhelp1.com-access_log" combined
< /VirtualHost>
< Directory " /var/www/html/" >
DirectoryIndex index.html index.php
Options FollowSymLinks
AllowOverride All
Require all granted
< /Directory>
Change the owner permission and set the read write permissions of the file. Execute the following changes.
[root@linuxhelp1 html]# chown -R apache:apache /var/www/html/
[root@linuxhelp1 html]# chmod 775 /var/www/html/
Restart the Apache service by running the restart httpd command
[root@linuxhelp1 html]# systemctl restart httpd
Switch to the browser and provide the target machine’ s IP address http://192.168.7.231 and run it. It shows the Welcome page of the Known CMS. Next click “ lets get started” option.
This page shows the compatibility check if everything is correctly installed in the CMS tool then proceed further.
Next, provide the database configuration along with secure password and proceed further.
Create the user or admin account and save your profile.
In this page, the user can upload a pic of himself and set a short biography of the admin maintaning the site and save the profile.
This page shows the home page of the CMS tool that you have created along with some features.
The installation is completed. It was simple, Wasn' t it? Known CMS allows you to bring your own URL and really own your site with a custom domain.
Comments ( 0 )
No comments available