Ubuntu10.10 install the Apache + MySQL + PHP Environment

Source: Internet
Author: User
Ubuntu10.10 is released as scheduled. On the second day after installation of 10.10, an Apache + MySQL + PHP environment is required for official business purposes. I installed ubuntu for the first time. Fortunately, everything went smoothly. Leave this article as a note. 1. Apache $ sudoapt-getinstallapache22, Mysql $ sudoapt-getinstallmysql-server3, PHP $ sudoapt-

Ubuntu 10.10 is released on schedule. On the second day after installation of 10.10, an Apache + MySQL + PHP environment is required for official business purposes. I installed ubuntu for the first time. Fortunately, everything went smoothly. Leave this article as a note.

1. Apache
$ Sudo apt-get install apache2

2. Mysql
$ Sudo apt-get install mysql-server

3. PHP
$ Sudo apt-get install php5

4. MySQL for Apache PHP (Communication template)
$ Sudo apt-get install libapache2-mod-auth-mysql
$ Sudo apt-get install php5-mysql

5. phpmyadmin
$ Sudo apt-get install phpmyadmin


During the installation process, mysql and others will prompt you to set the root password. (Remember www.linuxidc.com !)

After installation
1. Open http: // localhost and you can see
It works! Indicates that apache is running normally.

2. Enter sudo netstat-tap | grep mysql on the terminal.
Tcp 0 0 localhost. localdomain: mysql *: * LISTEN-indicates that mysql runs normally.

3. phpMyAdmin is automatically installed under/usr/share/phpMyAdmin.
Enter cp-r/usr/share/phpMyAdmin/var/www on the terminal to copy the phpmyadmin file to the www folder.
Open http: // localhost/phpmyadmin to open the mysql management interface.

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.