Line 1... |
Line 1... |
1 |
#!/bin/bash
|
1 |
#!/bin/bash
|
2 |
# $Id: alcasar-urpmi.sh 1817 2016-04-06 21:58:58Z richard $
|
2 |
# $Id: alcasar-urpmi.sh 1837 2016-04-25 12:35:28Z richard $
|
3 |
|
3 |
|
4 |
# alcasar-urpmi.sh
|
4 |
# alcasar-urpmi.sh
|
5 |
# by 3abtux and Rexy
|
5 |
# by 3abtux and Rexy
|
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 13... |
Line 13... |
13 |
ARCH="i586"
|
13 |
ARCH="i586"
|
14 |
# The kernel version we compile netflow for
|
14 |
# The kernel version we compile netflow for
|
15 |
KERNEL="kernel-server-4.1.15-2.mga5-1-1.mga5"
|
15 |
KERNEL="kernel-server-4.1.15-2.mga5-1-1.mga5"
|
16 |
ModuleTree="kernel-server-4.1.15-2.mga5"
|
16 |
ModuleTree="kernel-server-4.1.15-2.mga5"
|
17 |
# ****** Alcasar needed RPMS - paquetages nécessaires au fonctionnement d'Alcasar ******
|
17 |
# ****** Alcasar needed RPMS - paquetages nécessaires au fonctionnement d'Alcasar ******
|
18 |
PACKAGES="vim-enhanced freeradius freeradius-mysql freeradius-ldap apache apache-mod_ssl apache-mod_php dansguardian postfix mariadb ntp bind-utils openssh-server php-xml php-ldap php-mysql php-mysqli php-mbstring php-sockets php-cli php-curl php-pdo_sqlite php-json rng-utils rsync clamav perl-rrdtool perl-MailTools perl-Socket6 fail2ban gnupg ulogd pm-fallback-policy ipset cronie-anacron gammu usbutils locales-en usb_modeswitch tinyproxy vnstat php-gd sudo iftop"
|
18 |
PACKAGES="vim-enhanced freeradius freeradius-mysql freeradius-ldap apache apache-mod_ssl apache-mod_php dansguardian postfix mariadb ntp bind-utils openssh-server php-xml php-ldap php-mysql php-mysqli php-mbstring php-sockets php-cli php-curl php-pdo_sqlite php-json rng-utils rsync clamav perl-rrdtool perl-MailTools perl-Socket6 fail2ban gnupg ulogd pm-fallback-policy ipset cronie-anacron gammu usbutils locales-en usb_modeswitch tinyproxy vnstat php-gd sudo iftop man"
|
19 |
|
19 |
|
20 |
rpm_repository_sync ()
|
20 |
rpm_repository_sync ()
|
21 |
{
|
21 |
{
|
22 |
cat <<EOF > /etc/urpmi/urpmi.cfg
|
22 |
cat <<EOF > /etc/urpmi/urpmi.cfg
|
23 |
{
|
23 |
{
|