Angie PRO 软件包安装#
要访问软件包仓库,您需要签署合同并购买许可证。有关许可证、合同和定制版本的问题,请联系:
+7 (495) 120 50 33
然后,配置您发行版的软件包管理器的仓库,以安装和更新 Angie PRO 及您需要的 动态模块。最后,安装 许可证文件 并移除限制。 名称 版本 架构 10, 9, 8 x86-64, arm64 3.22, 3.21, 3.20, 3.19 x86-64, arm64 11, 10 x86-64, arm64 4.7 arm64 10, 9 x86-64, arm64 12, 11 x86-64, arm64 14, 13 x86-64, arm64 9 x86-64 15 x86-64, arm64 10, 9, 8 x86-64, arm64 3.3.0, 2.13 x86-64 8 x86-64 10, 9, 8 x86-64, arm64 Chrome 13, 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 仓库: 要配置仓库,请创建文件
更新仓库索引: (可选) 在封闭软件环境模式下运行时
(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: 创建 转移您收到的许可证文件: 文件类型 原始名称 位置 证书 私钥 然后将它们合并到 小技巧 如果您有许可证但没有这些文件,请联系支持:
。 要添加该仓库,请创建名为
更新仓库索引: 安装 Angie PRO 软件包: (可选) 安装任何 额外
您需要的软件包: 启动服务: 要在服务器重启后自动启动 Angie PRO: 除了提供核心功能的软件包外,
我们还发布了一些额外的软件包,
包括我们自己的和从精选的第三方来源构建的。 控制台轻量版是一个轻量级的
监控网页面板 用于 Angie PRO,
在我们的仓库中发布为 要扩展 Angie PRO 的基本功能,
您可以添加各种动态模块。
您可以从我们的仓库获取现成的软件包: 为 JPEG、GIF、PNG 和 WebP 格式添加图像转换功能。 允许在 Angie PRO 配置中分别在 允许用 Perl 编写 添加一个过滤器,使用 XSLT 模板转换 XML 响应。 要在您的 配置 中应用已安装的模块,
请在 还有大量的 第三方模块 可用。 要配置 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 repo
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 repo
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 repo
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 repo
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 repo
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 repo
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 repo
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 repo
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 repo
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#
/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/11/ $(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/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
/etc/apt/apt.conf.d
中创建 Angie PRO 仓库的 apt
配置文件:$ ( 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>
OSNova#
$ sudo apt-get update
$ sudo apt-get install -y ca-certificates curl
$ 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/osnova/$(egrep -o \
'[0-9]*' /etc/osnova_version | head -1) \
$(. /etc/os-release && echo "$VERSION_CODENAME") main" \
| sudo tee /etc/apt/sources.list.d/angie.list > /dev/null
$ sudo apt-get update
$ sudo apt-get install -y angie
$ 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。main
上下文中使用 load_module 指令加载它:load_module modules/<module name>.so;
许可证文件#
/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;