Line 1... |
Line 1... |
1 |
#!/bin/bash
|
1 |
#!/bin/bash
|
2 |
# $Id: alcasar-rpm-download.sh 2968 2021-07-08 22:10:57Z rexy $
|
2 |
# $Id: alcasar-rpm-download.sh 3055 2022-08-12 20:41:49Z franck $
|
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 |
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"
|
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"
|
17 |
|
17 |
|
18 |
rpm_repository_sync ()
|
18 |
rpm_repository_sync ()
|
19 |
{
|
19 |
{
|
20 |
cat <<EOF > /etc/urpmi/urpmi.cfg
|
20 |
cat <<EOF > /etc/urpmi/urpmi.cfg
|
21 |
{
|
21 |
{
|