Webmin is a very popular opensource free web hosting panel. It comes with lots of features. However, it does not come up with PHPMyAdmin.
Here we are going to install Phpmyadmin on the Webmin server panel.
Step 1: Log into your server using Putty SSH client.
Step 2: Put the following command to the command prompt.
apt-get install phpmyadmin
Here a configuring Phpmyadmin dialog will appear. Select Ok and hit the enter button.
Step 3: Here you need to choose Apache or Lighttpd. Whatever you like you choose. I personally prefer Apache.
Step 4: Enter your own password for Mysql root user and enter it.
Step 5: Now open http://your-domain.tld/phpmyadmin/ in a browser. You will be able to access PHPMyAdmin. Enter your username as root and your password you have set during the installation process and hit enter.
Note: Here you can only be allowed to access the PHPMyAdmin page using the only HTTP protocol. To use https or SSL protocol you need to set code at .config.inc.php page. Here you go.
Step 6: Use the following command to edit the .config.inc.php page using nano.
Enter the following code at the last of that page.
$cfg['ForceSSL'] = true;
Step 7: Navigate the /etc/apache2/sites-enabled folder using putty.
Step 8: Link the default default-ssl.conf to apache using the following command.
ln -s /etc/apache2/sites-available/default-ssl.conf
Step 9: Now restart your server
sudo service apache2 restart
Now you can use the Phpmyadmin page on Webmin panel. Thank You. Good Luck.
1 thought on “Install PHPMyAdmin on Webmin [Easy Steps]”