Install the LAMP environment in Ubuntu 12.04

Source: Internet
Author: User

The LAMP (Linux-Apache-MySQL-PHP) website architecture is currently a popular Web framework, which includes: Linux operating system, Apache network server, MySQL DATA library, perl, PHP, or Python programming language. All components are open-source software and are internationally mature architecture frameworks. Many popular commercial applications adopt this architecture. Compared with the Java/J2EE architecture, LAMP features rich Web resources, lightweight, and fast development. compared with the NET architecture, LAMP has the advantages of common, cross-platform, high performance and low price. Therefore, LAMP is the preferred platform for enterprises to build websites, regardless of its performance, quality, and price.

Install the LAMP \ Vsftpd \ Webmin \ phpMyAdmin service and settings in Ubuntu 13.04

Compile and install LAMP in CentOS 5.9 (Apache 2.2.44 + MySQL 5.6.10 + PHP 5.4.12)

Source code for Web server architecture in RedHat 5.4 build the LAMP environment and application PHPWind

Build a WEB Server Linux + Apache + MySQL + PHP in the LAMP source code Environment

This article describes how to build a LAMP environment on a 64-bit Ubuntu 12.04 server.

Make sure that the package list is up-to-date

Sudo apt-get update

Install LAMP

Sudo apt-get install apache2 mysql-server mysql-client php5 php5-gd php5-mysql

During installation, you must set the MySQL root User Password, for example, "www.bkjia.com"

Apache Testing

Enter the Server IP address in the address bar of the browser. The following message is displayed, indicating that Apache is successfully installed.

Most LAMP operations are related to the/var/www directory. For convenience, modify the directory permission to be accessible by common users.

Sudo chmod 777/var/www/

Install phpmyadmin

PhpMyAdmin is a PHP-based MySQL database management tool that uses Web-based architecture on website hosts, allowing managers to use Web interfaces to manage MySQL databases.

Sudo apt-get install phpmyadmin

During installation, You must select Web server: apache2 or lighttpd and apache2.

Then, you are required to enter the Mysql database connection Password of the database's administrative user:

 

For more details, please continue to read the highlights on the next page:

  • 1
  • 2
  • Next 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.