ngnix-- cluster installation

A, nginx installation

Download the official website :

- installation 
. / The configure

Error:

 

- View mountable Library PCRE 
yum List | grep PCRE
 - installation support for regular 
yum - the y-install PCRE - devel
 - reinstall execution ngnix 
. / The configure

Error:

- View Library can be installed zlib 
yum List | grep zlib
 - installed compression support 
yum - the y-install zlib - devel
 - reinstall execution ngnix 
. / The configure - not being given 
the make - Installation

Successful installation: extract the start command user / local / nginx / sbin / ngnix,

 

 

 As can be seen from the log, Nginx mounted to the / usr / local / ngnix directory, the start command is / use / local / nginx / sbin / nginx

 

Guess you like

Origin www.cnblogs.com/wqff-biubiu/p/12583710.html