Install phpmyadmin GUI on kali linux

1.Test whethere already installed or not
apache2 -v && mysql -V && php -v
if show server version, mysql version, and php version,it installed. If not, go to my previos post(RUNNING PHP ON KALI) to get install.


2.Starting apache2 and mysql
service apache2 start && service mysql start


3.Change Password
mysql -h localhost -u root -p
In the Enter Password, just enter don’t type anything
set password for root@localhost = password(”);


4.Update and install
apt-get update


5.Install phpmyadmin
apt-get install phpmyadmin


6.Choose apache2 and type password which is previously set in the following dialog boxes


7.Configure phpmyadmin into apache2
7.1:Find apache config
find /etc -name apache.conf

7.2:Find apache2 config
find /etc -name apache2.conf

7.3:Include it
echo -e “\nInclude PATH1” >> PATH2
eg: echo -e “\nInclude /etc/phpmyadmin/apache.conf” >> /etc/apache2/apache2.conf


8.Browse http://localhost/phpmyadmin now


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s