How to install FlatPress CMS on CentOS 7
To install FlatPress CMS on CentOS 7
FlatPress is an open source, multi-lingual extensible blogging engine which does not require a DBMS to work on. It stores all of its content on text files. It also contains features like support of various plugins, widget support, customizable themes. This tutorial explains the installation procedure of FlatPress CMS on CentOS 7.
Pre-Requisites
- Apache
- PHP > 5.3.1 (php56w mod_php56w php56w-cli php56w-common php56w-gd php56w-mbstring php56w-mcrypt php56w-mysqlnd php56w-xml php56w-imap php56w-curl php56w-gd php56w-fpm)
Installation procedure
To proceed with the installation procedure, download the FlatPress CMS package from its official site using wget command followed by the download link.
[root@linuxhelp ~]# wget -c https://github.com/evacchi/flatpress/archive/v1.0.3.tar.gz
--2017-09-26 10:27:03-- https://github.com/evacchi/flatpress/archive/v1.0.3.tar.gz
Resolving github.com (github.com)... 192.30.255.112, 192.30.255.113
Connecting to github.com (github.com)|192.30.255.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/evacchi/flatpress/tar.gz/v1.0.3 [following]
--2017-09-26 10:27:04-- https://codeload.github.com/evacchi/flatpress/tar.gz/v1.0.3
Resolving codeload.github.com (codeload.github.com)... 192.30.255.121, 192.30.255.120
Connecting to codeload.github.com (codeload.github.com)|192.30.255.121|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 726464 (709K) [application/x-gzip]
Saving to: ‘ v1.0.3.tar.gz’
100%[======================================> ] 726,464 209KB/s in 3.4s
Extract the downloaded package using tar command.
[root@linuxhelp ~]# tar -xvf v1.0.3.tar.gz
flatpress-1.0.3/
flatpress-1.0.3/CHANGELOG
flatpress-1.0.3/COPYING
flatpress-1.0.3/LICENSE
flatpress-1.0.3/README
flatpress-1.0.3/README.md
flatpress-1.0.3/TESTING
.
.
.
flatpress-1.0.3/setup/tpls/
flatpress-1.0.3/setup/tpls/footer.tpl.php
flatpress-1.0.3/setup/tpls/header.tpl.php
flatpress-1.0.3/setup/tpls/locked.tpl.php
flatpress-1.0.3/setup/tpls/step1.tpl.php
flatpress-1.0.3/setup/tpls/step2.tpl.php
flatpress-1.0.3/setup/tpls/step3.tpl.php
flatpress-1.0.3/static.php
Move the FlatPress directory to the Apache root directory and list the contents of the directory.
[root@linuxhelp ~]# mv flatpress-1.0.3/ /var/www/html/flatpress
[root@linuxhelp ~]# cd /var/www/html/
[root@linuxhelp html]# ll
total 4
drwxrwxr-x 10 root root 4096 Jun 12 2015 flatpress
Next provide owner permission and file execution permission by executing the set of following commands.
[root@linuxhelp html]# chown -R apache:apache /var/www/html/flatpress/
[root@linuxhelp html]# chmod -R 777 /var/www/html/flatpress/
Open the Apache configuration file and edit the following changes in the file. Save and exit the file.
[root@linuxhelp html]# vim /etc/httpd/conf/httpd.conf
ServerName 192.168.7.165:80
Directory index index.html index.php
AllowOverride All
Restart the Apache Service
[root@linuxhelp html]# systemctl restart httpd
Switch over to your browser and enter http://192.168.7.165/flatpress URL. The FlatPress installation page appears on the screen.
Enter the required details to create a new user. Click next.
The installation is now complete. Click login now option to login to Flatpress.
Enter the required admin credentials and click login.
Select the back to index option.
The home page of FlatPress CMS appears on the screen.
The dashboard of FlatPress CMS is now shown to the user.
The installation procedure of FlatPress CMS on CentOS 7 is done without any glitches.
Comments ( 0 )
No comments available