Before working with phpMyAdmin, you need to have LAMP installed on your server. If you don't have the Linux, Apache, MySQL, PHP stack on your server, you can find the tutorial for setting it up here.
Install phpMyAdmin
In Debian and Ubuntu it simple.You can use apt-get for setup it.
# su - # apt-get install phpmyadminor
# sudo apt-get install phpmyadmin
if you enabled sudo
During the installation, phpMyAdmin will walk you through a basic configuration. Once the process starts up, follow these steps:
Select Apache2 for the server
Choose YES when asked about whether to Configure the database for phpmyadmin with dbconfig-common
Enter your MySQL password when prompted
Enter the password that you want to use to log into phpmyadmin
After the installation has completed, add phpmyadmin to the apache configuration.
# sudo Include /etc/phpmyadmin/apache.conf > /etc/apache2/apache2.conf
Restart apache2 Service.
# sudo /etc/init.d/apache2 restart
No comments:
Post a Comment