The simplest lamp configuration method for Ubuntu 11.04

Source: Internet
Author: User

This evening I really want to say 10 thousand million rough sentences. I did this lamp configuration one night, But I encountered permission issues and compilation problems. I am about to crash. Later, I searched for it on the search engine and finally found a very dummies configuration method:

 

First install lamp, a command:

 

Sudo apt-Get install apache2 PhP5 libapache2-mod-php5 mysql-server libapache2-mod-auth-mysql php5-mysql phpMyAdmin

 

(The above section allows you to install all the software you need !)

 

During this period, you are required to enter the root user password of the MySQL database, and select the server type [Apache] And phpMyAdmin.

 

Restart Apache after installation. Command: sudo/etc/init. d/apache2 restart

You also need to link the installed phpMyAdmin and run the command: ln-S/usr/share/phpMyAdmin under/var/www /.

Lamp has been installed.

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.