CentOS 6.3 下编译Nginx(笔记整理)
生活随笔
收集整理的這篇文章主要介紹了
CentOS 6.3 下编译Nginx(笔记整理)
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
1. 安裝關聯(lián)程序
[root@localhost opt]# yum search gcc [root@localhost opt]# yum install gcc-c++ [root@localhost opt]# yum install make [root@localhost opt]# yum -y install zlib zlib-devel openssl openssl-devel pcre pcre-devel2. 下載Nginx
[root@localhost files]# tar -zxvf nginx-1.4.7.tar.gz3. 配置Makefire
[root@localhost nginx-1.4.7]# ./configure --prefix=/opt/nginx4. 編譯
[root@localhost nginx-1.4.7]# make5. 安裝
[root@localhost nginx-1.4.7]# make install
關于configure,make, make install參考筆記《理解configure,make,make install》
轉載于:https://www.cnblogs.com/timelyxyz/p/3633544.html
創(chuàng)作挑戰(zhàn)賽新人創(chuàng)作獎勵來咯,堅持創(chuàng)作打卡瓜分現(xiàn)金大獎總結
以上是生活随笔為你收集整理的CentOS 6.3 下编译Nginx(笔记整理)的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。