Install phpora phpMyAdmin tarball

Source: Internet
Author: User

When installing Fedora, select all the components to be selected, including Appache, mysql, and php. But when we manage the database, it is easier to have a graphical interface, so we have installed phpMyAdmin on our own and it is easy to install.

PhpMyAdmin is a MySQL management tool that manages MySQL directly from the web.

Assume that the root directory of your web (web page storage) is/var/www/. Suppose that the web access to your host is like this: http: // 192.168.1.11/

You can install it to any sub-directory of/var/www/phpmyadmin.

Note that the directory name should only be known by the Administrator. Therefore, we assume it is/var/www/onlyyouknow.

A. download the latest phpMyAdmin program from the official website of phpMyAdmin.
Http://superb-east.dl.sourceforge.net/sourceforge/phpmyadmin/phpMyAdmin-2.11.3-all-languages.tar.gz

Download phpMyAdmin-2.11.3-all-languages.tar.bz2 to/var/www/
# Cd/var/www/
# Wget http://superb-east.dl.sourceforge.net/sourceforge/phpmyadmin/phpMyAdmin-2.11.3-all-languages.tar.gz

Of course, you can also go to your own windows machine, http://ubuntuone.cn and so on after editing and then upload to the web server

B. Decompress this file
# Tar zxvf phpMyAdmin-2.11.3-all-languages.tar.gz
Path/var/www/phpMyAdmin-2.11.3-all-languages

C. Modify the directory name/var/www/onlyyoukown.
# Mv/var/www/phpMyAdmin-2.11.3-all-languages/var/www/onlyyoukown

D. modify the configuration file.

1. find/libraries/config. default. PHP file (config. default. copy php to the phpmyadmin directory and rename it config. inc. php), the file has the following items (2-8) must be configured by yourself, windows with a WordPad (do not use Notepad, this is UTF8 encoding) for editing, in linux directly use vim to edit.

2. find $ cfg ['pmaabsoluteuri '] and modify the phpMyAdmin URL to be uploaded to the space.

For example, $ cfg ['pmaabsoluteuri '] = 'HTTP: // 192.168.1.11/onlyyouknow /';

3. Search for $ cfg ['servers'] [$ I] ['host'] = 'localhost'; (the default value is usually used, and there are exceptions. You do not need to modify the value)

  • 1
  • 2
  • Next Page

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.