Home >Backend Development >PHP Tutorial >ubuntu source code installation nginx
1. Install the required libraries sudo apt-get install libpcre3 libpcre3-dev libpcrecpp0 libssl-dev zlib1g-dev
2. Download the source code and unzip it
http://nginx.org/download/
3. Compile and install ./configure --prefix=/usr/local/nginx-1.8.0
sudo make && sudo make install
The above introduces the ubuntu source code installation nginx, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.