Skip to content

Commit cc43846

Browse files
committed
added tar into packages list
1 parent 902ed11 commit cc43846

File tree

1 file changed

+8
-14
lines changed

1 file changed

+8
-14
lines changed

install/vst-install.sh

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,15 @@ VERSION='0.9.7'
1010
YUM_REPO='/etc/yum.repos.d/vesta.repo'
1111
arch=$(uname -i)
1212

13+
tools="screen mc libpng libjpeg curl curl libmcrypt libmcrypt mhash mhash
14+
freetype openssl flex libxml2 ImageMagick sqlite sqlite pcre pcre sudo bc
15+
mailx lsof ntp tar whois telnet rsync"
16+
1317
rpms="nginx httpd httpd-devel.$arch mod_ssl mod_ruid2 mod_extract_forwarded
1418
webalizer awstats mysql mysql-server php php-bcmath php-cli php-common
15-
php-devel.$arch php-gd php-imap php-mbstring php-mcrypt php-mysql
16-
php-pdo php-soap php-tidy php-xml php-xmlrpc phpMyAdmin exim dovecot
17-
clamd spamassassin roundcubemail bind bind-utils bind-libs vsftpd
18-
rrdtool vesta vesta-nginx vesta-php"
19+
php-gd php-imap php-mbstring php-mcrypt php-mysql php-pdo php-soap php-tidy
20+
php-xml php-xmlrpc phpMyAdmin exim dovecot clamd spamassassin roundcubemail
21+
bind bind-utils bind-libs vsftpd rrdtool GeoIP vesta vesta-nginx vesta-php"
1922

2023
# Am I root?
2124
if [ "x$(id -u)" != 'x0' ]; then
@@ -180,20 +183,13 @@ gen_pass() {
180183

181184
# Update system
182185
yum -y update
183-
184-
# Return code check
185186
if [ $? -ne 0 ]; then
186187
echo 'Error: yum update failed'
187188
exit 1
188189
fi
189190

190191
# Install additional packages
191-
yum -y install screen mc libpng libjpeg curl curl libmcrypt \
192-
libmcrypt mhash mhash freetype openssl flex libxml2 \
193-
ImageMagick sqlite sqlite GeoIP GeoIP-data GeoIP pcre pcre \
194-
sudo bc mailx lsof ntp
195-
196-
# Return code check
192+
yum -y install $tools
197193
if [ $? -ne 0 ]; then
198194
echo 'Error: yum install failed'
199195
exit 1
@@ -255,8 +251,6 @@ fi
255251

256252
# Vesta packages
257253
yum -y --enablerepo=remi install $rpms
258-
259-
# Return code check
260254
if [ $? -ne 0 ]; then
261255
echo 'Error: yum install failed'
262256
exit 1

0 commit comments

Comments
 (0)