This host maintenance note, published on August 24, 2014, is titled "Installing LEMP on Debian". The actual environment and tools involved include PHP, MySQL, Apache, Nginx, Linux, and Debian.
Software and deployment conditions
Install the Nginx web server environment.
Domain and site configuration
This is used to store the files and logs of the corresponding website; similar creation applies to other domains. If an error occurs when starting Nginx, it needs to be resolved by referring to "Solving the Nginx startup port being in use error".
Parameters recorded in the original text
- Service TypesShared hosting
- Version history:Debian7, CentOS6, Debian 6
Matters mentioned in the article
- First, update the installation environment.
- Second, install the Nginx web server environment.
- Third, configure Nginx virtual hosts.
- Fourth, deploy FastCGI
- Fifth, install the MySQL database server.
Usage Environment
PHP, MySQL, Apache, Nginx, Linux, Debian.
Key points to check
Environmental verificationFirst, confirm the actual web server and PHP runtime environment used by the site. Command-line and website processes may use different configuration files; any changes should be verified through the website entry point.
Data verificationWhen databases are involved, the version, character set, and number of tables should be recorded, and it should be verified that the backup can be restored in an independent environment.