发布网友 发布时间:2022-04-21 15:44
共2个回答
热心网友 时间:2023-11-14 20:16
直接安装一个nginx的yum源文件。
一、安装 gzip
(1) 解压缩:zhutulang@ubuntu:~$ tar zxvf zlib-1.2.8.tar.gz -C /usr/local/development
(2) 安装:zhutulang@ubuntu:~$ cd /usr/local/development/zlib-1.2.8
zhutulang@ubuntu:/usr/local/development/zlib-1.2.8$ ./configure
zhutulang@ubuntu:/usr/local/development/zlib-1.2.8$ make
zhutulang@ubuntu:/usr/local/development/zlib-1.2.8$ sudo make install
二、安装 pcre
(1) 安装依赖包: zhutulang@ubuntu:~$ sudo apt-get install build-essential
(2) 解压缩 : zhutulang@ubuntu:~$ tar zxvf pcre-8.36.tar.gz -C /usr/local/development
(3) 安装 prce-devel: zhutulang@ubuntu:~$ yum install prce-devel
(4) 安装 pcre: zhutulang@ubuntu:~$ cd /usr/local/development/pcre-8.36
zhutulang@ubuntu:/usr/local/development/pcre-8.36$ ./configure
热心网友 时间:2023-11-14 20:16
参考:http://www.51ou.com/browse/Nginx/60668.html