After installing the Php,apache and MySQL programs, we need to install the phpMyAdmin program in order to manage the MySQL database. Here's how to install the phpMyAdmin program on CentOS.
1, Administrator root login system
2. Enter the website root directory (e.g./var/www/html)
Cd/var/www/html
3, download the latest version of the phpMyAdmin program (please go to http://www.phpmyadmin.net/home_page/downloads.php to download the latest version of the program):
wget http://nchc.dl.sourceforge.net/project/phpmyadmin/phpMyAdmin/3.3.10/phpMyAdmin-3.3.10-all-languages.tar.gz
4, decompression program compression package
Tar Xvfz phpmyadmin-3.3.10-all-languages.tar.gz
5. Move directory Phpmyadmin-3.3.10-all-languages to phpMyAdmin folder
MV Phpmyadmin-3.3.10-all-languages PhpMyAdmin
6. Enter the phpMyAdmin directory
CD phpMyAdmin
7. Copy the sample configuration file to the config.inc.php file
CP config.sample.inc.php config.inc.php
8. Edit the configuration file and modify it as follows
VI config.inc.php
The Modified code:
$cfg [' Servers '] [$i] [' auth_type '] = ' http '; # Default is Cookies
9. Restart Apache
Service httpd Restart
You can test access through http://your.domain.com/phpmyadmin/.
Linux CentOS phpMyAdmin Installation