Line 1... |
Line 1... |
1 |
#!/bin/bash
|
1 |
#!/bin/bash
|
2 |
# $Id: alcasar-rpm-download.sh 3088 2022-11-06 22:55:08Z rexy $
|
2 |
# $Id: alcasar-rpm-download.sh 3099 2022-12-28 11:30:30Z 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 18... |
Line 18... |
18 |
# "lsscsi" & nvme-cli" : needed by phpsysinfo
|
18 |
# "lsscsi" & nvme-cli" : needed by phpsysinfo
|
19 |
# "socat" : avoid a warning when run the install script of letsencrypt ("acme.sh")
|
19 |
# "socat" : avoid a warning when run the install script of letsencrypt ("acme.sh")
|
20 |
# "sudo" : needed after a reinstallation (to be investigated)
|
20 |
# "sudo" : needed after a reinstallation (to be investigated)
|
21 |
# "clamav" + "clamav-db" : needed because of a lack of mutual dependance
|
21 |
# "clamav" + "clamav-db" : needed because of a lack of mutual dependance
|
22 |
# "postfix" + "cyrus-sasl" + "lib64sasl2-plug-plain" : email registration method
|
22 |
# "postfix" + "cyrus-sasl" + "lib64sasl2-plug-plain" : email registration method
|
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"
|
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 dhcp-server tcpdump fonts-dejavu-common fonts-ttf-dejavu lsscsi nvme-cli sudo socat postfix cyrus-sasl lib64sasl2-plug-plain iftop"
|
24 |
|
24 |
|
25 |
rpm_repository_sync ()
|
25 |
rpm_repository_sync ()
|
26 |
{
|
26 |
{
|
27 |
cat <<EOF > /etc/urpmi/urpmi.cfg
|
27 |
cat <<EOF > /etc/urpmi/urpmi.cfg
|
28 |
{
|
28 |
{
|