How to install Microweber Website Builder on Debian 10

How to install Microweber Website Builder on Debian 10

Microweber is a drag-and-drop website builder and a powerful next-generation CMS. It is based on the PHP Laravel framework. You can use Microweber to make any type of website, online store and blog. Drag and drop technology allows you to build websites without any technical knowledge.

The core idea of ​​this software is to let you create your own website, online store or blog. From this moment of creation, your journey to success begins. The different modules, customizations and functions of the CMS will support you along the way. Many of them are tailor-made for e-commerce enthusiasts and bloggers.

The most important thing you need to know is that Microweber combines the latest drag-and-drop technology with revolutionary real-time text writing and editing capabilities. This pair of features provides a better user experience, easier and faster content management, an appealing environment and flexibility.

This tutorial will show you how to install Microweber on a new Debian 10 (buster) system with Nginx as the web server and MariaDB as the database engine.


The requirements for installing and running Microweber are as follows:

  • PHP 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 equivalent MariaDB.
  • composer.


  • A Debian 10 (destructive) operating system.
  • Non-root user with the following permissions sudo privilege.

Preliminary steps

Check your Debian version:

lsb_release -ds# Debian GNU/Linux 10 (buster)

Set time zone:

sudo dpkg-reconfigure tzdata

Update your operating system package (software). This is an essential first step because it ensures that you have the latest updates and security fixes for the operating system’s default packages:

sudo apt update && sudo apt upgrade -y

Install some basic packages that are required for basic management of the Debian operating system:

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

Step 1-install PHP and necessary PHP extensions

Microweber web applications require PHP 5.4 or higher. We can easily install updated PHP by using the apt package manager on Debian 10.

Install PHP and required 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 display PHP compiled in the module, run:

php -mctypecurlexiffileinfo. . .. . .

Check PHP version:

php --version# PHP 7.3.9-1 (cli) (built: Apr 13 2019 19:05:48) ( NTS )# Copyright (c) 1997-2018 The 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

The PHP-FPM service starts automatically on Debian 10 systems and is enabled on restart, so there is no need to manually start and enable it. We can move on to the next step, in this step we will install the client and obtain an SSL certificate.

Step 2-Install the client and obtain the “Let’s Encrypt” certificate (optional)

There is no need to protect your website using HTTPS, but it is a good practice to protect your website traffic. In order to obtain a TLS certificate from Let’s Encrypt, we will use the client. is a simple UNIX shell software for obtaining TLS certificates from Let’s Encrypt with zero dependencies.

Download and install

sudo su - rootgit clone ./ --install --accountemail [email protected]source ~/.bashrccd ~

Check the version: --version# v2.8.2

Gain RSA with ECC / ECDSA Your domain / hostname certificate:

# RSA --issue --standalone -d --keylength 2048# --issue --standalone -d --keylength ec-256

If you want to test with a fake certificate, you can add --staging Mark the above command.

After running the above command, your certificate and key will be located at:

  • For RSA: /home/username/ table of Contents.
  • For ECC / ECDSA: /home/username/example.com_ecc table of Contents.

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

Create a directory to store your certificates. We will use /etc/letsencrypt table of Contents.

mkdir -p /etc/letsecnrypt/example.comsudo mkdir -p /etc/letsencrypt/example.com_ecc

Install / copy the certificate to the / etc / letsencrypt directory.

# --install-cert -d --cert-file /etc/letsencrypt/ --key-file /etc/letsencrypt/ --fullchain-file /etc/letsencrypt/ --reloadcmd "sudo systemctl reload nginx.service"# ECC/ --install-cert -d --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 will be automatically renewed every 60 days.

After obtaining the certificate, exit from the root user and return to the regular sudo user:


Step 3-install MariaDB and create database

Install MariaDB:

sudo apt install -y mariadb-server

Check MariaDB version:

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

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

sudo mysql_secure_installation

Answer each question:

Would you like to setup VALIDATE PASSWORD plugin? NNew password: your_secure_passwordRe-enter new password: your_secure_passwordRemove anonymous users? [Y/n] YDisallow root login remotely? [Y/n] YRemove test database and access to it? [Y/n] YReload privilege tables now? [Y/n] Y

Connect to MariaDB Shell as root user:

sudo mysql -u root -p# Enter password

Create an empty MariaDB database and user for Microweber and remember the credentials:

mariadb> CREATE DATABASE dbname;mariadb> GRANT ALL ON dbname.* TO 'username' IDENTIFIED BY 'mypassword';mariadb> FLUSH PRIVILEGES;

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

mariadb> exit

Replace dbname, username with mypassword Use your own name.

Step 4-install and configure NGINX

Download and install NGINX from the Debian repository:

sudo apt install -y nginx

Check NGINX version:

sudo nginx -v# nginx version: nginx/1.14.2

Run sudo vim /etc/nginx/sites-available/microweber.conf And populate the file with the following configuration:

server {

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

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

  client_max_body_size 100M;
  # RSA  ssl_certificate /etc/letsencrypt/;  ssl_certificate_key /etc/letsencrypt/;  # ECC  ssl_certificate /etc/letsencrypt/example.com_ecc/fullchain.pem;  ssl_certificate_key /etc/letsencrypt/example.com_ecc/private.key;
  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;


Activate new microweber.conf By linking the file to sites-enabled table of Contents:

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

Check the NGINX configuration for syntax errors:

sudo nginx -t

Reload Nginx:

sudo systemctl reload nginx.service

Step 5-install Microweber

Create the document root directory where Microroot should reside:

sudo mkdir -p /var/www/microweber

Navigate to the document root:

cd /var/www/microweber

Download the latest version of Microweber CMS and unzip it:

sudo wget unzip microweber-latest.zipsudo rm

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

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

Open your domain ( And follow the instructions. After installation, your admin panel URL will be located at

Step 6-complete Microweber installation

Open your web browser and enter the URL You will be redirected to the following page where you will need to select the required database engine. This tutorial uses MySQL / MariaDB. You can choose SQLite as shown in the following screenshot:

You can choose the MySQL database engine:

Select MySQL server

Or PostgreSQL (if you like):

Or PostgreSQL

After entering the required details, Microweber installation is complete. To access the Microweber administrator, append / admin to your website URL.

Microweber login

After logging in, here is what the Microweber dashboard looks like:

Microweber dashboard

This is the Microweber front end … Things to do:

Microweber CMS