How to Install Microweber Website Builder on Debian 10

Microweber is a drag and drop website builder and a powerful next-generation CMS. It's based on the PHP Laravel Framework. You can use Microweber to make any kind of website, online store, and blog. The drag and drop technology allows you to build your website without any technical knowledge.

The core idea of the software is to let you create your own website, online shop or blog. From this moment of creation, your journey towards success begins. Supporting you along the way will be different modules, customizations, and features of the CMS. Many of them are specifically 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 Writing and Editing feature. This pair of features deliver improved user experience, easier and quicker content management, a visually appealing environment, and flexibility.

This tutorial will show you how to install Microweber on a fresh Debian 10 (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 like Nginx or Apache.
  • MySQL version 5.0 or higher or MariaDB equivalent.
  • Composer.


  • A 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)

Set up the timezone:

sudo dpkg-reconfigure tzdata

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

sudo apt update && sudo apt upgrade -y

Install some essential packages that are necessary for basic administration 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 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 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 show PHP compiled in modules, you can run:

php -m

. . .
. . .

Check the 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

PHP-FPM service is automatically started and enabled on reboot on the Debian 10 system, so there is no need to start and enable it manually. We can move on to the next step where we will install client and obtain SSL certs.

Step 2 - Install client and obtain Let's Encrypt certificate ( optional )

Securing your site with HTTPS is not necessary, but it is a good practice to secure your site traffic. To obtain a TLS certificate from Let's Encrypt we will use client. is a simple UNIX shell software for obtaining TLS certificates from Let's Encrypt with zero dependencies.

Download and install

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

Check version: --version
# v2.8.2

Obtain RSA and ECC/ECDSA certificates for your domain/hostname:

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

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

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

  • For RSA: /home/username/ directory.
  • For ECC/ECDSA: /home/username/example.com_ecc directory.

To list your issued certs you can run: --list

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

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

Install/copy certificates to /etc/letsencrypt directory.

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

After obtaining certs exit from root user and return to regular sudo user:


Step 3 - Install MariaDB and create a database

Install MariaDB:

sudo apt install -y mariadb-server

Check the 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 the password for MariaDB root user:

sudo mysql_secure_installation

Answer each of the questions:

Would you like to setup VALIDATE PASSWORD plugin? N
New password: your_secure_password
Re-enter new password: your_secure_password
Remove anonymous users? [Y/n] Y
Disallow root login remotely? [Y/n] Y
Remove test database and access to it? [Y/n] Y
Reload privilege tables now? [Y/n] Y

Connect to MariaDB shell as the 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';

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.

Step 4 - Install and configure NGINX

Download and install NGINX from the Debian repository:

sudo apt install -y nginx

Check the 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;
server_name; root /var/www/microweber; index index.php; client_max_body_size 100M;
ssl_certificate /etc/letsencrypt/;
ssl_certificate_key /etc/letsencrypt/;
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 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 configuration for syntax errors:

sudo nginx -t

Reload Nginx:

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:

cd /var/www/microweber

Download the latest version of Microweber CMS and unzip it:

sudo wget
sudo unzip
sudo rm

Change ownership of the /var/www/microweber directory to www-data:

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

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

Step 6 - Finish the Microweber installation

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

Database details

You can select the MySQL database engine:

Select MySQL server

Or PostgreSQL if you prefer it:

Or PostgreSQL

After entering the requested details Microweber installation is completed. To access Microweber admin append /admin to your website URL.

Microweber Login

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

Microweber dashboard

And here is the Microweber frontend......todo:

Microweber CMS

Share this page:

Suggested articles

2 Comment(s)

Add comment


By: Enrique García at: 2020-07-06 01:19:28

Hi, I will try this after use "The Perfect Server - Debian 10 (Buster) with Apache, BIND, Dovecot, PureFTPD and ISPConfig 3.1", have some doubts:

- The step 2 is need it?

- In step 4, the configuration of apache2 is equal to gnix?

- In step 4, makes reference to the files RSA & ECC files, where are located if  the Perfect guide mentioned, was used.

- Do you have more hints for this?



By: till at: 2020-07-06 07:15:48

This guide is not suitable to be used on a perfect server system, it would destroy your existing setup. On a perfect server, you don't need all these steps. Simply create a website in ispconfig and a database using ISPConfig UI, then download Microweber into the web folder of the website and open the URL in the browser and follow the instructions.