![]() Ubuntu 20.04 and logged in user with sudo privileges.Before installing phpMyAdmin, make sure that you have met the following prerequisites for the installation. To install phpMyAdmin on Ubuntu 20.04, I have taken an AWS EC2 instance with Ubuntu 20.04 AMI. Step 2: Adjust Authentication and Privileges for phpMyAdmin.Step 1: Installing phpMyAdmin on Ubuntu.We can migrate your data over to our environment for free. Not getting the support you need? Liquid Web’s servers outmatch the competition on performance and support. Hit the ESC button and type :wq to save and quit. Open the /etc/phpmyadmin /nf file:Ĭomment out the line Alias /phpmyadmin /usr/share/phpmyadmin with a # (as pictured below) and add in your new URL you want to access your PhpMyAdmin instance. Visit (replacing with your server’s hostname or IP) to display a pop-up box where I will enter my username, tom, that I created in Step 3. If we read this file we will find that it has added this user and has encrypted their password: Htpasswd -c /etc/phpmyadmin/.htpasswd username I’m going to choose the username, tom, which we will use in Step 4. Replace the username in this example with the username of your choice. htpasswd file while simultaneously creating a user. Pasting the code below conveniently makes a. ![]() Afterward, save and exit by typing :wq and then hitting Enter ![]() Insert the code below into the file between the tags. You can add a layer of security to your PhpMyAdmin installation to prevent any unwanted guests. ![]() Like all applications and software that are popular, they expose points to exploit. For example īy default, the username is PhpMyAdmin and the password will be the one set in the very last screen of Step 2. Verify that PhpMyAdmin is working by visiting the_IP_of_your_server/PhpMyAdmin. Restart Apache 2 with the following command: Then exit and save the file with the command :wq. Step 3: Finish the Configuration of Apacheįor a refresher on editing files with vim see: New User Tutorial: Overview of the Vim Text EditorĪdd the following to the bottom of the file: In this third screen enter your administrative password this is also the MySQL root (admin) user password, hit enter to continue.įinally, at the fourth screen set the password you’ll use to log into PhpMyAdmin, hit enter to continue, and confirm your password. Then it’s a matter of just running one command for installation via apt-get:Īs the installation runs you’ll be asked a few simple questions regarding the basic configuration of PhpMyAdmin.Īt the first screen, select apache2 by using the space bar, then hit enter to continue.Īt the second screen, which asks “configure the database for PhpMyAdmin with dbconfig-common?”, select Yes, then hit enter to continue. If you’re working from a Liquid Web Core Managed Ubuntu 14.04 LTS server as I am, then the LAMP stack is already installed!įirst, you’ll follow a simple best practice: ensuring the list of available packages is up to date before installing anything new. A LAMP, Linux, Apache, MySQL, and PHP, must be installed and running on your server.I’ll be working from a Liquid Web Core Managed Ubuntu VPS server, logged in as root.These instructions are intended specifically for installing PhpMyAdmin on Ubuntu 14.04 LTS.In addition to offering the capability to perform administration tasks such as creating, editing, or deleting databases, and managing users and permissions, PhpMyAdmin provides a graphical user interface to do these tasks and more. PhpMyAdmin is an open-source tool used for the administration of MySQL.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |