# 换成阿里源
wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo
# 安装编译环境
yum install -y gcc-c++ pcre pcre-devel zlib zlib-devel openssl openssl-devel
# 生成 MakeFile
./configure --prefix=/usr/local/nginx --with-http_v2_module
# 编译安装
make && make install
Tengine 编译安装
最新推荐文章于 2024-05-27 23:29:04 发布