mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 22:04:00 -07:00
Update vst-install-amazon.sh
cleaned up changes for clamd on amazon linux
This commit is contained in:
parent
57429a3203
commit
fb13db40ce
1 changed files with 1 additions and 8 deletions
|
@ -23,7 +23,7 @@ software="nginx httpd mod_ssl mod_ruid2 mod_fcgid mod_extract_forwarded
|
||||||
php php-common php-cli php-bcmath php-gd php-imap php-mbstring php-mcrypt
|
php php-common php-cli php-bcmath php-gd php-imap php-mbstring php-mcrypt
|
||||||
php-mysql php-pdo php-soap php-tidy php-xml php-xmlrpc php-fpm php-pgsql
|
php-mysql php-pdo php-soap php-tidy php-xml php-xmlrpc php-fpm php-pgsql
|
||||||
awstats webalizer vsftpd proftpd bind bind-utils bind-libs exim dovecot
|
awstats webalizer vsftpd proftpd bind bind-utils bind-libs exim dovecot
|
||||||
clamd spamassassin mysql mysql-server phpMyAdmin postgresql
|
clamd clamav-update spamassassin mysql mysql-server phpMyAdmin postgresql
|
||||||
postgresql-server postgresql-contrib phpPgAdmin e2fsprogs openssh-clients
|
postgresql-server postgresql-contrib phpPgAdmin e2fsprogs openssh-clients
|
||||||
ImageMagick curl mc screen ftp zip unzip flex sqlite pcre sudo bc jwhois
|
ImageMagick curl mc screen ftp zip unzip flex sqlite pcre sudo bc jwhois
|
||||||
mailx lsof tar telnet rrdtool net-tools ntp GeoIP freetype fail2ban
|
mailx lsof tar telnet rrdtool net-tools ntp GeoIP freetype fail2ban
|
||||||
|
@ -508,7 +508,6 @@ service exim stop > /dev/null 2>&1
|
||||||
cp -r /etc/exim/* $vst_backups/exim >/dev/null 2>&1
|
cp -r /etc/exim/* $vst_backups/exim >/dev/null 2>&1
|
||||||
|
|
||||||
# Backup ClamAV configuration
|
# Backup ClamAV configuration
|
||||||
service clamd stop > /dev/null 2>&1
|
|
||||||
service clamd.scan stop > /dev/null 2>&1
|
service clamd.scan stop > /dev/null 2>&1
|
||||||
cp /etc/clamd.conf $vst_backups/clamd >/dev/null 2>&1
|
cp /etc/clamd.conf $vst_backups/clamd >/dev/null 2>&1
|
||||||
cp -r /etc/clamd.d $vst_backups/clamd >/dev/null 2>&1
|
cp -r /etc/clamd.d $vst_backups/clamd >/dev/null 2>&1
|
||||||
|
@ -627,12 +626,6 @@ if [ "$exim" != 'no' ]; then
|
||||||
check_result $? "yum install failed"
|
check_result $? "yum install failed"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Installing freshclam for Amazon Linux
|
|
||||||
if [ "$clamd" != 'no' ]; then
|
|
||||||
yum -y install clamav-update
|
|
||||||
check_result $? "yum install failed"
|
|
||||||
fi
|
|
||||||
|
|
||||||
#----------------------------------------------------------#
|
#----------------------------------------------------------#
|
||||||
# Configure system #
|
# Configure system #
|
||||||
#----------------------------------------------------------#
|
#----------------------------------------------------------#
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue