Ubuntu+apache+mysql+phpmyadmin Server Installation Configuration

Source: Internet
Author: User
Keywords installation nbsp; Server password
Tags account password apache application configuration cost development group html

A group of open source software commonly used to build dynamic Web sites or servers is itself a separate program, but because it is often used together, it has become more and more compatible, together forming a powerful Web application platform. With the development of open source 8084.html "", the Open-source lamp has become pillars with Java EE and. NET commercial software, and the Software development project has low cost in software investment, so it is the focus of the whole IT industry.

If you are installing to the test on this machine, it is best to ensure that the contents of the hosts for this

Userhttp://www.aliyun.com/zixun/aggregation/11696.html ">name@ubuntu:~$ cat/etc/hosts
127.0.0.1 localhost

Install lamp

1. Careful manual installation Method (minimum component)

sudo apt install apache2 php5-mysql libapache2-mod-php5 mysql-server

Some are because the dependencies are automatically installed, but for insurance purposes, they are more than a dozen. The start of the installation is sudo will ask you the password (only possible), this is the system administrator's password. In the installation of MySQL required to set the account password, this is the operating system does not matter with the account and password.

2. Lazy Installation Method

Select Edit in the new Package Manager--use Task Group tag Package

Check the LAMP SERVER in the open window and determine.

Click the Green Checkmark Application button in the main window

All right. The next step is to wait ... Waiting for the new automatic download installation finished. In the installation of MySQL required to set the account password, this is the operating system does not matter with the account and password.

sudo apt install apache2 mysql-server php5 php5-mysql #终端命令

Open http://localhost

Apache default 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.