![]() ![]() If you have installed other web applications like WordPress on the same Ubuntu 18.04 server, then simply add /phpmyadmin after your domain name in the browser address bar. When installing phpMyAdmin, a configuration file is placed at /etc/apache2/conf-enabled/nf, which allows us to access phpMyAdmin via sub-directory. Sudo systemctl reload apache2 Step 2: Accessing phpMyAdmin from a Sub-directory sudo ln -s /etc/phpmyadmin/nf /etc/apache2/conf-available/nf You can fix it with the following commands. If this file doesn’t exist on your server, it’s likely that you didn’t select Apache web server in the phpMyAdmin setup wizard. etc/apache2/conf-enabled/nf: symbolic link to. If there’s no error in the installation process, you should see the following command output. Now run the following command to check if the /etc/apache2/conf-enabled/nf file exists. show grants for Īs you can see, user phpmyadmin has all privileges on database phpmyadmin. Then check the privileges of phpmyadmin user. You can use the following command to log into MariaDB server. If you are curious as I am, you can log into MariaDB and check what privileges phpmyadmin user has been granted. ![]() Once this step is done, a new database named phpmyadmin is created and the database user phpmyadmin has necessary privileges to manage this database. Then set a password for the phpmyadmin user in MariaDB/MySQL. In the next screen, select Yes to configure a database for phpMyAdmin with dbconfig-common. Then hit Tab key and Enter to confirm your choice. (An asterisk * indicates the item is selected). During the installation, it will prompt you to select a web server to configure. The above command will install all necessary dependencies including PHP7 extensions. so we can easily install it with the command below. PhpMyAdmin is included in Ubuntu 18.04 software repository. Step 1: Download and Install phpMyAdmin on Ubuntu 18.04 With that out of the way, let’s get started with installing phpMyAdmin. How to Install LAMP stack (Apache, MariaDB, PHP7.2) on Ubuntu 18.04 LTS.If not, please check out the following tutorial. ![]() It is assumed that you have already installed LAMP stack on Ubuntu 18.04. And if you need to set up phpMyAdmin with a domain name, I recommend buying domain names from NameCheap because the price is low and they give whois privacy protection for free. If you are looking for a VPS (Virtual Private Server), then you can create an account at Vultr via my referral link to get $50 free credit (for new users only). To follow this tutorial, you need a Ubuntu 18.04 OS running on your local computer or on a remote server.
0 Comments
Leave a Reply. |