How to Install Wonder CMS 2.7.0 on Ubuntu 18.10

Installation of Wonder CMS 2.7.0 On Ubuntu 18.10

WonderCMS is a free and open source flat file CMS, aimed to be extremely simple and small.Its built with PHP,HTML,JQuery and CSS developed since 2008.No Initial configuration is required and the installation process is straight-forward.All files can be easily moved and backed up to another location.No database is required.

Pre-requisites:

Apache 2.4.34

PHP 7.2

PHP Modules:

php php-gd php-curl php-mbstring php-zip php-mcrypt

Installation procedure

Change the directory to Apaches document root directory to unzip the file of Wonder CMS

root@linuxhelp:~# cd /var/www

List the contents in the /var/www directory.

root@linuxhelp:/var/www# ll
total 28
drwxr-xr-x  3 root root  4096 Apr 23 00:31 ./
drwxr-xr-x 15 root root  4096 Apr  6 09:52 ../
drwxr-xr-x  2 root root  4096 Apr  6 09:52 html/
-rw-rw-r--  1 user user 14561 Apr 23 00:30 WonderCMS-2.7.0.zip

Create a directory for wonder CMS to extract the zip file of Wonder CMS

root@linuxhelp:/var/www# mkdir w

Extract the zip file of Wonder CMS by executing the following command

root@linuxhelp:/var/www# unzip WonderCMS-2.7.0.zip -d w
Archive:  WonderCMS-2.7.0.zip
   creating: w/wondercms/
  inflating: w/wondercms/.htaccess   
   creating: w/wondercms/themes/
   creating: w/wondercms/themes/default/
   creating: w/wondercms/themes/default/css/
  inflating: w/wondercms/themes/default/css/data-style.css  
  inflating: w/wondercms/themes/default/theme.php  
  inflating: w/wondercms/index.php   

Change the directory to w as follows:

root@linuxhelp:/var/www# cd w

List the contents in the w directory

root@linuxhelp:/var/www/w# ll
total 12
drwxr-xr-x 3 root root 4096 Apr 23 01:11 ./
drwxr-xr-x 4 root root 4096 Apr 23 01:10 ../
drwxrwxr-x 3 root root 4096 Mar 31 04:17 wondercms/

Rename the directory that has created during extraction.

root@linuxhelp:/var/www/w# mv wondercms/ final

Change the directory to final as follows:

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

List the contents in the final directory.

root@linuxhelp:/var/www/w/final# ll
total 60
drwxrwxr-x 3 root root  4096 Mar 31 04:17 ./
drwxr-xr-x 3 root root  4096 Apr 23 01:11 ../
-rw-r--r-- 1 root root   200 Dec 29  2017 .htaccess
-rw-r--r-- 1 root root 45010 Mar 31 04:16 index.php
drwxrwxr-x 3 root root  4096 Mar 31 04:17 themes/

Create an empty directory named functions.php

root@linuxhelp:/var/www/w/final# touch functions.php

Assign ownership permissions to the final directory.

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

Assign Writable permissions to the final directory.

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

Create a virtual hosting for Wonder CMS

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

Enable the wonder CMS site as follows:

root@linuxhelp:/var/www/w/final# a2ensite w.conf
Enabling site w.
To activate the new configuration, you need to run:
systemctl reload apache2

Disable the default sites as follows:

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

Enable the rewrite Module as follows:

root@linuxhelp:/var/www/w/final# 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/w/final# systemctl restart apache2

Open the Browser and Enter the Servername In the URL to load the wonder CMS Home Page Of Wonder CMS has opened.Just copy the password and click login Paste the Password and click login Change the password by clicking on settings --> security. Enter the old password and create a new password ,click Change password to update the password Enter the new password in the login page and click login I have successfully Logged in to the Wonder CMS 2.7.0 with the new password Installation Of Wonder CMS 2.7.0 On Centos 7.6 comes to end.

FAQ
Q
Is it tedious to take backup in Wonder CMS 2.7.0?
A
With one click, you can backup your files and folders In Wonder CMS 2.7.0
Q
Does Wonder CMS show any new updated version on Homepage?
A
Yes, Wonder CMS notifies if any new version gets updated On Homepage.
Q
What does GDPR mean In Wonder CMS?
A
GDPR stands for General Data Protection Regulation.GDPR is all to give citizens back control of their personal data
Q
How to custom the Login URL In Wonder CMS 2.7.0?
A
Go the location of the extracted files of Wonder CMS, edit the database.js in a text editor and give the Login URL to customize and save the changes.
Q
Does Wonder CMS need database to install?
A
No database is required to install Wonder CMS 2.7.0.