phpmyadmin

Quick Links:
Installing phpMyAdmin in ubuntu (apache)
Installing phpMyAdmin in Centos (apache)

 

 

Installing phpmyadmin with apache:

Ubuntu:

apt-get install -y phpmyadmin && echo Include /etc/phpmyadmin/apache.conf >> /etc/apache2/apache2.conf && service apache2 restart

 

CentOS:

 yum install phpmyadmin

Then edit: /etc/httpd/conf/httpd.conf

Example:

vim /etc/httpd/conf/httpd.conf

Add the following to the bottom of the file:

<Directory "/usr/share/phpMyAdmin">
Order allow,deny
Allow from all
</Directory>

Now restart apache:

service httpd restart

In your browser go to:

x.x.x.x/phpmyadmin

Replacing x.x.x.x with the ip address of your server

DONE!

 

Please see my .htaccess guide for securing phpmyadmin