Tips to get phpMyAdmin on Ubuntu 20.04 LTS

Tips to get phpMyAdmin on Ubuntu 20.04 LTS

Hello Geeky, so today we are focusing on How to get phpMyAdmin on Ubuntu 20.04 LTS. So please read this tutorial carefully so you may comprehend it in a better helpful way.

Guide: How to get phpMyAdmin on Ubuntu 20.04 LTS

The best web-based client for access to MySQL servers is phpMyadmin. It is available for download and installation on your server free of charge. This can be hosted on any server that supports Apache and PHP.

PHP is used to create phpMyAdmin. PHP 7.1 and newer, as well as MySQL 5.5 or MariaDB 5.5 or newer, supported by the current phpMyAdmin version.

This guide will show you how to install and configure phpMyAdmin on a Linux operating system running Ubuntu 20.04.

Step 1 – Install Apache and PHP

We suppose you have already installed MySQL server on Ubuntu. So just install the other plugins you need to run and access phpMyAdmin.

sudo apt install apache2 wget unzip sudo apt install php php-zip php-json php-mbstring php-mysql

Once the installation is complete, activate and start the Apache web server.

sudo systemctl bring apache2 sudo systemctl start apache2

Step 2 – Install phpMyAdmin on Ubuntu 20.04

phpMyAdmin is also under repository for default packages but most of them have an older version. In this tutoriala will download the latest phpMyAdmin and configure it on our system.

Your system is ready for the phpMyAdmin installation. Download the latest phpMyAdmin document from the official download page, or use the commands below to install phpMyAdmin 5.1.1 on your device.

See also  How To Display Current Date in Google Sheets

After the release process and move to a better position.

wget unzip mv phpMyAdmin-5.1.1-all / usr / share / phpmyadmin

Next, create tmp directory and set proper permissions.

mkdir / usr / share / phpmyadmin / tmp chown -R www-data: www-data / usr / share / phpmyadmin chmod 777 / usr / share / phpmyadmin / tmp

Step 3 – Configure phpMyAdmin

Now, you need to configure the web server to serve phpMyAdmin on the network. Create an Apache configuration file for phpMyAdmin and edit it in the text editor:

sudo vi /etc/apache/conf-available/phpmyadmin.conf

Step 4 – Repair FirewallD

Systems with active firewalls need to allow HTTP service from the firewall. Run the commands below to open a port for a web server in the firewall.

sudo firewall-cmd –permanent –add-service = http sudo firewall-cmd –reload

Step 5 – Access phpMyAdmin

All done. You have completed the setup with phpMyAdmin on Linux Ubuntu system. Now log in to phpMyAdmin with the server IP address or domain name.

http: // your-server-ip-domain / phpmyadmin

Replace your ip-server with localhost (for local devices), or system IP address for remote devices. I updated our DNS and referred to the server IP address.

Log in with the username and password used to access MySQL on the command line


Guide about How to get phpMyAdmin on Ubuntu 20.04 LTS

In this guide, we told you about the How to get phpMyAdmin on Ubuntu 20.04 LTS; please read all steps above so that you understand How to get phpMyAdmin on Ubuntu 20.04 LTS in case if you need any assistance from us, then contact us.

How this tutorial or guide assisting you?

So in this guide, we discuss the How to get phpMyAdmin on Ubuntu 20.04 LTS, which undoubtedly benefits you.

Final note

I hope you like the guide How to get phpMyAdmin on Ubuntu 20.04 LTS. In case if you have any queries regards this article/tutorial you may ask us. Also, please share your love by sharing this article with your friends and family.

See also  Tips to Make Swap File on Linux
Trickbugs: Get the latest Trick and Tips
Enable registration in settings - general