How to install Adminer on Ubuntu 22.04

Adminer is a tool for managing content in databases. It natively supports MySQL, MariaDB, PostgreSQL, SQLite, MS SQL, Oracle, Elasticsearch and MongoDB. Adminer is distributed under Apache license in a form of a single PHP file.

Adminer (formerly phpMinAdmin) is a PHP-based, free, open source database management tool. It’s super simple to deploy on your server. To use it, all you have to do is upload its single PHP file, point your browser towards it, and log in

In this tutorial, i am going to show you how to install and uninstall and uninstall adminer on Linux ubuntu 22.04.

How to install Adminer on Ubuntu 22.04

Follow the below given steps to install and uninstall adminer on ubuntu 22.04:

  • Step 1 – Update System Dependencies
  • Step 2 – Install adminer
  • Step 3 – Enable configuration
  • Step 4 – Restart Apache Server
  • Step 5 – Test the installation
  • Step 6 – Uninstall Adminer

Step 1 – Update System Dependencies

Start a terminal and run the following command on the command line to update system dependencies:

sudo apt update 

sudo apt upgrade

Step 2 – Install adminer

Run the following command on command line to install adminer on linux ubuntu 22.04 system:

sudo apt install adminer

Step 3 – Enable configuration

Run the following command on terminal to enable the a2enconf configuration of adminer:

sudo a2enconf adminer.conf
## OR ##
sudo a2enconf adminer

Step 4 – Restart Apache Server

Runthe following command on command line to restart apache server:

sudo systemctl reload apache2

Step 5 – Test the installation

Open browser and hit the following url to access the Adminer app:

https://your-server-name/adminer/
https://your-server-ip/adminer/

Step 6 – Uninstall Adminer

Run the following command on command line to remove or uninstall adminer from ubuntu:

sudo apt remove adminer

Conclusion

Through this tutorial, i have shown to you how to install and uninstall adminer on Linux ubuntu 22.04.

Be First to Comment

Leave a Reply

Your email address will not be published.