• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to Install Flatpress CMS 1.1v on Ubuntu 19.04

  • 00:59 wget https://github.com/flatpressblog/flatpress/archive/1.1.zip
  • 01:09 unzip 1.1.zip
  • 01:18 mv flatpress-1.1/ final
  • 01:46 vim /etc/apache2/sites-available/flatpress.conf
  • 02:16 systemctl restart apache2
{{postValue.id}}

Installation of FlatPress CMS 1.1v on Ubuntu 19.04

Flatpress is a lightweight, easy-to-set-up blogging engine. FlatPress CMS requires no database. This tutorial covers the method to install FlatPress CMS 1.1 on Ubuntu 19.04.

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+

PHP Modules:

php-gd php-pdo php-mysql php-simplexml php-zip php-mbstring php-mcrypt

Download link:

wget https://github.com/flatpressblog/flatpress/archive/1.1.zip

Installation process

Change the directory to Apache’s Document root directory.

root@linuxhelp:~# cd /var/www

Create a directory for FlatPress CMS.

root@linuxhelp:/var/www# mkdir flatpress

Change the directory to flatpress.

root@linuxhelp:/var/www# cd flatpress/

Download Flatpress CMS using the following command. The Link is mentioned in the command.

root@linuxhelp:/var/www/flatpress#  wget https://github.com/flatpressblog/flatpress/archive/1.1.zip
--2019-05-20 16:41:08--  https://github.com/flatpressblog/flatpress/archive/1.1.zip
Resolving github.com (github.com)... 192.30.253.112
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-05-20 16:41:10--  https://codeload.github.com/flatpressblog/flatpress/zip/1.1
Resolving codeload.github.com (codeload.github.com)... 192.30.253.121
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   478KB/s    in 2.1s    

2019-05-20 16:41:13 (478 KB/s) - ‘1.1.zip’ saved [1045826]

List the contents to check the downloaded zip file of FlatPress CMS.

root@linuxhelp:/var/www/flatpress# ll
total 1032
drwxr-xr-x 2 root root    4096 May 20 16:41 ./
drwxr-xr-x 4 root root    4096 May 20 16:40 ../
-rw-r--r-- 1 root root 1045826 May 20 16:41 1.1.zip

Extract the zip file of FlatPress CMS.

root@linuxhelp:/var/www/flatpress# 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  
   creating: flatpress-1.1/admin/
  inflating: flatpress-1.1/admin/admin-inline.tpl  
.
.
.
.
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 view the extracted files.

root@linuxhelp:/var/www/flatpress# ll
total 1036
drwxr-xr-x  3 root root    4096 May 20 16:41 ./
drwxr-xr-x  4 root root    4096 May 20 16:40 ../
-rw-r--r--  1 root root 1045826 May 20 16:41 1.1.zip
drwxr-xr-x 10 root root    4096 Feb 23 00:06 flatpress-1.1/

Renmae the newly created directory to final.

root@linuxhelp:/var/www/flatpress# mv flatpress-1.1/ final

Change the directory to final.

root@linuxhelp:/var/www/flatpress# cd final/

List to view the extracted files inside the final directory.

