@@ -9,7 +9,7 @@ export PATH=$PATH:/sbin
99RHOST=' r.vestacp.com'
1010CHOST=' c.vestacp.com'
1111REPO=' cmmnt'
12- VERSION=' 0.9.7 '
12+ VERSION=' 0.9.8/rhel '
1313YUM_REPO=' /etc/yum.repos.d/vesta.repo'
1414arch=$( uname -i)
1515os=$( cut -f 1 -d ' ' /etc/redhat-release)
@@ -634,7 +634,7 @@ sed -i "s/%blowfish_secret%/$(gen_pass)/g" /etc/phpMyAdmin/config.inc.php
634634# Roundcube configuration
635635wget $CHOST /$VERSION /httpd-webmail.conf -O /etc/httpd/conf.d/roundcubemail.conf
636636wget $CHOST /$VERSION /roundcube-main.conf -O /etc/roundcubemail/main.inc.php
637- wget $CHOST /$VERSION /roundcube-db.conf -O /etc/roundcubemail/db.inc.php
637+ wget $CHOST /D $VERSION /roundcube-db.conf -O /etc/roundcubemail/db.inc.php
638638wget $CHOST /$VERSION /roundcube-driver.php -O \
639639 /usr/share/roundcubemail/plugins/password/drivers/vesta.php
640640wget $CHOST /$VERSION /roundcube-pw.conf -O \
@@ -700,7 +700,7 @@ chmod -R 755 /usr/local/vesta/data/templates
700700cp templates/web/skel/public_html/index.html /var/www/html/
701701sed -i ' s/%domain%/It worked!/g' /var/www/html/index.html
702702if [ " $srv_type " = ' micro' ]; then
703- rm -f /usr/local/vesta/data/templates/web/apache_phpfcgid .*
703+ rm -f /usr/local/vesta/data/templates/web/httpd/phpfcgid .*
704704fi
705705
706706# Default SSL keys
@@ -725,7 +725,7 @@ $VESTA/bin/v-change-user-shell admin bash
725725$VESTA /bin/v-change-user-language admin en
726726
727727# Configure mysql host
728- $VESTA /bin/v-add-database-server mysql localhost root $mpass
728+ $VESTA /bin/v-add-database-host mysql localhost root $mpass
729729$VESTA /bin/v-add-database admin default default $( gen_pass) mysql
730730
731731# Configuring system ips
0 commit comments