Linux MintUbuntu Based

How To Install Adminer on Linux Mint 21

Install Adminer on Linux Mint 21

In this tutorial, we will show you how to install Adminer on Linux Mint 21. For those of you who didn’t know, Adminer (formerly phpMinAdmin) is a free and open-source database management tool written in PHP. It is designed to be lightweight and easy to use, and it supports a wide range of database management systems, including MySQL, MariaDB, PostgreSQL, SQLite, and Microsoft SQL Server.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of Adminer database management on Linux Mint 21 (Vanessa).

Prerequisites

  • A server running one of the following operating systems: Linux Mint 21 (Vanessa).
  • It’s recommended that you use a fresh OS install to prevent any potential issues.
  • SSH access to the server (or just open Terminal if you’re on a desktop).
  • A non-root sudo user or access to the root user. We recommend acting as a non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root.

Install Adminer on Linux Mint 21 Vanessa

Step 1. Before running the tutorial below, it’s important to make sure your system is up to date by running the following apt commands in the terminal:

sudo apt update
sudo apt install software-properties-common apt-transport-https wget ca-certificates gnupg2

Step 2. Installing the LAMP Server.

Before installing Adminer on your Linux Mint, a LAMP server is required. If you do not have LAMP installed, you can follow our guide here.

Step 3. Create a Database for Adminer.

The next step is to create a database for Adminer. So, log into the database server:

sudo mysql -u root -p

Now create a database and database user:

Mariadb [(none)])> CREATE DATABASE adminer_db;
Mariadb [(none)])> CREATE USER 'adminer_user'@'localhost' IDENTIFIED BY 'your-strong-passwd';
Mariadb [(none)])> GRANT ALL ON adminer_db.* TO 'adminer_user'@'localhost';
Mariadb [(none)])> FLUSH PRIVILEGES;
Mariadb [(none)])> EXIT;

Step 4. Installing Adminer on Linux Mint 21.

By default, Adminer is available on the Linux Mint 21 base repository. Now run the following command below to install the latest version of Adminer to your Linux Mint system:

sudo apt install adminer

Step 5. Configure Apache.

Now we configure Apache for Adminer using the following command below:

sudo a2enconf adminer

Next, restart Apache to apply the changes made:

sudo systemctl reload apache2

Step 6. Accessing Adminer Web Interface.

Once successfully installed, now open your favorite browser and navigate to http://your-ip-address/adminer and  you should get a page as shown:

Install Adminer on Linux Mint 21 Vanessa

Congratulations! You have successfully installed Adminer. Thanks for using this tutorial for installing the latest version of Adminer database management on the Linux Mint system. For additional help or useful information, we recommend you check the official Adminer website.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!

r00t

r00t is a seasoned Linux system administrator with a wealth of experience in the field. Known for his contributions to idroot.us, r00t has authored numerous tutorials and guides, helping users navigate the complexities of Linux systems. His expertise spans across various Linux distributions, including Ubuntu, CentOS, and Debian. r00t's work is characterized by his ability to simplify complex concepts, making Linux more accessible to users of all skill levels. His dedication to the Linux community and his commitment to sharing knowledge makes him a respected figure in the field.
Back to top button