Ubuntu10.10 install JDK and Lamp

Source: Internet
Author: User
1. Install the jdk6sudo add-Apt-repository "Deb http://archive.canonical.com/lucid partner" sudo apt-Get updatesudo apt-Get install sun-java6-jdk
 
Then you need to set the default JavaProgramSudo Update-alternatives -- config Java follow the prompts to enter the corresponding options, specify as JDK 6

2. Install Lamp

Sudo apt-Get install tasksel

Task tag group

Sudo tasksel install lamp-Server

During installation, MySQL requires a password for the account, which is irrelevant to the operating system.


3. 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 and restart the computer http: // 127.0.0.1/PHPmyAdmin/to access 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.