How To Install Flatpress CMS 1.1 on Ubuntu 18.10
- 01:08 wget https://github.com/flatpressblog/flatpress/archive/1.1.zip
- 01:30 unzip 1.1.zip
- 01:45 mv flatpress-1.1/ flatpress
- 01:59 chmod -R 775 flatpress/
- 02:22 chmod 777 fp-content/
- 02:38 vim /etc/apache2/sites-available/flatpress.conf
- 03:05 a2dissite 000-default.conf
- 03:17 a2ensite flatpress.conf
- 03:24 a2enmod rewrite
- 03:33 systemctl restart apache2
Installation of Flatpress CMS 1.1 on ubuntu 18.10
FlatPress is a lightweight, easy-to-set-up blogging engine. Plain and simple.No database is needed.This tutorial covers the installation procedure of Flatpress CMS 1.1 on ubuntu 18.10.
Features
No need to fiddle with SQL
Easy to backup! Just copy one directory
Easy plugin system
Widget support
Easy to customize with themes (powered by Smarty)
Software Requirements
Apache 2.2+
PHP 5.3+
Modules Of PHP
php-gd php-pdo php-mysql php-simplexml php-zip php-mbstring php-mcrypt
Installation
Change the directory to the Apache document root directory to download flatpress CMS
root@linuxhelp:~# cd /var/www
Download Link: https://github.com/flatpressblog/flatpress/archive/1.1.zip.
Download the Flatpress CMS using wget as follows
root@linuxhelp:/var/www# wget https://github.com/flatpressblog/flatpress/archive/1.1.zip
--2019-04-09 07:12:37-- https://github.com/flatpressblog/flatpress/archive/1.1.zip
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/flatpressblog/flatpress/zip/1.1 [following]
--2019-04-09 07:12:39-- https://codeload.github.com/flatpressblog/flatpress/zip/1.1
Resolving codeload.github.com (codeload.github.com)... 192.30.253.121, 192.30.253.120
Connecting to codeload.github.com (codeload.github.com)|192.30.253.121|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘1.1.zip’
1.1.zip [ <=> ] 1021K 488KB/s in 2.1s
2019-04-09 07:12:42 (488 KB/s) - ‘1.1.zip’ saved [1045826]
Extract the zip file of flatpress CMS 1.1 using unzip.
root@linuxhelp:/var/www# unzip 1.1.zip
Archive: 1.1.zip
0b3fdc7d4e583f8be840b7130a9e4320a3f85200
creating: flatpress-1.1/
inflating: flatpress-1.1/.gitignore
inflating: flatpress-1.1/CHANGELOG.md
inflating: flatpress-1.1/LICENSE.md
inflating: flatpress-1.1/README.md
inflating: flatpress-1.1/admin.php
.
.
.
.
inflating: flatpress-1.1/setup/tpls/footer.tpl.php
inflating: flatpress-1.1/setup/tpls/header.tpl.php
inflating: flatpress-1.1/setup/tpls/locked.tpl.php
inflating: flatpress-1.1/setup/tpls/step1.tpl.php
inflating: flatpress-1.1/setup/tpls/step2.tpl.php
inflating: flatpress-1.1/setup/tpls/step3.tpl.php
inflating: flatpress-1.1/static.php
List the contents to check the directory that was created while extracting the zip file.
root@linuxhelp:/var/www# ll
total 1044
drwxr-xr-x 4 root root 4096 Apr 9 07:13 ./
drwxr-xr-x 15 root root 4096 Apr 6 09:52 ../
-rw-r--r-- 1 root root 1045826 Apr 9 07:12 1.1.zip
drwxr-xr-x 10 root root 4096 Feb 22 10:36 flatpress-1.1/
drwxr-xr-x 2 root root 4096 Apr 6 09:52 html/
Rename the directory to flatpress for easy execution.
root@linuxhelp:/var/www# mv flatpress-1.1/ flatpress
Check the contents whether has it been renamed or not.
root@linuxhelp:/var/www# ll
total 1044
drwxr-xr-x 4 root root 4096 Apr 9 07:14 ./
drwxr-xr-x 15 root root 4096 Apr 6 09:52 ../
-rw-r--r-- 1 root root 1045826 Apr 9 07:12 1.1.zip
drwxr-xr-x 10 root root 4096 Feb 22 10:36 flatpress/
drwxr-xr-x 2 root root 4096 Apr 6 09:52 html/
Assign writable permissions to the flatpress CMS
root@linuxhelp:/var/www# chmod -R 775 flatpress/
root@linuxhelp:/var/www# cd flatpress/
List the content of the rename directory
root@linuxhelp:/var/www/flatpress# ll
total 136
drwxrwxr-x 10 root root 4096 Feb 22 10:36 ./
drwxr-xr-x 4 root root 4096 Apr 9 07:14 ../
drwxrwxr-x 6 root root 4096 Feb 22 10:36 admin/
-rwxrwxr-x 1 root root 124 Feb 22 10:36 admin.php*
-rwxrwxr-x 1 root root 337 Feb 22 10:36 blog.php*
-rwxrwxr-x 1 root root 7670 Feb 22 10:36 CHANGELOG.md*
-rwxrwxr-x 1 root root 6108 Feb 22 10:36 comments.php*
-rwxrwxr-x 1 root root 2695 Feb 22 10:36 contact.php*
-rwxrwxr-x 1 root root 5385 Feb 22 10:36 defaults.php*
drwxrwxr-x 2 root root 4096 Feb 22 10:36 docs/
drwxrwxr-x 2 root root 4096 Feb 22 10:36 fp-content/
drwxrwxr-x 2 root root 4096 Feb 22 10:36 fp-defaults/
drwxrwxr-x 4 root root 4096 Feb 22 10:36 fp-includes/
drwxrwxr-x 5 root root 4096 Feb 22 10:36 fp-interface/
drwxrwxr-x 25 root root 4096 Feb 22 10:36 fp-plugins/
-rwxrwxr-x 1 root root 191 Feb 22 10:36 .gitignore*
-rwxrwxr-x 1 root root 4619 Feb 22 10:36 index.php*
-rwxrwxr-x 1 root root 18026 Feb 22 10:36 LICENSE.md*
-rwxrwxr-x 1 root root 2460 Feb 22 10:36 login.php*
-rwxrwxr-x 1 root root 1977 Feb 22 10:36 README.md*
-rwxrwxr-x 1 root root 267 Feb 22 10:36 rss.php*
-rwxrwxr-x 1 root root 4707 Feb 22 10:36 search.php*
drwxrwxr-x 7 root root 4096 Feb 22 10:36 setup/
-rwxrwxr-x 1 root root 265 Feb 22 10:36 setup.php*
-rwxrwxr-x 1 root root 284 Feb 22 10:36 static.php*
Assign full permissions to the fp-cpntent directory as it the requirement for flatpress CMS 1.1
root@linuxhelp:/var/www/flatpress# chmod 777 fp-content/
Create a Customised Configuration for FLatpress CMS 1.1 On Ubuntu 18.10
root@linuxhelp:/var/www/flatpress# vim /etc/apache2/sites-available/flatpress.conf
<virtualhost *:80>
Servername www.linuxhelp1.com
Documentroot /var/www/flatpress/
</virtualhost>
Disable the default sites to access the flatpress site
root@linuxhelp:/var/www/flatpress# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
systemctl reload apache2
enable the Flatpress site to access through the browser
root@linuxhelp:/var/www/flatpress# a2ensite flatpress.conf
Enabling site flatpress.
To activate the new configuration, you need to run:
systemctl reload apache2
Enable the rewrite module to alter the changes in the apache configuration file.
root@linuxhelp:/var/www/flatpress# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
systemctl restart apache2
Restart the service of Apache
root@linuxhelp:/var/www/flatpress# systemctl restart apache2
Switch over the browser and enter the servername that had set in the customised Configuration file of flatpress CMS 1.1
Welcome page of flatpress CMS has been opened and click next to enter the login credentials of admins account
Click login page to enter into the login page of flatpress CMS

Enter the login credentials of admins account of flatpress CMS 1.1
Admin page of flatpress cms show on here.
Thus we have successfully installed the Flatpress CMS 1.1 On Ubuntu 18.10
Comments ( 0 )
No comments available