root@linuxhelp:/var/www/flatpress/final# ll
total 136
drwxr-xr-x 10 root root  4096 Feb 23 00:06 ./
drwxr-xr-x  3 root root  4096 May 20 16:41 ../
drwxr-xr-x  6 root root  4096 Feb 23 00:06 admin/
-rwxr-xr-x  1 root root   124 Feb 23 00:06 admin.php*
-rwxr-xr-x  1 root root   337 Feb 23 00:06 blog.php*
-rw-r--r--  1 root root  7670 Feb 23 00:06 CHANGELOG.md
-rw-r--r--  1 root root  6108 Feb 23 00:06 comments.php
-rwxr-xr-x  1 root root  2695 Feb 23 00:06 contact.php*
-rwxr-xr-x  1 root root  5385 Feb 23 00:06 defaults.php*
drwxr-xr-x  2 root root  4096 Feb 23 00:06 docs/
drwxr-xr-x  2 root root  4096 Feb 23 00:06 fp-content/
drwxr-xr-x  2 root root  4096 Feb 23 00:06 fp-defaults/
drwxr-xr-x  4 root root  4096 Feb 23 00:06 fp-includes/
drwxr-xr-x  5 root root  4096 Feb 23 00:06 fp-interface/
drwxr-xr-x 25 root root  4096 Feb 23 00:06 fp-plugins/
-rw-r--r--  1 root root   191 Feb 23 00:06 .gitignore
-rw-r--r--  1 root root  4619 Feb 23 00:06 index.php
-rw-r--r--  1 root root 18026 Feb 23 00:06 LICENSE.md
-rwxr-xr-x  1 root root  2460 Feb 23 00:06 login.php*
-rw-r--r--  1 root root  1977 Feb 23 00:06 README.md
-rwxr-xr-x  1 root root   267 Feb 23 00:06 rss.php*
-rwxr-xr-x  1 root root  4707 Feb 23 00:06 search.php*
drwxr-xr-x  7 root root  4096 Feb 23 00:06 setup/
-rwxr-xr-x  1 root root   265 Feb 23 00:06 setup.php*
-rwxr-xr-x  1 root root   284 Feb 23 00:06 static.php*

Assign Ownership permissions to the final driectory.

root@linuxhelp:/var/www/flatpress/final# chown -R www-data. ./

Assign Writable permissions to the final driectory.

root@linuxhelp:/var/www/flatpress/final# chmod -R 775 ./

Create a customised configuration file for FlatPress CMS.

root@linuxhelp:/var/www/flatpress/final# vim /etc/apache2/sites-available/flatpress.conf
<virtualhost *:80>
servername www.linuxhelp1.com
documentroot /var/www/flatpress/final/
<directory /var/www/flatpress/final/>
Allowoverride all
allow from all
</directory>
</virtualhost>

Disable the access for default sites.

root@linuxhelp:/var/www/flatpress/final# a2dissite 000-default.conf 
Site 000-default disabled.
To activate the new configuration, you need to run:
systemctl reload apache2

Enable the access for FlatPress CMS site.

root@linuxhelp:/var/www/flatpress/final# a2ensite flatpress.conf
Site flatpress already enabled

Enable the rewrite module.

root@linuxhelp:/var/www/flatpress/final# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
systemctl restart apache2

Restart the servcie of Apache.

root@linuxhelp:/var/www/flatpress/final# systemctl restart apache2

Switch over the browser and enter the server name that had set in the customized Configuration file of FlatPress CMS 1.1. snap (1)

Welcome page of FlatPress CMS has been opened and click next to enter the login credentials of admins account snap (2) snap (3) Click login page to enter into the login page of FlatPress CMS. snap (4) Enter the login credentials of admins account of FlatPress CMS 1.1 and can see the dashboard of the admin’s account. snap (5) snap (6)

Thus we have successfully installed the Flatpress CMS 1.1 On Ubuntu 19.04

Tags:
caden
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What is a flat file in Flatpress CMS 1.1?

A

A flatfile database is a type of database that stores data in a single table.

Q

Which form Does Flatpress CMS be generally in?

A

Flatfile databases are generally in plain-text form.

Q

How many records does Flatpress CMS hold in each line?

A

In Flatpress CMS, each line holds only one record.

Q

How are the fields in the record get separated in Flatpress CMS?

A

The fields in the record are separated by using delimiters such as tabs and commas.

Q

What does delimiter mean in Flatpress CMS?

A

A delimiter is a character that identifies the beginning or the end of a character string.

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Sebastian ?
How to change non required to required field in SuiteCRM Custom/Default Modules

How to change not required to the required field in SuiteCRM Custom/Default Modules?

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.