How to install Flat Press CMS on Debian 11.3
- 00:27 lsb_release -a
- 00:50 wget https://github.com/flatpressblog/flatpress/archive/1.1.zip
- 01:05 unzip 1.1.zip
- 01:20 mv flatpress-1.1/ /var/www/flatpress
- 01:41 chown –R www-data. /var/www/flatpress
- 02:10 chmod -R 775 /var/www/flatpress
- 02:34 nano /etc/apache2/sites-available/flatpress.conf
- 03:15 nano /etc/hosts
- 03:50 a2dissite 000-default.conf
- 04:10 a2ensite flatpress.conf
- 04:26 a2enmod rewrite
- 04:31 systemctl restart apache2
To Install Flat Press CMS On Debian 11.3
Introduction
CMS stands for the content management system, which is the software used to manage digital content. It relies on text files to store all of its content, so it does not need MySQL.
Prerequisites:
• Apache Web server
• PHP and its Modules
Installation Procedure :
Step 1: Check the OS version by using the below command
[root@linuxhelp ~]# lsb_release -a
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
Step 2: Download the FlatPress CMS by using the below command
[root@linuxhelp ~]# wget https://github.com/flatpressblog/flatpress/archive/1.1.zip
--2022-06-20 21:53:30-- https://github.com/flatpressblog/flatpress/archive/1.1.zip
Resolving github.com (github.com)... 13.234.210.38
Connecting to github.com (github.com)|13.234.210.38|:443... connected.
Connecting to codeload.github.com (codeload.github.com)|13.233.43.20|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘1.1.zip’
1.1.zip [ <=> ] 1021K --.-KB/s in 0.1s
2022-06-20 21:53:42 (7.58 MB/s) - ‘1.1.zip’ saved [1045826]
Step 3 : Unzip the Flat press CMS zip file by using the below command
[root@linuxhelp ~#] 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/
STEP 4: Move the extracted file to the Apache home directory
[root@linuxhelp ~#] mv flatpress-1.1/ /var/www/flatpress
Step 5: Change Ownership to the CMS directory by using the below command
[root@linuxhelp:/var/www ~#] chown –R www-data. /var/www/flatpress
Step 6: Give the Write permission to CMS directory
[root@linuxhelp:/var/www ~#] chmod -R 775 /var/www/flatpress
Step 7: Create Virtual Host for the FlatPress CMS
root@linuxhelp:/var/www ~#] nano /etc/apache2/sites-available/flatpress.conf
<virtualHost *:80>
serverName www.linuxhelp.com
documentRoot /var/www/flatpress
</virtualhost>
Step 8: open Host Nano conf. editor and add host name and IP
[root@linuxhelp ~#] nano /etc/hosts
192.168.6.133 www.linuxhelp1.com
Step 9: Disable the default virtual Host file of Apache
[root@linuxhelp ~#] a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
systemctl reload apache2
Step 10: Enable the virtual Host by using the below command
[root@linuxhelp ~#] a2ensite flatpress.conf
Enabling site flatpress.
To activate the new configuration, you need to run:
systemctl reload apache2
Step 11: Enable the read write module of Apache by using the below command
[root@linuxhelp ~#] a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run
Step 12: Restart the Apache2 by using the below command
[root@linuxhelp #] systemctl restart apache2
Step 13: Ping the Domain as shown in the below image

Step 14: Click Next to Continue as shown in the below image

Step 15: Create User as shown in the below images

Step 16: Log in with Created User as shown in the below images


Conclusion:
We have reached the end of this article. In this guide, we have walked you through the steps required to Install Flat Press CMS On Debian 11.3. Your feedback is much welcome.
Comments ( 0 )
No comments available