How to install Microweber on Linuxmint-18.03

To install Microweber on Linuxmint-18.03

Microweber is an open-source content management system and website builder. It is based on the PHP programming language and the Laravel 5 web application framework, using drag and drop and allowing users to quickly create content and managing multiple displays.


Pre-requirements
Install LAMP (Apache, php7.2, mariadb-server)
In MariaDB (create database, user and give privileges to the user)

FOR PHP INSTALLATION
add-apt-repository ppa:ondrej/php 
apt-get update 
apt install php7.2 libapache2-mod-php7.2 php7.2-common php7.2-mbstring php7.2-xmlrpc php7.2-soap php7.2-gd php7.2-xml php7.2-intl php7.2-mysql php7.2-cli php7.2-mcrypt php7.2-ldap php7.2-zip php7.2-curl

Installation

Download the microweber cms package using wget command

linuxhelp ~ # wget http://deploy.microweberapi.com/deploy_files/ready/core/core/1.0.15/microweber-1.0.15.zip
--2018-05-19 12:16:11--  http://deploy.microweberapi.com/deploy_files/ready/core/core/1.0.15/microweber-1.0.15.zip
Resolving deploy.microweberapi.com (deploy.microweberapi.com)... 148.251.51.133
Connecting to deploy.microweberapi.com (deploy.microweberapi.com)|148.251.51.133|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 138108263 (132M) [application/zip]
Saving to: ‘ microweber-1.0.15.zip’ 

microweber-1.0.15.zip    100%[=================================> ] 131.71M  1013KB/s    in 2m 42s  

2018-05-19 12:18:54 (834 KB/s) - ‘ microweber-1.0.15.zip’  saved [138108263/138108263]

After downloading extract the download directory

linuxhelp ~ # unzip microweber-1.0.15.zip -d micro
Archive:  microweber-1.0.15.zip
 extracting: micro/.editorconfig     
 extracting: micro/composer.lock     
 extracting: micro/.gitattributes    
 extracting: micro/phpunit.xml       
   creating: micro/config/
 extracting: micro/config/app.php    
 extracting: micro/config/session.php  
.
.
.
extracting: micro/resources/views/auth/password.blade.php  
 extracting: micro/resources/views/auth/login.blade.php  
   creating: micro/resources/views/emails/
   creating: micro/resources/views/emails/auth/
 extracting: micro/resources/views/emails/auth/password.blade.php  
   creating: micro/resources/templates/
   creating: micro/resources/templates/errors/
 extracting: micro/resources/templates/errors/503.blade.php  
 extracting: micro/resources/templates/welcome.blade.php  

Next, move the micro directory into the /var/www/html directory

linuxhelp ~ # ls
micro  microweber-1.0.15.zip
linuxhelp ~ # mv micro /var/www/html/

Now, go to /var/www/html directory

linuxhelp ~ # cd /var/www/html/
linuxhelp html # ls
index.html  micro

Change the ownership and permission for the micro directory

linuxhelp html # chown -R www-data:www-data micro/
linuxhelp html # chmod -R 775 micro/

Configure virtual host for microweber cms. Create empty file named micro.conf

linuxhelp html # cd /etc/apache2/sites-available/
linuxhelp sites-available # vim micro.conf
< virtualhost *:80> 
servername  www.linuxhelp1.com
Documentroot  /var/www/html/icehrm
< Directory /var/www/html/icehrm> 
AllowOverride all
order allow,deny
allow from all
< /Directory> 
< /virtualhost> 

Enable the micro.conf file

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

After that, we have to make an entry to the hosts' file as follows

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

Restart the Apache web server

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


Configure the database setup as follows

And then set up the user admin credentials.

Now you will see the progression of the installation as follows

After the successful installation, you will see the admin dashboard as shown here.

with this, the method to install Microweber on Linuxmint-18.03 comes to an end.

Tag : Linux Mint
FAQ
Q
how extract download file in specific directory?
A
# tar -zxvf -d directory
Q
How to entry to the host file?
A
# /etc/hosts
Q
how to enable the rewite modules?
A
# a2enmod rewrite