Subversion Repositories ALCASAR

Rev

Rev 3221 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 3221 Rev 3230
Line 20... Line 20...
20
# "socat" : avoid a warning when run the install script of letsencrypt ("acme.sh")
20
# "socat" : avoid a warning when run the install script of letsencrypt ("acme.sh")
21
# "sudo" : needed after a reinstallation (to be investigated)
21
# "sudo" : needed after a reinstallation (to be investigated)
22
# "postfix" + "cyrus-sasl" + "lib64sasl2-plug-plain" : email registration method
22
# "postfix" + "cyrus-sasl" + "lib64sasl2-plug-plain" : email registration method
23
# "nmap" : "/usr/share/nmap/nmap-mac-prefixes" is used to display MAC manufacturers in ACC
23
# "nmap" : "/usr/share/nmap/nmap-mac-prefixes" is used to display MAC manufacturers in ACC
24
 
24
 
25
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 php-dom php-filter unbound e2guardian postfix mariadb ntpsec bind-utils openssh-server rng-utils rsync fail2ban gnupg2 ulogd ipset usb_modeswitch vnstat dos2unix p7zip msec kernel-userspace-headers kernel-firmware kernel-firmware-nonfree dhcp-server tcpdump fonts-dejavu-common fonts-ttf-dejavu lsscsi nvme-cli sudo socat postfix cyrus-sasl lib64sasl2-plug-plain iftop"
25
PACKAGES="vim-enhanced freeradius freeradius-mysql freeradius-ldap apache apache-mod_ssl apache-mod_php php-gd php-ldap php-mysqli php-mbstring php-sockets php-curl php-pdo_sqlite php-cli php-dom php-filter unbound e2guardian postfix mariadb ntpsec bind-utils openssh-server rng-utils rsync fail2ban gnupg2 ulogd ipset usb_modeswitch vnstat dos2unix p7zip msec kernel-userspace-headers kernel-firmware kernel-firmware-nonfree dhcp-server tcpdump fonts-dejavu-common fonts-ttf-dejavu lsscsi nvme-cli sudo socat postfix cyrus-sasl lib64sasl2-plug-plain iftop"
26
 
26
 
27
rpm_repository_sync ()
27
rpm_repository_sync ()
28
{
28
{
29
	cat <<EOF > /etc/urpmi/urpmi.cfg
29
	cat <<EOF > /etc/urpmi/urpmi.cfg
30
{
30
{
Line 218... Line 218...
218
then
218
then
219
	echo "Cleaning the system : "
219
	echo "Cleaning the system : "
220
else
220
else
221
	echo "Nettoyage du système : "
221
	echo "Nettoyage du système : "
222
fi
222
fi
223
unused_rpm="shorewall mandi plymouth squid polkit pm-utils dnsmasq clamav clamd clamav-db tracker"
223
unused_rpm="shorewall mandi plymouth squid polkit pm-utils dnsmasq clamav clamd clamav-db tracker lighttpd php-fpm"
224
/usr/sbin/urpme --auto -a $unused_rpm
224
/usr/sbin/urpme --auto -a $unused_rpm
225
for distrib in mga7 mga8
225
for distrib in mga7 mga8
226
do
226
do
227
	for rpm in `rpm -qa|grep $distrib`; do urpme --auto $rpm; done
227
	for rpm in `rpm -qa|grep $distrib`; do urpme --auto $rpm; done
228
done
228
done