Breaking News
Home / How To / How to Install Microweber Website Builder on Debian 10

How to Install Microweber Website Builder on Debian 10

Microweber is a drag-and-drop web space and a powerful next-generation CMS. It is based on the PHP Laravel Framework. You can use Microweber to create all types of websites, web shops and blogs. The drag-and-drop technology lets you build your website without any technical knowledge.

The core of the software is to let you create your own website, webshop or blog. From this moment of creation, your journey towards success begins. Supporting you along the way will be various modules, customizations and functions in CMS. Many of them are especially tailored for e-commerce enthusiasts and bloggers.

The most important thing you need to know is that Microweber pairs the latest drag-and-drop technology, with a revolutionary real-time text printing and editing feature. This pair of features provides enhanced user experience, simpler and faster content management, a visually appealing environment and flexibility.

This tutorial shows how to install Microweber on a new Debian 1

0 (buster) system with Nginx as a web server and MariaDB as a database engine.


Requirements for installing and running Microweber are as follows:

  • PHP version 5.4 or higher with the following PHP extensions: gd2, mcrypt, xml, dom, json
  • Web server software such as Nginx or Apache.
  • MySQL version 5.0 or higher or MariaDB equivalent.
  • Composer.


  • Debian 10 (buster) operating system.
  • A non-root user with sudo privileges.

Initial steps

Check your Debian version:

  lsb_release -ds 
# Debian GNU / Linux 10 (buster) [19659017] Set time zone:

  sudo dpkg-reconfigure tzdata 

Update your operating system packages (software). This is an important first step as it ensures that you have the latest updates and security fixes for your operating system's standard software packages:

  sudo apt update && sudo apt upgrade -y 

Install some important packages necessary for basic administration of the Debian operating system :

  sudo apt install -y curl wget vim git unzip socat bash-finishing apt-transport-https 

Step 1 - Install PHP and necessary PHP extensions

Microweber web application requires PHP version 5.4 or higher. We can easily install newer PHP by using apt package manager on Debian 10.

Install PHP, as well as the necessary PHP extensions:

  sudo apt install -y php php-cli php-fpm php- common php-gd php-mbstring php-xml php-mysql php-pgsql php-sqlite3 php-zip php-soap php-xmlrpc 

To view PHP compiled in modules you can run:

   php - m 

. . .
. . .

Check PHP version:

  php --version 

# PHP 7.3.9-1 (cli) (built: April 13, 2019 7:05:48 PM) (NTS)
# Copyright (c) 1997-2018 PHP Group
# Zend Engine v3.3.4, Copyright (c) 1998-2018 Zend Technologies
# with Zend OPcache v7.3.4-2, Copyright (c) 1999- 2018, by Zend Technologies

PHP-FPM service is automatically started and activated upon restarting the Debian 10 system, so there is no need to start and activate it manually. We can move on to the next step where we will install the client and get SSL certificates.

Step 2 - Install the client and get Let & # 39; s Encrypt certificate (optional)

Securing your website with HTTPS is not necessary, but it is a good practice to secure your website traffic. To get a TLS certificate from Let & # 39; s Encrypt, we will use the client. is a simple UNIX shell software to obtain TLS certificates from Let & # 39; s Encrypt with zero dependencies.

Download and install su - root
git clone Neilpang /
./ --install --accountemail [email protected] source ~ / .bashrc
cd ~

Check version: --version 
# v2.8.2

Obtain RSA and ECC / ECDSA certificate for your domain / host name:

  # RSA 2048 - emission - standalone -d --keylength 2048
# ECDSA --issue - standalone -d example .com - key length ec-256

If you want fake certificates for testing, you can add - staging flag for the commands above.

After running the above commands, certificate and keys will be in:

  • For [1 9459022] RSA : / home / username / directory.
  • For ECC / ECDSA : /home/usname/example.com_ecc directory.

To list your issued certificates, you can run: --list 

Create a directory to store your certificates. We will use the directory / etc / letsencrypt .

  mkdir -p /etc/letsecnrypt/ Chapter19659049 ?? sudo mkdir -p /etc/letsencrypt/example.com_eccebrit19659017 ch uunit19459026] Install / copy certificate to    / etc / letsencrypt     .        

  # RSA --install-cert -d --cert-file / etc / letsencrypt / / cert.pem --key-file /etc/letsencrypt/ --fullchain-file /etc/letsencrypt/ --reloadcmd "sudo systemctl reload nginx.service "
