Friday, May 27, 2016

How to install pMyAdmin - BACKTRACK 5


How to install pMyAdmin - BACKTRACK 5
Install Apache2




Backtrack 5 terminal open and Apache2 run
# /etc/init.d/apache2 start
or Install apache2
# apt-get install apache2
open browser and adress localhost or 127.0.0.1 and result get
It works!
This is the default web page for this server.
The web server software is running but no content has been added, yet.


-Install P5


open terminal
# apt-get install p5 libapache2-mod-p5
apache2 restart
# /etc/init.d/apache2 restart

-Check p5



command run terminal
# gedit /var/www/pinfo.p
past in pinfo.p
<? pinfo(); ?>
and save, openbrowser adress http://localhost/pinfo.p






-Install MySQL


command terminal
# apt-get install mysql-server libapache2-mod-auth-mysql p5-mysql
-Install pmyadmin



# apt-get install pmyadmin

# ln -s /usr/share/pmyadmin/ /var/www/pmyadmin
browser adress bar run localhost/pmyadmin - username default root, and your choose

Uninstall pMyAdmin
#apt-get --purge remove pmyadmin

No comments:

Post a Comment