In our previous article, we have seen about the installation of FlatPress CMS on CentOS 7 so, in this article we are going to see the installation steps of FlatPress CMS on OpenSUSE 42.1. 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.
- PHP > 5.3.1 along with dependencies (php5 php5-mysql apache2-mod_php5 php5-ctype php5-dom php5-iconv php5-json php5-sqlite php5-tokenizer php5-xmlreader php5-xmlwriter)
To start with the installation procedure, enable the PHP service in the system by running the following command.
www # a2enmod php
Now download the FlatPress package from its official site and run the wget command followed by the download link to get the latest stable version of the downloaded package.
www:/srv/www/htdocs # wget -c https://github.com/evacchi/flatpress/archive/v1.0.3.tar.gz --2017-09-26 15:07:39-- https://github.com/evacchi/flatpress/archive/v1.0.3.tar.gz Resolving github.com (github.com)... 188.8.131.52, 184.108.40.206 Connecting to github.com (github.com)|220.127.116.11|: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 15:07:40-- https://codeload.github.com/evacchi/flatpress/tar.gz/v1.0.3 Resolving codeload.github.com (codeload.github.com)... 18.104.22.168, 22.214.171.124 Connecting to codeload.github.com (codeload.github.com)|126.96.36.199|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: ‘v1.0.3.tar.gz’ [ <=> ] 726,464 127KB/s in 5.6s 2017-09-26 15:07:47 (127 KB/s) - ‘v1.0.3.tar.gz’ saved 
Next extract the downloaded package by following the tar command.
www:/srv/www/htdocs # 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/admin.php flatpress-1.0.3/admin/ . . . 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
Rename the FlatPress directory to any name the user requires.
www:~ # mv flatpress-1.0.3/ flatpress
Move to Apache document root to the htdocs directory and enter into the said directory by running the cd command. List the files in the directory.
www:/srv/www/htdocs # mv flatpress-1.0.3/ /srv/www/htdocs/flatpress www:/srv/www/htdocs # cd /srv/www/htdocs/ www:/srv/www/htdocs # ll total 736 drwxrwxr-x 10 root root 4096 Jun 12 2015 flatpress drwxrwxrwx 2 root root 4096 Oct 30 2015 gif -rwxrwxrwx 1 root root 30 Sep 26 14:41 index.html -rwxrwxrwx 1 root root 2356 Sep 30 2015 info2html.css -rwxrwxrwx 1 root root 20 Sep 26 15:02 testphp.php -rw-r--r-- 1 root root 20 Sep 26 14:45 testphp.phpq! -rw-r--r-- 1 root root 726464 Sep 26 15:07 v1.0.3.tar.gz
Next provide the owner permission and file execution permission for the file by executing the set of following commands.
www:/srv/www/htdocs/flatpress # chown -R wwwrun:www /srv/www/htdocs/flatpress/ www:/srv/www/htdocs/flatpress # chmod -R 777 /srv/www/htdocs/flatpress/
Now provide the Firewall Settings by running the following command, make the following changes in the file. Save and exit the file
www:/srv/www/htdocs # vim /etc/sysconfig/SuSEfirewall2 FW_CONFIGURATIONS_EXT="apache2"
Switch over to the browser and enter the URL as http://192.168.7.218/flatpress. The Installation page of FlatPress 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 dashboard of FlatPress CMS is now shown to the user.
The user can upload many files via the uploader in the menu bar header.
Now create a new blog site by entering the required details to create a blog and save the changes.
The user can also maintain blogs, file permissions and index page through the maintain option in the menu bar.
Thus concludes the installation procedure of FlatPress CMS on OpenSUSE 42.1
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 www.linuxhelp.com
Be the first to comment, we value your suggestions. For further queries please comment below.