Replace your-server-ip-domain with the localhost (for local machines) or the system IP address for remote machines.
Please visit our tutorial if you prefer to install a more recent MariaDB version, such as 10.5 and 10.6. phpMyAdmin was created to easily interact with MySQL databases using a. Install MariaDB for Ubuntu 20.04 Firstly, you need to install MariaDB to create a database and username as follows: Click to Copy sudo apt install mariadb-server Note, this is an older version, with the default installation being version 10.3.
Http: // your-server-domain-ip / phpmyadmin In this video, we will see how to install and secure phpMyAdmin on Ubuntu 20.04. Now access phpMyAdmin with the server’s IP address or domain name. You have finished the setup with phpMyAdmin on the Ubuntu Linux system. Sudo firewall-cmd –permanent –add-service = http sudo firewall-cmd –reload Step 5 – Access phpMyAdminĪll ready. Run the following commands to open a port for the web server on the firewall. Sudo vi /etc/apache/conf-available/nf Step 4: adjust the firewall Dįirewall enabled systems must allow HTTP service from the firewall. Create the Apache configuration file for phpMyAdmin and edit it in the text editor: Installation Requirements phpMyadmin on Ubuntu 22.04 20.04 with Nginx Installed PHP7.4 Or PHP8 Installed MYSQL Percona 5.7 or Latest MYSQL Disable apache2. Now, you need to configure the web server to serve phpMyAdmin on the network. Mkdir / usr / share / phpmyadmin / tmp chown -R www-data: www-data / usr / share / phpmyadmin chmod 777 / usr / share / phpmyadmin / tmp Step 3: configure phpMyAdmin Then create tmp directory and set the appropriate permissions. Wget unzip phpMyAdmin-5.1.1-all-languages.zip mv phpMyAdmin-5.1.1-all-languages / usr / share / phpmyadmin Download the latest phpMyAdmin file from the official download page, or use the following commands to download phpMyAdmin 5.1.1 on your system.Īfter downloading, extract the file and move to the proper location. Your system is ready for the installation of phpMyAdmin. In this tutorial, we will download the latest phpMyAdmin and configure it on our system.
PhpMyAdmin is also available in the default package repository, but they mostly have an older version. Sudo systemctl enable apache2 sudo systemctl start apache2 Step 2: install phpMyAdmin on Ubuntu 20.04 5 Questions to Ask Before Signing Up for a Paid Online Course