# ECC / ECDSA --install-cert -d example. com --ecc --cert-file /etc/letsencrypt/example.com_ecc/cert.pem --key-file /etc/letsencrypt/example.com_ecc/private.key --fullchain-file / etc / letsencrypt / example. com_ecc / fullchain.pem --reloadcmd "sudo systemctl reload nginx.service"

All certificates are automatically renewed every 60 days.

After getting certificate exit from root user and returning to normal sudo user:


Step 3 - Install MariaDB and create a database

Install MariaDB: [19659016] sudo apt install -y mariadb server

Check version MariaDB :

  mysql --version 
# mysql Ver 15.1 Distrib 10.3.17-MariaDB, for debian-linux-gnu (x86_64) with readline 5.2

Run mysql_secure installation to improve MariaDB security and set password for MariaDB root user:

  sudo mysql_secure_installation 

Answer all questions:

  Do you want to set up VALIDAT PASSWORD plugin?  N 
New password: your_secure_password
Enter new password: your_secure_password
Remove anonymous users? [Y/n] Y
Remove root login remotely? [Y/n] Y
Delete the test database and access it? [Y/n] Y
Reload privilege tables now? [Y/n] Y

Connect to MariaDB shell as root user:

   sudo mysql -u root -p 
# Enter password
[19659018] Create an empty MariaDB database and users for Microweber and remember references:

  mariadb> CREATE DATABASE dbname; 
mariadb> GRANT ALL ON dbname. * TO & # 39; username & # 39; IDENTIFIED BY & # 39; mypassword & # 39 ;;

Replace the word mypassword with a secure password of your choice. Exit from MariaDB :

  mariadb> exit 

Replace dbname username and mypassword with your own names. [19659086] Step 4 - Install and configure NGINX

Download and install NGINX from the Debian repository:

  sudo apt install -y nginx 

Check NGINX version: [19659016] sudo nginx -v
# nginx version: nginx / 1.14.2

Run sudo vim /etc/nginx/sites-available/microweber.confebrit19459014] and fill the file with the following configuration: [19659092] server {

listen [::]: 443 ssl http2;
listen 443 ssl http2;
listen [::]: 80;
listen 80;
server name;

root / var / www / microweber;
index index.php;

client_max_body_size 100M;

ssl_certificate /etc/letsencrypt/;vud19459018vardssl_certificate_key /etc/letsencrypt/;?191991998## ECC
sslcert / letsenc .com_ecc / fullchain.pem; ebrit19459018 ?? ssl_certificate_key /etc/letsencrypt/example.com_ecc/private.key;ebrit19459018] location / {
try_files $ uri $ uri //index.php$is_args$args;

location ~ .php $ {
try_files $ uri = 404;
include fastcgi_params;
fastcgi_pass unix: /run/php/php7.3-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $ document_root $ fastcgi_script_name;


Enable the new microweber.conf configuration by linking the file to the sites-enabled directory:

  sudo ln -s / etc / nginx / sites-available / microweber.conf / etc / nginx / sites-enabled / 

Check NGINX syntax error configuration:

  sudo nginx -t 

Reload Nginx: [19659016] sudo systemctl reload nginx.service

Step 5 – Install Microweber

Create a document root directory where Microweber should reside in:

  sudo mkdir -p / var / www / microweber 

Navigate to the document root directory: [19659016] cd / var / www / microweber

Download the latest version of Microweber CMS and unpack it:

  sudo wget 
sudo unzip
sudo rm

Change ownership to / var / www / microweber to www-data:

  sudo chown -R www-data: www-data / var / www / microweber 

Open your domain name ( ) in your browser and follow the instructions. After installation, your admin panel URL will be at .

Step 6 – Finish installing Microweber

Open your web browser and type URL . You will be redirected to the following page where you must select a database engine of your choice. This tutorial uses MySQL / MariaDB. You can choose SQLite as the screenshot below shows:

  Database information

You can select MySQL database engine :

  Select MySQL server

Or PostgreSQL if you prefer:

  Or PostgreSQL [19659113] After the specified details have been entered, the Microweber installation is complete. To access Microweber admin add / admin to your URL. </p>
<p style=  Microweber Login

After login, here is what the Microweber dashboard will look like:

  Microweber dashboard

And here is the Microweber frontend … … todo:

  Microweber CMS [19659121Links</h2>
<script async src=
Source link