Install lamp phpMyAdmin in Ubuntu

Source: Internet
Author: User
1. install Apache + PHP + MySql

System --> administration --> Synaptic Package Manager --> edit --> MARK packages by task --> lamp server --> OK
If it is a Chinese node, it is

System -- System Management -- New Software Package Manager-edit -- use task tag group software package --

Lamp server (check) -- return to the previous window and click application. At this time, the system will automatically download and install the lamp environment package, which will soon be completed, in addition, every time the system is upgraded, the lamp environment will be upgraded to the latest version. Click it. enter 127.0.0.1 in your browser and you will see it works! It indicates that Apach has started to work. At this time, you can look at some PHP programs under the var/WWW directory in the system file directory. As for PHP editing under Ubuntu, in fact, the editor is very easy to use with notepad. After all, they are all open-source and support better.

This is simple. Your lamp environment has been installed in this way. It is as simple as Wamp, but this is lamp. This may be the simplest installation method! Of course, there are also a few issues. You need to know how to set the permissions for the WWW directory. Otherwise, you cannot copy files to the WWW directory. Who makes Linux very secure! Well, you only need to use commands like chgrp chmod with the root permission to change it, but this frees you from the complicated Installation Process in the lamp environment. Do you think it is good?

2. Install phpMyAdmin

PhpMyAdmin is a good application for online MySQL management. You can install it like this:

Sudo apt-Get install phpMyAdmin

By default, it is stored in/etc/phpMyAdmin folder.

Add the following sentence to/etc/apache2/apache2.conf:

Include/etc/PHPmyAdmin/Apache. conf

Restart your computer
Http: // 127.0.0.1/PHPmyAdmin/
You can enter 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.