: This article describes how to install and configure Nginx. if you are interested in the PHP Tutorial, refer to it. 1> install
I use VirtualBox + Ubuntu to install Nginx.
First, make sure that the following libraries are installed.
A. gcc
B. pcre regular expression library
C. zlib
D. openssl
I just manually installed the pcre library.
Sudo apt-get update sudo apt-get install libpcre3 libpcre3-devsudo apt-get install openssl libssl-dev *
Compile and install:
Cd src Directory./configuremakemake install
2> configure file
The configure file does a lot of background work.
'). AddClass ('pre-numbering '). hide (); $ (this ). addClass ('Has-numbering '). parent (). append ($ numbering); for (I = 1; I <= lines; I ++) {$ numbering. append ($ ('
'). Text (I) ;}; $ numbering. fadeIn (1700) ;}) ;}; script
The above introduces Nginx learning-installation and configuration, including some content, and hope to be helpful to friends who are interested in PHP tutorials.