After Apache + MySQL + PHP is installed in linux, phpMyAdmin is an excellent database management software.
1. Extract
// Because the current server software is installed under/opt/, which are/opt/apache,/opt/mysql,/opt/php, therefore, the root directory of the current server is/opt/apache/htdocs. my phpmyadmin-2.7.0.tar.gz was put in the/myfile/phpmyadmin/directory.
# Cp/myfile/phpmyadmin/phpMyAdmin-2.7.0.tar.gz/opt/apache/htdocs
# Cd/opt/apache/htdocs
# Tar zxvf phpMyAdmin-2.7.0.tar.gz
# Cd phpMyAdmin-2.7.0
# Vi config. default. php
Then press I:
$ Cfg ['servers'] [$ I] ['auth _ type'] = 'config ';
// If your machine is a server on the network, change this item to the following sentence.
$ Cfg ['servers'] [$ I] ['auth _ type'] = 'http ';
// Set the following configuration lines
$ Cfg ['servers'] [$ I] ['Password'] = '';
// Change the value to the root password of Mysql.
$ Cfg ['servers'] [$ I] ['Password'] = 'yourmysqlrootpassword ';
Press the "Esc" key and enter: wq! Save and exit.
2. Restart Apache and Mysql servers.
#/Opt/apache/bin/apachectl restart
#/Opt/mysql/share/mysql. server restart
3. Open the browser
Http://localhost/phpMyadmin-2.7.0/index. php
The phpmyadmin interface is displayed, so that your phpmyadmin is successfully installed!