Browse Source

Fixed ViMbAdmin install issue

old-stable
gau1991 11 years ago
parent
commit
05cff73cc2
  1. 4
      src/vendor/ee_ven_install_vimbadmin.sh
  2. 2
      src/vendor/ee_ven_setup_vimbadmin.sh

4
src/vendor/ee_ven_install_vimbadmin.sh

@ -8,8 +8,8 @@ function ee_mod_install_vimbadmin()
|| ee_lib_error "Unable to download ViMbAdmin, exit status = " $?
ee_lib_echo "Installing ViMbAdmin, please wait..."
tar -zxf /var/www/22222/htdocs/vimbadmin.tar.gz
mv /var/www/22222/htdocs/ViMbAdmin-3.0.10 /var/www/22222/htdocs/vimbadmin
mkdir -p /var/www/22222/htdocs/vimbadmin
tar -zxf /var/www/22222/htdocs/vimbadmin.tar.gz -C /var/www/22222/htdocs/vimbadmin --strip-components=1
# Install Composer
cd /var/www/22222/htdocs/vimbadmin

2
src/vendor/ee_ven_setup_vimbadmin.sh

@ -39,7 +39,7 @@ function ee_mod_setup_vimbadmin()
|| ee_lib_error "Unable to setup ViMbAdmin database details in virtual_domains_maps.cf file, exit status = " $?
sed -i "s/password = password/password = $ee_random" /etc/postfix/mysql/virtual_mailbox_maps.cf &&
sed -i "s/hosts = 127.0.0.1/hosts = $EE_MYSQL_HOST" /etc/postfix/mysql/virtual_mailbox_maps.cf &&
sed -i "s/hosts = 127.0.0.1/hosts = $EE_MYSQL_HOST" /etc/postfix/mysql/virtual_mailbox_maps.cf \
|| ee_lib_error "Unable to setup ViMbAdmin database details in virtual_mailbox_maps.cf file, exit status = " $?
sed -i "s/password=password/password=$ee_random" /etc/dovecot/dovecot-sql.conf.ext &&

Loading…
Cancel
Save