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

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.

Prerequisites

  • 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 

ctyp
curl
exif
Fileinfo
. . .
. . .

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 acme.sh client and get SSL certificates.

Step 2 - Install the acme.sh 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 acme.sh client. Acme.sh is a simple UNIX shell software to obtain TLS certificates from Let & # 39; s Encrypt with zero dependencies.

Download and install acme.sh:vud19659016??sudo su - root
git clone https://github.com/ Neilpang / acme.sh.git
cd acme.sh
./ acme.sh --install --accountemail [email protected] source ~ / .bashrc
cd ~

Check acme.sh version:

  acme.sh --version 
# v2.8.2

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

  # RSA 2048 
acme.sh - emission - standalone -d example.com --keylength 2048
# ECDSA
acme.sh --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 / example.com directory.
  • For ECC / ECDSA : /home/usname/example.com_ecc directory.

To list your issued certificates, you can run:

  acme.sh --list 

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

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

  # RSA 
acme.sh --install-cert -d example.com --cert-file / etc / letsencrypt / example.com / cert.pem --key-file /etc/letsencrypt/example.com/private.key --fullchain-file /etc/letsencrypt/example.com/fullchain.pem --reloadcmd "sudo systemctl reload nginx.service "
# ECC / ECDSA
acme.sh --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:

  exit 

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 ;;
mariadb> FLUSH PRIVILEGES;

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 example.com;

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

client_max_body_size 100M;

# RSA
ssl_certificate /etc/letsencrypt/example.com/fullchain.pem;vud19459018vardssl_certificate_key /etc/letsencrypt/example.com/private.key;?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 https://download.microweberapi.com/ready/core/microweber-latest.zip 
sudo unzip microweber-latest.zip
sudo rm microweber-latest.zip

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

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

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

Step 6 – Finish installing Microweber

Open your web browser and type URL http://example.com . 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>
</div>
<script async src=
Source link