1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
#!/bin/sh
PKGNAME=angie
SKIPREPACK=1
SUPPORTEDARCHES="x86_64 aarch64"
DESCRIPTION="ANGIE (a web server, that was forked from nginx) from the official site"
URL="https://angie.software/"
. $(dirname $0)/common.sh
reponame=$(epm print info --repo-name)
vendor=$(epm print info -s)
version=$(epm print info --base-version)
# Strict supported list
case $(epm print info -e) in
Alpine/3.*)
epm install --skip-installed ca-certificates
epm repo addkey angie "https://angie.software/keys/angie-signing.rsa"
epm repo add "https://download.angie.software/angie/alpine/v$version/main"
;;
AstraLinuxSE/1.7)
epm repo addkey angie "https://angie.software/keys/angie-signing.gpg"
epm repo add "rpm [angie] https://download.angie.software/angie/astra-se/1.7/ unstable main"
;;
ALTLinux/p10|ALTLinux/Sisyphus)
epm repo addkey angie "https://angie.software/keys/angie-signing.gpg" "EB8EAF3D4EF1B1ECF34865A2617AB978CB849A76" "Angie (Signing Key) <devops@tech.wbsrv.ru>"
epm repo add "rpm [angie] https://download.angie.software/angie/altlinux/10/ x86_64 main"
;;
AlmaLinux/8|AlmaLinux/9)
epm repo addkey angie 'https://download.angie.software/angie/centos/$releasever/' "https://angie.software/keys/angie-signing.gpg" "Angie repo"
#epm repo add 'https://download.angie.software/angie/centos/$releasever/'
;;
CentOS/8|CentOS/9)
epm repo addkey angie 'https://download.angie.software/angie/centos/$releasever/' "https://angie.software/keys/angie-signing.gpg" "Angie repo"
#epm repo add 'https://download.angie.software/angie/centos/$releasever/'
;;
Debian/10|Debian/11|Debian/12)
epm install --skip-installed ca-certificates lsb-release
epm repo addkey angie "https://angie.software/keys/angie-signing.gpg"
epm repo add "deb [angie] https://download.angie.software/angie/debian/ $reponame main"
;;
Oracle/8|Oracle/9)
epm repo addkey angie 'https://download.angie.software/angie/oracle/$releasever/' "https://angie.software/keys/angie-signing.gpg" "Angie repo"
#epm repo add 'https://download.angie.software/angie/oracle/$releasever/'
;;
RedOS/7*)
epm repo addkey angie "https://download.angie.software/angie/redos/7/" "https://angie.software/keys/angie-signing.gpg" "Angie repo"
epm repo add "https://download.angie.software/angie/redos/7/"
;;
RedOS/8*)
epm repo addkey angie "https://download.angie.software/angie/redos/8/" "https://angie.software/keys/angie-signing.gpg" "Angie repo"
epm repo add "https://download.angie.software/angie/redos/8/"
;;
RockyLinux/8|RockyLinux/9)
epm repo addkey angie 'https://download.angie.software/angie/rocky/$releasever/' "https://angie.software/keys/angie-signing.gpg" "Angie repo"
#epm repo add 'https://download.angie.software/angie/rocky/$releasever/'
;;
Ubuntu/*)
epm install --skip-installed ca-certificates lsb-release
epm repo addkey angie "https://angie.software/keys/angie-signing.gpg"
epm repo add "deb [angie] https://download.angie.software/angie/ubuntu/ $reponame main"
;;
*)
fatal "Unsupported distro $(epm print info -e). Ask application vendor for a support."
;;
esac
epm update
epm install $PKGNAME || exit
cat <<EOF
Note:
You can use serv command for start Angie service:
# serv angie start
To make sure Angie starts on server reboot, run:
# serv angie on
Also you can install an addional modules:
# epm install angie-module-<module>
Angie repository provides following dynamic module packages:
angie-module-auth-spnego
angie-module-brotli
angie-module-dav-ext
angie-module-geoip2
angie-module-headers-more
angie-module-image-filter
angie-module-ndk
angie-module-njs
angie-module-perl
angie-module-rtmp
angie-module-set-misc
angie-module-xslt
EOF