Angie PRO 软件包安装#
要访问软件包仓库,您需要签署合同并购买许可证。有关许可证、合同和定制版本的问题,请联系:
+7 (495) 120 50 33
然后,配置您发行版的软件包管理器的仓库,以安装和更新 Angie PRO 及您需要的 动态模块。最后,安装 许可证文件 并更新限制。 名称 版本 架构 9, 8 x86-64, arm64 3.21, 3.20, 3.19, 3.18 x86-64, arm64 10 x86-64, arm64 4.7 arm64 9 x86-64, arm64 12, 11 x86-64, arm64 14, 13 x86-64, arm64 9 x86-64 15 x86-64, arm64 9, 8 x86-64, arm64 8 x86-64 9, 8 x86-64, arm64 Chrome 12 x86-64, arm64 9 x86-64 24.04, 22.04, 20.04 x86-64, arm64 创建 传输您与许可证一起收到的文件: 文件类型 原始名称 位置 证书 私钥 提示 如果您拥有许可证但没有这些文件,请通过 联系我们。 要添加仓库,创建以下名为 安装 Angie PRO 软件包: (可选) 安装您需要的任何 额外 软件包: 启动服务: 使 Angie PRO 在服务器重启后自动启动: 传输您与许可证一起收到的文件: 文件类型 原始名称 位置 证书 私钥 提示 如果您拥有许可证但没有这些文件,请通过 联系我们。 安装添加 Angie PRO 仓库所需的先决条件: 下载 Angie PRO 仓库的公钥以进行软件包验证: 添加 Angie PRO 仓库: 更新仓库索引: 安装 Angie PRO 软件包: (可选) 安装您需要的任何 额外 软件包: 启动服务: 使 Angie PRO 在服务器重启时自动启动: 创建 传输您与许可证一起收到的文件: 文件类型 原始名称 位置 证书 私钥 提示 如果您拥有许可证但没有这些文件,请通过 联系我们。 下载 Angie PRO 仓库的公钥以进行软件包验证: 保存密钥的签名: 添加 Angie PRO 仓库: 将 Angie PRO 仓库的 更新仓库索引: 安装 Angie PRO 软件包: (可选) 安装您需要的任何 额外 软件包: 启动服务: 使 Angie PRO 在服务器重启时自动启动: 创建 传输您与许可证一起收到的文件: 文件类型 原始名称 位置 证书 私钥 提示 如果您有许可证但没有这些文件,请发送电子邮件至
。 限制对目录和文件的访问: 安装添加 Angie PRO 仓库的先决条件: 下载 Angie PRO 仓库的公钥
以进行软件包验证: 添加 Angie PRO 仓库: 要配置该仓库,请创建名为
更新仓库索引: (可选) 在运行封闭软件环境时
(CSE),
安装 Angie PRO 二进制验证的密钥包: 更新 CSE: 然后 重启服务器: 安装 Angie PRO 软件包: (可选) 安装任何 额外
您需要的软件包: 创建 转移您收到的许可证文件: 文件类型 原始名称 在哪里 证书 私钥 提示 如果您有许可证但没有这些文件,请发送电子邮件至
。 限制对目录和文件的访问: 安装添加 Angie PRO 仓库的先决条件: 下载 Angie PRO 仓库的公钥
以进行软件包验证: 添加 Angie PRO 仓库: 要配置该仓库,请创建名为
更新仓库索引: 安装 Angie PRO 软件包: (可选) 安装任何 额外
您需要的软件包: 要添加 Angie PRO 仓库,请创建这些目录: 要配置该仓库,请创建名为
下载 Angie PRO 仓库的公钥
以进行软件包验证: 转移您收到的许可证文件: 文件类型 原始名称 在哪里 证书 私钥 提示 如果您有许可证但没有这些文件,请发送电子邮件至
。 将证书和密钥添加到包管理器的配置中: 更新仓库索引: 安装 Angie PRO 软件包: (可选) 安装任何 额外
您需要的软件包: 启动服务: 要在服务器重启时自动启动 Angie PRO: 创建 转移您收到的许可证文件: 文件类型 原始名称 在哪里 证书 私钥 并将它们捆绑到 提示 如果您有许可证但没有这些文件,请发送电子邮件至
。 要添加该仓库,请创建名为
更新仓库索引: 安装 Angie PRO 软件包: (可选) 安装任何 额外
您需要的软件包: 启动服务: 要在服务器重启后自动启动 Angie PRO: 除了提供基本功能的软件包外,
我们还发布了一些额外的软件包,
包括我们自己的和从精心挑选的第三方来源构建的。 控制台轻量版是一个轻量级的实时监控界面,用于 Angie PRO,
在我们的仓库中发布为 为了扩展 Angie PRO 的基本功能,
您可以添加各种动态模块,
这些模块可以作为现成的软件包从我们的仓库中获取: 添加一个过滤器来转换 JPEG、GIF、PNG 和 WebP 图像。 使得在 Angie 配置中分别在 允许用 Perl 编写 添加一个过滤器来使用 XSLT 样式表转换 XML 响应。 我们还在我们的仓库中构建并发布以下第三方模块包: 添加客户端 JWT 认证。 添加对多个 LDAP 服务器进行身份验证的支持。 添加 PAM 认证支持。 添加 SPNEGO、GSSAPI 支持。 启用 Brotli 用于动态和静态响应压缩。 启用清除 FastCGI、代理、SCGI 和 uWSGI 缓存内容。 启用 CGI。 扩展 WebDAV 方法支持,添加 PROPFIND 和 OPTIONS。 启用动态锁定 IP 并定期释放它们。 启用在配置文件中使用 增强内置 Memcached 模块的功能。 允许在变量中捕获子请求的响应体。 angie-pro-module-geoip2:
http_geoip2,
stream_geoip2 允许在 MaxMind GeoIP2 数据库中进行地理数据查找。 允许设置和清除输入和输出头部。 启用 Radius 支持。 允许从键值对创建变量。 angie-pro-module-lua:
http_lua_module,
stream_lua_module 允许在 Angie PRO 配置中使用 Lua
在 添加一个连接器,启用 ModSecurity 规则。 备注 此包需要
额外设置。 为模块开发添加 Nginx 开发工具包 (NDK)。 允许将遥测数据发送到 OpenTelemetry 收集器。 通过 OpenTracing 添加 Angie PRO 请求的分布式追踪;
包括 Zipkin 和 DataDog 的数据导出插件。 允许与 PostgreSQL 数据库进行直接通信。 启用 Redis 2.0 作为 HTTP 上游。 允许用于实时流媒体和视频点播的 RTMP。 向 重写 模块添加各种 允许在 HTTP 响应体中进行正则表达式字符串替换。 通过基于 Cookie 的挑战响应机制启用机器人缓解。 添加 允许为 HLS、HDS、MSS 和 DASH 流媒体重新打包 .mp4 文件。 angie-pro-module-vts:
module-vts,
module-sts,
module-stream-sts 打包三个列出的模块以进行流量监控。 备注 它们各自的模板文件安装如下: 允许动态打包 ZIP 归档。 启用 Zstandard 压缩。 要在 配置 中使用已安装的模块,
请使用 load_module 指令加载它。 要配置 Angie PRO 的许可证: 将许可证文件保存为 验证许可证是否有效;
否则,请检查详细信息: 监控控制台和日志以获取任何许可证问题。
如果许可证在操作中期到期,
Angie PRO 会定期记录指示此情况的警告。
此外,在重新加载时,如果例如,许可证条款中规定的工作进程数量
被超出,它会报告配置错误。 更新 保存许可证文件后,
根据您的许可证条款更新设置,例如:发行版#
8
x86-64
1.8, 1.7
x86-64
7
x86-64, arm64
Fresh 12
x86-64Alma、CentOS、MSVSphere、Oracle、RED OS、Rocky、ROSA、SberLinux#
/etc/ssl/angie/
目录:$ sudo mkdir -p /etc/ssl/angie/
angie-repo.crt
/etc/ssl/angie/angie-repo.crt
angie-repo.key
/etc/ssl/angie/angie-repo.key
/etc/yum.repos.d/angie.repo
的文件:[angie-pro]
name=Angie PRO 仓库
baseurl=https://download.angie.software/angie-pro/almalinux/$releasever/
sslclientcert=/etc/ssl/angie/angie-repo.crt
sslclientkey=/etc/ssl/angie/angie-repo.key
gpgcheck=1
enabled=1
gpgkey=https://angie.software/keys/angie-signing.gpg.asc
[angie-pro]
name=Angie PRO 仓库
baseurl=https://download.angie.software/angie-pro/centos/$releasever/
sslclientcert=/etc/ssl/angie/angie-repo.crt
sslclientkey=/etc/ssl/angie/angie-repo.key
gpgcheck=1
enabled=1
gpgkey=https://angie.software/keys/angie-signing.gpg.asc
[angie-pro]
name=Angie PRO 仓库
baseurl=https://download.angie.software/angie-pro/msvsphere/$releasever/
sslclientcert=/etc/ssl/angie/angie-repo.crt
sslclientkey=/etc/ssl/angie/angie-repo.key
gpgcheck=1
enabled=1
gpgkey=https://angie.software/keys/angie-signing.gpg.asc
[angie-pro]
name=Angie PRO 仓库
baseurl=https://download.angie.software/angie-pro/oracle/$releasever/
sslclientcert=/etc/ssl/angie/angie-repo.crt
sslclientkey=/etc/ssl/angie/angie-repo.key
gpgcheck=1
enabled=1
gpgkey=https://angie.software/keys/angie-signing.gpg.asc
[angie-pro]
name=Angie PRO 仓库
baseurl=https://download.angie.software/angie-pro/redos/$releasever/
sslclientcert=/etc/ssl/angie/angie-repo.crt
sslclientkey=/etc/ssl/angie/angie-repo.key
gpgcheck=1
enabled=1
gpgkey=https://angie.software/keys/angie-signing.gpg.asc
[angie-pro]
name=Angie PRO 仓库
baseurl=https://download.angie.software/angie-pro/rocky/$releasever/
sslclientcert=/etc/ssl/angie/angie-repo.crt
sslclientkey=/etc/ssl/angie/angie-repo.key
gpgcheck=1
enabled=1
gpgkey=https://angie.software/keys/angie-signing.gpg.asc
[angie-pro]
name=Angie PRO 仓库
baseurl=https://download.angie.software/angie-pro/rosa-chrome/$releasever/
sslclientcert=/etc/ssl/angie/angie-repo.crt
sslclientkey=/etc/ssl/angie/angie-repo.key
gpgcheck=1
enabled=1
gpgkey=https://angie.software/keys/angie-signing.gpg.asc
[angie-pro]
name=Angie PRO 仓库
baseurl=https://download.angie.software/angie-pro/rosa/$releasever/
sslclientcert=/etc/ssl/angie/angie-repo.crt
sslclientkey=/etc/ssl/angie/angie-repo.key
gpgcheck=1
enabled=1
gpgkey=https://angie.software/keys/angie-signing.gpg.asc
[angie-pro]
name=Angie PRO 仓库
baseurl=https://download.angie.software/angie-pro/sberlinux/$releasever/
sslclientcert=/etc/ssl/angie/angie-repo.crt
sslclientkey=/etc/ssl/angie/angie-repo.key
gpgcheck=1
enabled=1
gpgkey=https://angie.software/keys/angie-signing.gpg.asc
$ sudo yum install -y angie-pro
$ sudo yum install -y <PACKAGE NAME>
$ sudo systemctl start angie
$ sudo systemctl enable angie
Alpine#
angie-repo.crt
/etc/apk/cert.pem
angie-repo.key
/etc/apk/cert.key
$ sudo apk update
$ sudo apk add curl ca-certificates
$ sudo curl -o /etc/apk/keys/angie-signing.rsa \
https://angie.software/keys/angie-signing.rsa
$ echo "https://download.angie.software/angie-pro/alpine/v$(egrep -o \
'[0-9]+\.[0-9]+' /etc/alpine-release)/main" \
| sudo tee -a /etc/apk/repositories > /dev/null
$ sudo apk update
$ sudo apk add angie-pro
$ sudo apk add <PACKAGE NAME>
$ sudo service angie start
$ sudo rc-update add angie
ALT Linux#
/etc/ssl/angie
目录:$ sudo mkdir -p /etc/ssl/angie/
angie-repo.crt
/etc/ssl/angie/angie-repo.crt
angie-repo.key
/etc/ssl/angie/angie-repo.key
$ curl -o ~/angie-signing.gpg https://angie.software/keys/angie-signing.gpg && \
sudo gpg --no-default-keyring --keyring /usr/lib/alt-gpgkeys/pubring.gpg --import ~/angie-signing.gpg
$ echo 'simple-key "angie-pro" {
Fingerprint "EB8EAF3D4EF1B1ECF34865A2617AB978CB849A76";
Name "Angie PRO (Signing Key) <devops@tech.wbsrv.ru>";
}' | sudo tee /etc/apt/vendors.list.d/angie.list > /dev/null
$ echo "rpm [angie-pro] https://download.angie.software/angie-pro/altlinux/10/ $(uname -m) main" \
| sudo tee /etc/apt/sources.list.d/angie.list > /dev/null
$ echo "rpm [angie-pro] https://download.angie.software/angie-pro/altlinux-sp/10/ $(uname -m) main" \
| sudo tee /etc/apt/sources.list.d/angie.list > /dev/null
$ echo "rpm [angie-pro] https://download.angie.software/angie-pro/altlinux-sp/8/ $(uname -m) main" \
| sudo tee /etc/apt/sources.list.d/angie.list > /dev/null
apt
配置文件保存为 /etc/apt/apt.conf.d
:$ ( echo 'Acquire::https::Verify-Peer "true";';
echo 'Acquire::https::Verify-Host "true";';
echo 'Acquire::https::SslCert "/etc/ssl/angie/angie-repo.crt";';
echo 'Acquire::https::SslKey "/etc/ssl/angie/angie-repo.key";';
) | sudo tee -a /etc/apt/apt.conf >/dev/null
$ sudo apt-get update
$ sudo apt-get install -y angie-pro
$ sudo apt-get install -y <PACKAGE NAME>
$ sudo systemctl start angie
$ sudo systemctl enable angie
Astra SE#
/etc/ssl/angie/
目录:$ sudo mkdir -p /etc/ssl/angie/
angie-repo.crt
/etc/ssl/angie/angie-repo.crt
angie-repo.key
/etc/ssl/angie/angie-repo.key
$ sudo chown -R _apt:nogroup /etc/ssl/angie/
$ sudo apt-get update
$ sudo apt-get install -y apt-transport-https lsb-release \
ca-certificates curl gnupg2
$ sudo curl -o /etc/apt/trusted.gpg.d/angie-signing.gpg \
https://angie.software/keys/angie-signing.gpg
$ echo "deb https://download.angie.software/angie-pro/astra-se/$(egrep -o \
'[0-9]+\.[0-9]+' /etc/astra_version) unstable main" \
| sudo tee /etc/apt/sources.list.d/angie.list > /dev/null
/etc/apt/apt.conf.d/90download-angie
的文件,内容如下:Acquire::https::download.angie.software::Verify-Peer "true";
Acquire::https::download.angie.software::Verify-Host "true";
Acquire::https::download.angie.software::SslCert "/etc/ssl/angie/angie-repo.crt";
Acquire::https::download.angie.software::SslKey "/etc/ssl/angie/angie-repo.key";
$ sudo apt-get update
$ sudo apt-get install -y angie-digsig-key
$ sudo update-initramfs -uk all
$ sudo shutdown -r now
$ sudo apt-get install -y angie-pro
$ sudo apt-get install -y <PACKAGE NAME>
Debian, Ubuntu#
/etc/ssl/angie/
目录:$ sudo mkdir -p /etc/ssl/angie/
angie-repo.crt
/etc/ssl/angie/angie-repo.crt
angie-repo.key
/etc/ssl/angie/angie-repo.key
$ sudo chown -R _apt:nogroup /etc/ssl/angie/
$ sudo apt-get update
$ sudo apt-get install -y apt-transport-https lsb-release \
ca-certificates curl gnupg2
$ sudo curl -o /etc/apt/trusted.gpg.d/angie-signing.gpg \
https://angie.software/keys/angie-signing.gpg
$ echo "deb https://download.angie.software/angie-pro/$(. /etc/os-release && echo "$ID/$VERSION_ID $VERSION_CODENAME") main" \
| sudo tee /etc/apt/sources.list.d/angie.list > /dev/null
/etc/apt/apt.conf.d/90download-angie
的文件,内容如下:Acquire::https::download.angie.software::Verify-Peer "true";
Acquire::https::download.angie.software::Verify-Host "true";
Acquire::https::download.angie.software::SslCert "/etc/ssl/angie/angie-repo.crt";
Acquire::https::download.angie.software::SslKey "/etc/ssl/angie/angie-repo.key";
$ sudo apt-get update
$ sudo apt-get install -y angie-pro
$ sudo apt-get install -y <PACKAGE NAME>
FreeBSD#
$ sudo mkdir -p /usr/local/etc/pkg/angie/ /usr/local/etc/pkg/repos/
/usr/local/etc/pkg/repos/angie.conf
的文件,内容如下:angie: {
url: "https://download.angie.software/angie-pro/freebsd/${VERSION_MAJOR}/${ARCH}",
signature_type: "pubkey",
pubkey: "/usr/local/etc/pkg/angie/angie-signing.rsa",
enabled: yes
}
$ sudo curl -o /usr/local/etc/pkg/angie/angie-signing.rsa \
https://angie.software/keys/angie-signing.rsa
angie-repo.crt
/usr/local/etc/pkg/angie/angie-repo.crt
angie-repo.key
/usr/local/etc/pkg/angie/angie-repo.key
$ echo '
PKG_ENV: {
SSL_CLIENT_CERT_FILE: "/usr/local/etc/pkg/angie/angie-repo.crt",
SSL_CLIENT_KEY_FILE: "/usr/local/etc/pkg/angie/angie-repo.key"
}' | sudo tee -a /usr/local/etc/pkg.conf > /dev/null
$ sudo pkg update
$ sudo pkg install -y angie-pro
$ sudo pkg install -y <PACKAGE NAME>
$ sudo service angie start
$ sudo sysrc angie_enable=YES
openSUSE#
/etc/ssl/angie
目录:$ sudo mkdir -p /etc/ssl/angie/
angie-repo.crt
/etc/ssl/angie/angie-repo.crt
angie-repo.key
/etc/ssl/angie/angie-repo.key
/etc/ssl/angie/angie-repo-bundle.crt
中:$ cat /etc/ssl/angie/angie-repo.crt /etc/ssl/angie/angie-repo.key | \
sudo tee -a /etc/ssl/angie/angie-repo-bundle.crt > /dev/null
/etc/zypp/repos.d/angie.repo
的文件,内容如下:[angie-pro]
enabled=1
autorefresh=1
baseurl=https://download.angie.software/angie-pro/opensuse/$releasever_major?ssl_clientcert=/etc/ssl/angie/angie-repo-bundle.crt&ssl_verify=peer
gpgcheck=1
gpgkey=https://angie.software/keys/angie-signing.gpg.asc
$ sudo zypper refresh
$ sudo zypper install -y angie-pro
$ sudo zypper install -y <PACKAGE NAME>
$ sudo systemctl start angie
$ sudo systemctl enable angie
附加内容#
控制台轻量版#
angie-pro-console-light
。
它的安装方式与上述 angie
软件包相同;
请参阅 Console Light 网络监控面板 中的配置步骤。动态模块#
http
和 stream
上下文中使用 njs(JavaScript 子集)成为可能。location
和变量处理程序,
还允许从 SSI 中调用 Perl。echo
、sleep
、time
、exec
和其他 shell 风格的命令。http
和 stream
上下文中。set_xxx
指令。multipart/form-data
编码 (RFC 1867) 以支持文件上传,
启用可恢复的上传。/usr/share/angie-pro-module-vts/status.compress.html
/usr/share/angie-pro-module-vts/status.template.html
/usr/share/angie-pro-module-vts/stream/status.compress.html
/usr/share/angie-pro-module-vts/stream/status.template.html
许可证文件#
/etc/angie/license.pem
,
设置您用于
客户端证书 的权限。$ sudo angie -t
angie: 找到有效许可证:
angie: - 所有者: CN=Angie Client License
angie: - 有效期: Jul 8 21:00:00 2024 GMT .. Jul 17 20:59:59 2024 GMT
angie:
angie: 限制:
angie: - worker_processes_limit: 8
angie: - worker_connections_limit: 0
/etc/angie/angie.conf
;
安装后,它有两个限制操作的设置:worker_processes 1;
worker_connections 256;
worker_processes 8;
worker_connections 65535;