Install MyWebSQL on Ubuntu 18.04

In this tutorial, we will show you how to set up MyWebSQL on Ubuntu 18.04 server. MyWebSQL is a free and open-source web-based WYSIWYG client for managing the databases on your server. It provides a simple and intuitive interface with the look and feel of a desktop application. This PHP-based application offers a rich feature set and plenty of tools for database management. It can work with the most popular database types, such as MySQL, PostgreSQL, and SQLite databases. With its fast and attractive web interface, it is a very good alternative to the popular phpMyAdmin.

Here are some of the most important features:

  • Multiple Syntax highlighted SQL editors
  • WYSIWYG Table creator/editor
  • Quick Inplace multi-record editing
  • Desktop application look and feel
  • Excellent support for all major browsers
  • Zero configuration installation
  • Multilingual Interface with themes support
  • Supports MySQL, PostgreSQL and SQLite databases
  • Import database script, export database, tables or results to multiple formats

The installation of MyWebSQL is very fast and easy. No additional configuration is required, and it works with all major web browsers right out of the box.

Requirements:

  • For the purposes of this tutorial, we will be using an Ubuntu 18.04 VPS.
  • You will also need a working LAMP or LEMP (Linux, Apache/Nginx, MySQL, PHP) stack. Our Ubuntu 18.04 VPS already comes pre-installed with a fully configured LAMP stack. However, if you do not have any web hosting stack installed on your VPS, we will also show you how to do this as a part of this tutorial.
  • Full SSH root access or a user with sudo privileges is also required.

Step 1: Connect to your server

Before we begin,  you need to connect to your server via SSH as the root user. To do this, use the following command:

ssh root@IP_ADDRESS -p PORT_NUMBER

and replace IP_ADDRESS and PORT_NUMBER with your actual server IP address and SSH port number.

Once logged in, make sure that your server is up-to-date by running the following commands:

sudo apt update
sudo apt upgrade

Step 2: Install LAMP

In this section, we will show you how to install the LAMP stack on your VPS. If you already have LAMP/LEMP installed you can skip this part and proceed with the next step of the tutorial.

First, let’s install the Apache web server. We can do this by running the following command:

apt install apache2

After the installation is completed, start Apache and enable it to start automatically after a reboot with: