首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

Ubuntu Server装配Nginx

2012-12-18 
Ubuntu Server安装Nginx先安装build-essential引用sudo apt-get install build-essential再安装pcre引用wg

Ubuntu Server安装Nginx
先安装build-essential
引用sudo apt-get install build-essential

再安装pcre
引用
wget -c ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.12.tar.gz
tar -zxvf pcre-8.12.tar.gz
cd pcre-8.12
./configure
make
sudo make install

安装openssl
引用
sudo apt-get install openssl
sudo apt-get install libssl-dev


安装nginx
引用
wget -c http://nginx.org/download/nginx-1.0.0.tar.gz
tar -zxvf nginx-1.0.0.tar.gz
cd nginx-1.0.0
./configure --with-http_stub_status_module --with-http_ssl_module --with-http_realip_module --with-debug --with-http_gzip_static_module --add-module=../nginx_http_push_module-0.692
make
sudo make install

热点排行