How to install WonderCMS on Linux mint 18.03

To install WonderCMS on Linuxmint 18.03
WonderCMS is a free and open source content management system. It is one of the smallest flat file CMS for building websites. you can add and change content by using the in-page editing function. In this tutorial, we will see the installation of Wonder cms on Linux mint-18.3.


Pre-requirements
Install LAMP (apache and php7.0)
For PHP installation

apt-get install python-software-properties
add-apt-repository ppa:ondrej/php
sudo apt-get update
apt-get install php7.0 libapache2-mod-php7.0 php7.0-common php7.0-sqlite php7.0-curl php7.0-intl php7.0-mbstring php7.0-xmlrpc php7.0-mysql php7.0-gd php7.0-xml php7.0-cli php7.0-zip

Installation
Download the wondercms package by using the browser. follow the official link, https://www.wondercms.com

linuxhelp ~ # cd /home/user/Downloads/
linuxhelp Downloads # ls
WonderCMS-2.5.1.zip

After Downloading extract the downloaded package

linuxhelp Downloads # unzip WonderCMS-2.5.1.zip 
Archive:  WonderCMS-2.5.1.zip
   creating: wondercms/
  inflating: wondercms/.htaccess     
  inflating: wondercms/index.php     
   creating: wondercms/themes/
   creating: wondercms/themes/default/
  inflating: wondercms/themes/default/theme.php  
   creating: wondercms/themes/default/css/
  inflating: wondercms/themes/default/css/data-style.css  
linuxhelp Downloads # ls
wondercms  WonderCMS-2.5.1.zip

Change ownership and permission of the wondercms directory as follow us.

linuxhelp Downloads # chown -R www-data:www-data wondercms/
linuxhelp Downloads # chmod -R 775 wondercms/

Navigate to the apache document root directory

linuxhelp Downloads # mv wondercms/ /var/www/html/

Create a new virtual host configuration for accessing the wonder cms.

linuxhelp Downloads # cd /etc/apache2/sites-available/
linuxhelp sites-available # vim wonder.conf
<VirtualHost *:80>
ServerName www.linuxhelp1.com
DocumentRoot /var/www/html/wondercms/
<Directory /var/www/html/wondercms/>
AllowOverride All
Allow from all
</Directory>
</VirtualHost>

Enable the wonder.conf file.

linuxhelp sites-available # a2ensite wonder.conf 
Enabling site wonder.
To activate the new configuration, you need to run:
  service apache2 reload

Enable the rewrite modules.

linuxhelp sites-available # a2enmod rewrite 
Enabling module rewrite.
To activate the new configuration, you need to run:
  service apache2 restart

Entry to the host file.

linuxhelp sites-available # vim /etc/hosts
<Give your ip>     <Give your domain>

Restart the apache server as follows.

linuxhelp sites-available # systemctl restart apache2.service

Now you can proceed the further installation and configuration from the browser by navigating to the following URL: http://<ipaddress or domain name


Welcome page of wonder cms. Here default password admin, if you want login your admin page click to login.

Login page of wonder cms.

Admin page of wonder cms, then if you want to change your default password go to setting and security.


With this, the method to install Wonder cms on linuxmint-18.03 comes to an end

FAQ
Q
How do I find all my attachments?
A
To find your list of attachments that you have uploaded, go to your User Control Panel and follow the links to the attachments section.
Q
How can I extract the downloaded package of WonderCMS?
A
Run the following command:
# unzip WonderCMS-2.5.1.zip
Q
What is the Pre-requirements for WonderCMS?
A
That is,
Install LAMP (apache and php7.0)
For PHP installation
Q
What is WonderCMS?
A
WonderCMS is a free and open source content management system. It is one of the smallest flat file CMS for building websites. you can add and change content by using the in-page editing function.
Q
What are Moderators?
A
Moderators are individuals (or groups of individuals) who look after the forums from day to day. They have the authority to edit or delete posts and lock, unlock, move, delete and split topics in the forum they moderate. Generally, moderators are present to prevent users from going off-topic or posting abusive or offensive material.