[alibaba/tengine]什么时间可以提供yum源安装

2024-05-15 867 views
5

什么时间可以提供yum源安装

回答

8

嗯。参考nginx的rpm包制作了一个。参考下tengine

8

Tengine 可通过 RPM 安装免费获得,作为 GetPageSpeed 的 NGINX Extras 的一部分。对于 CentOS/RHEL 6、7 或 Amazon Linux 2,请按照说明进行操作:

sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm
sudo yum -y install yum-utils
sudo yum-config-manager --enable getpagespeed-extras-tengine
sudo yum -y install tengine

或者,对于 CentOS/RHEL 8:

sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install dnf-plugins-core
sudo dnf config-manager --enable getpagespeed-extras-tengine
sudo dnf -y install tengine

与 SELinux 兼容,所有服务/名称都是 nginx 的,例如以systemctl start nginx.

CentOS/RHEL 8 上最新构建包的示例nginx -V生成:

Tengine 版本:Tengine/2.3.3 nginx 版本:nginx/1.18.0 由 gcc 8.3.1 20191121 (Red Hat 8.3.1-5) (GCC) 构建,使用 OpenSSL 1.1.1g FIPS 2020 年 4 月 21 日构建(使用 OpenSSL 1.1 运行) .1 FIPS 2018 年 9 月 11 日)TLS SNI 支持启用配置参数: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/usr/lib64/nginx/modules -- conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log -- pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http- proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-compat --with-file-aio --with-threads --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-mail --with-mail_ssl_module --with-stream --with-stream_realip_module --with-stream_ssl_module --with-stream_ssl_preread_module --with-jemalloc --with-resolve-file=/etc/resolv.conf --with-cc-opt='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 - Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin -cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC' --with-ld-opt='-Wl,-z,relro -Wl,-z,now -馅饼'

5

@dvershinin 这实际上是收费的