CentOS6.5 build The phpMyAdmin management platform CentOSphpmyadmin
Lab requirement: Build a mysql graphics management tool on the server
Linux: CentOS6.5
1. simple deployment of LAMP platform
# Yum-y install httpd mysql-server php-mysql php-pdo
# Rpm-ivh php-mbstring-5.3.3-26.el6.x86_64.rpm // This package is not installed on the CD, you need to download it yourself
2. modify the httpd configuration file and start the service.
# Vim/etc/httpd/conf/httpd. conf
......
ServerName localhost. localdomain
......
DirectoryIndex index. php index.html
......
# Service httpd start
3. install the phpMyAdmin package
# Unzip phpMyAdmin-4.1.2-all-languages.zip-d/var/www/html // unzip to the website directory
# Cd/var/www/html/
# Mv phpMyAdmin-4.1.2-all-languages/phpmyadmin // renamed to facilitate login
# Cd phpmyadmin/
# Cp config. sample. inc. php config. inc. php // create the master configuration file
# Vim config. inc. php
......
17 $ cfg ['blowfish _ secret'] = 'jin123';/* you must fill in this for cookie auth! * /// Write a few characters at will
......
31 $ cfg ['servers'] [$ I] ['host'] = '192. 168.100.1 '; // local IP address
# If phpMyAdmin is not installed on the mysql server, you can enter the client IP address. However, you must first authorize the client to log on to the mysql service.
4. start the service
# Service mysqld start
# Service httpd restart
5. browser logon
Http: // 192.168.100.1/phpmyadmin