Line 1... |
Line 1... |
1 |
#!/bin/bash
|
1 |
#!/bin/bash
|
2 |
# $Id: alcasar-rpm-download.sh 3055 2022-08-12 20:41:49Z franck $
|
2 |
# $Id: alcasar-rpm-download.sh 3060 2022-08-13 07:48:29Z rexy $
|
3 |
|
3 |
|
4 |
# alcasar-rpm-download.sh
|
4 |
# alcasar-rpm-download.sh
|
5 |
# by Franck BOUIJOUX and Richard REY
|
5 |
# by Franck BOUIJOUX and Richard REY
|
6 |
# This script is distributed under the Gnu General Public License (GPL)
|
6 |
# This script is distributed under the Gnu General Public License (GPL)
|
7 |
|
7 |
|
Line 11... |
Line 11... |
11 |
VERSION="7"
|
11 |
VERSION="7"
|
12 |
ARCH="x86_64"
|
12 |
ARCH="x86_64"
|
13 |
# The kernel version we compile netflow for
|
13 |
# The kernel version we compile netflow for
|
14 |
KERNEL="kernel-server-5.10.46-1.mga7-1-1.mga7"
|
14 |
KERNEL="kernel-server-5.10.46-1.mga7-1-1.mga7"
|
15 |
# ****** Alcasar needed RPMS - paquetages nécessaires au fonctionnement d'Alcasar ******
|
15 |
# ****** Alcasar needed RPMS - paquetages nécessaires au fonctionnement d'Alcasar ******
|
- |
|
16 |
# (old) perl-Socket6 : needed by nfsen
|
- |
|
17 |
# "fonts-dejavu-common" & "fonts-ttf-dejavu" : fonts needed by wkhtmltopdf
|
- |
|
18 |
# "lsscsi" & nvme-cli" : needed by phpsysinfo
|
- |
|
19 |
# "socat" : avoid a warning when run the install script of letsencrypt ("acme.sh")
|
- |
|
20 |
# "sudo" : needed after a reinstallation (to be investigated)
|
- |
|
21 |
# "clamav" + "clamav-db" : needed because of a lack of mutual dependance
|
- |
|
22 |
# "postfix" + "cyrus-sasl" + "lib64sasl2-plug-plain" : email registration method
|
16 |
PACKAGES="vim-enhanced freeradius freeradius-mysql freeradius-ldap lighttpd lighttpd-mod_auth php-fpm php-gd php-ldap php-mysqli php-mbstring php-sockets php-curl php-pdo_sqlite php-cli unbound e2guardian postfix mariadb ntp bind-utils openssh-server rng-utils rsync clamd clamav clamav-db fail2ban gnupg2 ulogd pm-fallback-policy ipset usb_modeswitch vnstat dos2unix p7zip msec kernel-userspace-headers kernel-firmware-nonfree dnsmasq dhcp-server tcpdump fonts-dejavu-common fonts-ttf-dejavu lsscsi nvme-cli sudo socat iftop"
|
23 |
PACKAGES="vim-enhanced freeradius freeradius-mysql freeradius-ldap lighttpd lighttpd-mod_auth php-fpm php-gd php-ldap php-mysqli php-mbstring php-sockets php-curl php-pdo_sqlite php-cli unbound e2guardian postfix mariadb ntp bind-utils openssh-server rng-utils rsync clamav clamav-db clamd fail2ban gnupg2 ulogd ipset usb_modeswitch vnstat dos2unix p7zip msec kernel-userspace-headers kernel-firmware-nonfree dnsmasq dhcp-server tcpdump fonts-dejavu-common fonts-ttf-dejavu lsscsi nvme-cli sudo socat postfix cyrus-sasl lib64sasl2-plug-plain iftop"
|
17 |
|
24 |
|
18 |
rpm_repository_sync ()
|
25 |
rpm_repository_sync ()
|
19 |
{
|
26 |
{
|
20 |
cat <<EOF > /etc/urpmi/urpmi.cfg
|
27 |
cat <<EOF > /etc/urpmi/urpmi.cfg
|
21 |
{
|
28 |
{
|