How to install FlatPress CMS on Linuxmint-18.03

To install FlatPress CMS on Linuxmint-18.03
FlatPress is an open source, multi-lingual extensible blogging engine which does not require a database. It stores all of its content on text files. It also contains features like support of various plugins, widget support, customizable themes

Install LAMP (apache and php5.6 )


Download a E107  package using the following URL

apt-get install python-software-properties
add-apt-repository ppa:ondrej/php
apt-get update
apt-get install php5.6-mysql php5.6-curl php5.6-json php5.6-cgi php5.6 libapache2-mod-php5.6 php5.6-mcrypt php5.6-xmlrpc php5.6-gd php5.6-mbstring php5.6 
php5.6-common  php5.6-xmlrpc php5.6-soap  php5.6-xml php5.6-intl  php5.6-cli  php5.6-ldap php5.6-zip php5.6-readline php5.6-imap php5.6-tidy php5.6-recod

Download a E107  package using the following URL

linuxhelp ~ # wget
--2018-06-02 01:46:58--
Resolving (,
Connecting to (||:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: [following]
--2018-06-02 01:46:59--
Resolving (,
Connecting to (||:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘’                   [ ===========================>] 882.31K   459KB/s    in 1.9s
2018-06-02 01:47:03 (459 KB/s) - ‘’ saved [903485]

Extract the package as follow

linuxhelp ~ # unzip
creating: flatpress-1.0.3/
inflating: flatpress-1.0.3/CHANGELOG
inflating: flatpress-1.0.3/COPYING
inflating: flatpress-1.0.3/LICENSE
inflating: flatpress-1.0.3/README
inflating: flatpress-1.0.3/
inflating: flatpress-1.0.3/TESTING
inflating: flatpress-1.0.3/admin.php
creating: flatpress-1.0.3/admin/
inflating: flatpress-1.0.3/admin/admin-inline.tpl
creating: flatpress-1.0.3/admin/imgs/
inflating: flatpress-1.0.3/setup/res/setup.css
creating: flatpress-1.0.3/setup/tpls/
inflating: flatpress-1.0.3/setup/tpls/footer.tpl.php
inflating: flatpress-1.0.3/setup/tpls/header.tpl.php
inflating: flatpress-1.0.3/setup/tpls/locked.tpl.php
inflating: flatpress-1.0.3/setup/tpls/step1.tpl.php
inflating: flatpress-1.0.3/setup/tpls/step2.tpl.php
inflating: flatpress-1.0.3/setup/tpls/step3.tpl.php
inflating: flatpress-1.0.3/static.php

Rename the extracted directory

linuxhelp ~ # ls
linuxhelp ~ # mv flatpress-1.0.3/ flat

Change ownership and permission as shown below

linuxhelp ~ # chown -R www-data:www-data flat/
linuxhelp ~ # chmod -R 775 flat/

Move the flat directory into the html location

linuxhelp ~ # mv flat/ /var/www/html/

Create a virtual host for flat press cms as follow

linuxhelp ~ # cd /etc/apache2/sites-available/
linuxhelp sites-available # vim flat.conf
<VirtualHost *:80>
ServerName www.linuxhelp1.ocm
DocumentRoot /var/www/html/flat/
<Directory /var/www/html/flat/>
AllowOverride All
Order allow,deny
allow from all

Enable Site access

linuxhelp sites-available # a2ensite flat.conf
Enabling site flat.
To activate the new configuration, you need to run:
  service apache2 reload

Make the entry to the host file

linuxhelp sites-available # vim /etc/hosts 
<give your ip>   <give your localip>

Restart the Apache service

linuxhelp sites-available # systemctl restart apache2.service

Now you can proceed the further installation and configuration from the browser by navigating to the following URL: http://<ipaddress or domain name
Snap 1

You will see the Welcome page of Flatpress cms

Configure the Admin user setup

After the configuration, you will see the following page as shown below

Access the login page from the options shown below

After the Successful login, you will see the Admin dashboard of Flat press as shown below


With this, the method to install Flatpress CMS on Linuxmint - 18.03 comes to an end.

Thank you! for using Linux Help.

You find this tutorial helpful? Share with your friends to keep it alive.
For more help topics browse our website
Be the first to comment, we value your suggestions. For further queries please comment below.

Tags: Linux Mint
user image Author :  Jack