ubuntu编译nginx

安装 pcre
sudo apt-get install build-essential

wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.36.tar.gz

./configure
make
sudo make install
sudo apt-get install libtool

sudo apt-get install libssl-dev
sudo /usr/local/nginx/sbin/nginx

发表评论