Lamp Environment Construction

Source: Internet
Author: User

LAMP is linux apache MySQL php shorthand, in fact, is the Apache, MySQL and PHP installed on the Linux system, to form an environment to run the PHP scripting language.

Apache is the most commonly used Web services software, and MySQL is a relatively small database software, both software and PHP can be installed on the Windows machine. Here's how to start building this lamp environment.


One. Install MySQL

We usually install MySQL is the source package installed, but because it takes a long time to compile. Therefore, it is recommended that you install the binary-free compiler package.

you can go to the MySQL official website to download http://dev.mysql.com/downloads/

Specific version according to your platform and requirements, currently more commonly used for mysql-5.0/mysql-5.1, 5.5 version although has been released for some days, but seemingly with the online running service is still a few.

Therefore, you can use the following address to download:

mirrors.sohu.com/mysql/

note, what kind of model will be the corresponding version, 64-bit to the next 64-bit, 32-bit will be under 32!


1. Download MySQL to/usr/local/src/

Command 1:wget http://www.lishiming.net/data/attachment/forum/ Mysql-5.1.40-linux-i686-icc-glibc23.tar.gz (32-bit)

Command 2:wget http://syslab.comsenz.com/downloads/linux/mysql-5.1.40-linux-x86_64- Icc-glibc23.tar.gz (64-bit)

2. Unzip

Command:tar zxvf/usr/local/src/mysql-5.1.40-linux-i686-icc-glibc23.tar.gz

3. Move the extracted data to the/usr/local/mysql

Command:mv Mysql-5.1.40-linux-i686-icc-glibc23/uer/local/mysql

4. Build MySQL Users






This article from "Samoyed sadness" blog, declined reprint!

Lamp Environment Construction

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.