CentOS6.5 build phpMyAdmin management platform _ MySQL

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.