12-Week Lesson (April 23)
12.1 Lnmp Architecture Introduction
12.2 MySQL Installation
12.3/12.4 PHP Installation
12.5 Nginx Introduction
Extended
Why Nginx is more efficient than Apache httpd: Principle Article http://www.toxingwang.com/linux-unix/linux-basic/1712.html
Apache and Nginx working principle comparison http://www.server110.com/nginx/201402/6543.html
Comparison of mod_php and mod_fastcgi and PHP-FPM http://dwz.cn/1lwMSd
Concept understanding: cgi,fastcgi,php-cgi and PHP-FPM http://www.nowamagic.net/librarys/veda/detail/1319/https://www.awaimai.com/371.html
12.1 Lnmp Architecture Introduction
12.2 MySQL Installation
The MySQL package has been downloaded before
Download in r.aminglinux.com. Version may be updated. Download the latest version.
Check to see if MySQL is booting. If it starts, remove it.
Enter the SRC directory and all the downloaded packages are placed here for easy searching.
Download, unzip.
local/cannot have MySQL directory before MV
Previously created users and increased Mys users
Delete the previously created.
Initialize and generate the required directories.
Copy the configuration file that was previously copied.
Specify Datadir,socket
Edit the Startup
Specify Basedir DataDir
Start the service
To see if it started successfully
12.3 PHP Installation (top)
Empty the previously compiled file
After installation, compile again.
Make
Make install
12.3 php installation (bottom)
Modifying a configuration file
12.5 Nginx Introduction
The software developed by the Russians, the following is the official website of Nginx.
Linux 12 week Lesson (April 23) Notes