You can install it by running the following command: apt-get install phpmyadmin -y During the installation, you will be asked to choose a web server as shown below: Select the Apache web server and click on the Ok button. Web hosting companies widely use it to enable users to manage databases. PhpMyAdmin helps the system administrator perform database activities such as creating, deleting, and querying databases, tables, columns, etc. This post will show how to install phpMyAdmin with Nginx on Ubuntu 22.04. Set up Environmentīefore installing phpMyAdmin, install MariaDB or MySQL database server and an Nginx web server. Install Nginx Web Serverįirst, follow the Nginx installation procedure to install the Nginx server web server. READ: Install LEMP Stack on Ubuntu 22.04 Install MariaDB / MySQL Server Let’s begin by updating the package lists and installing phpMyAdmin for Nginx on Ubuntu 20.04 / 20.10. Sudo apt update & sudo apt install phpmyadmin. Press y and ENTER when asked to continue. READ: Install MariaDB on Ubuntu 22.04 / Install MySQL on Ubuntu 22.04 Install PHP Then, install MariaDB or MySQL server by following the below tutorials for preparing your system for phpMyAdmin. sudo apt install -y php-fpm php-mysql php-json php-mbstring php-xml Install phpMyAdmin on Ubuntu 22.04 Next, install PHP and required extensions for phpMyAdmin. The phpMyAdmin package is available in the Ubuntu repository. But, the package available in it is a bit older version. So, we will download the latest version of phpMyAdmin from the official website. Then, extract phpMyAdmin using the tar command. Steps to install phpMyAdmin using PPA repository on Ubuntu 22.0420.04 1. tar -zxvf phpMyAdmin-5.2.Īnd then move the phpMyAdmin to the desired location. Well, we can install phpMyadmin by manually downloading and setting its files along with Apache on Ubuntu. Command to install phpMyAdmin on Ubuntu 20.04 22.04 LTS Configure Database (only for localhost): Select Apache or Lighttpd 4. However, it could be difficult for a few users to go through various steps to configure phpMyAdmin, instead of that we can automate its installation using the phpMyadmin repository on Ubuntu 20.04 LTS Focal Fossa. Check or Start the Web server on Ubuntu 20.04 5. sudo mv /usr/share/phpMyAdmin/ /usr/share/phpMyAdmin/ sudo mv phpMyAdmin-5.2.0-all-languages /usr/share/phpMyAdmin Set up phpMyAdminįirst, rename the phpMyAdmin’s sample configuration file for configuring the phpMyAdmin. Then, edit the configuration file to make a few changes. Generate a blowfish secret and update the below line with the generated secret in the configuration file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |