Build the LAMP environment and release multiple virtual hosts to build the CMS-Red Rooster

Source: Internet
Author: User
Tags php website
All the website friends know that the website is ready to buy a Domain Name and space, which is what we call a virtual host. Publishing virtual hosts can be implemented on both windows and linux platforms. Today, we will work with you to install Apache by compiling and installing it on linux, mysql and PHP implement LAMP combination and release multiple php websites. Integer

All the website friends know that the website is ready to buy a Domain Name and space, which is what we call a virtual host. The release of virtual hosts can be implemented on both windows and linux platforms. Today, we will work with you to install Apache, Mysql, andPHPImplement LAMP combination and release multiplePhp.

The entire process is divided into four major steps:

Part 1: Compile and install Apache

Part 2: Install Mysql

Part 3: Compile and install PHP

Part 4: publish a PHP website (wordpress, zhimeng ,)

The following are four steps for implementation. (please correct me if you have any questions)

Part 1: Compile and install Apache

I have already written this part in detail in my previous blog. If you have any need, you can refer to it and no longer .. I will write from installing Mysql.

Part 2: Install Mysql

1. download the required software package

2,ExtractSoftware Package

3. Add a mysql user

4. initialize mysql

5. Modify the file-level Directory Permissions

6. Start the mysql database.

7. log on to the database for testing

8. Change the logon Database Password.

Part 3: Compile and install PHP

1. download the required software package

2. decompress the Software Package

3. configuration before Compilation

4. Compile make

5. install make install

6. Copy the PHP configuration file.

7. Configure Apache's support for PHP

8. Restart the Apache service to edit a simple PHP page and perform a test on the client.

Part 4: publish a PHP website (wordpress, zhimeng ,)

1. Publish Wordpress

2. Release dream dEdEcms

Not finished!

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.