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!