Linux CentOS phpMyAdmin Installation

Source: Internet
Author: User

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

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.