Skip to content

Commit 9427075

Browse files
committed
Improved spelling
1 parent 204fbcd commit 9427075

File tree

1 file changed

+9
-14
lines changed

1 file changed

+9
-14
lines changed

install/vst-install-debian.sh

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ chown root:mail /usr/local/vesta/ssl/*
499499
chmod 660 /usr/local/vesta/ssl/*
500500
rm /tmp/vst.pem
501501

502-
# Enable password auth
502+
# Enable SSH password auth
503503
sed -i "s/rdAuthentication no/rdAuthentication yes/g" /etc/ssh/sshd_config
504504
service ssh restart
505505

@@ -554,9 +554,9 @@ wget $CHOST/$VERSION/apache2-status.conf \
554554
wget $CHOST/$VERSION/apache2.log -O /etc/logrotate.d/apache2
555555
rm -f /etc/apache2/conf.d/vesta.conf
556556
echo > /etc/apache2/conf.d/vesta.conf
557-
echo "# Powever by vesta" > /etc/apache2/sites-available/default
558-
echo "# Powever by vestas" > /etc/apache2/sites-available/default-ssl
559-
echo "# Powever by vestas" > /etc/apache2/ports.conf
557+
echo "# Powevered by vesta" > /etc/apache2/sites-available/default
558+
echo "# Powevered by vesta" > /etc/apache2/sites-available/default-ssl
559+
echo "# Powevered by vesta" > /etc/apache2/ports.conf
560560
touch /var/log/apache2/access.log
561561
touch /var/log/apache2/error.log
562562
mkdir -p /var/log/apache2/domains
@@ -665,12 +665,6 @@ tar -xzf dovecot-conf.d.tar.gz
665665
rm -f dovecot-conf.d.tar.gz
666666
chown -R root:root /etc/dovecot
667667
gpasswd -a dovecot mail
668-
if [ "$codename" = 'precise' ]; then
669-
dovecot_ssl_conf="/etc/dovecot/conf.d/10-ssl.conf"
670-
echo "ssl = yes" > $dovecot_ssl_conf
671-
echo "ssl_cert = </etc/ssl/certs/dovecot.pem" >> $dovecot_ssl_conf
672-
echo "ssl_key = </etc/ssl/private/dovecot.pem" >> $dovecot_ssl_conf
673-
fi
674668
update-rc.d dovecot defaults
675669
service dovecot stop > /dev/null 2>&1
676670
service dovecot start
@@ -715,6 +709,7 @@ wget $CHOST/$VERSION/apache2-pma.conf -O /etc/phpmyadmin/apache.conf
715709
wget $CHOST/$VERSION/pma.conf -O /etc/phpmyadmin/config.inc.php
716710
ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf
717711
mv -f /etc/phpmyadmin/config-db.php /etc/phpmyadmin/config-db.php_
712+
chmod 777 /var/lib/phpmyadmin/tmp
718713

719714
# Roundcube configuration
720715
wget $CHOST/$VERSION/apache2-webmail.conf -O /etc/roundcube/apache.conf
@@ -733,7 +728,7 @@ mysql roundcube < /usr/share/dbconfig-common/data/roundcube/install/mysql
733728
mkdir -p /var/log/roundcube/error
734729
chmod -R 777 /var/log/roundcube
735730

736-
# Adding admin user
731+
# Deleting old admin user account if exists
737732
if [ ! -z "$(grep ^admin: /etc/passwd)" ] && [ "$force" = 'yes' ]; then
738733
chattr -i /home/admin/conf > /dev/null 2>&1
739734
userdel -f admin
@@ -750,7 +745,7 @@ if [ -z "$vpass" ]; then
750745
vpass=$(gen_pass)
751746
fi
752747

753-
# Adding vesta account
748+
# Adding admin account
754749
$VESTA/bin/v-add-user admin $vpass $email default System Administrator
755750
if [ $? -ne 0 ]; then
756751
echo "Error: can't create admin user"
@@ -789,7 +784,7 @@ $VESTA/bin/v-add-dns-domain admin default.domain $vst_ip
789784
# Add default mail domain
790785
$VESTA/bin/v-add-mail-domain admin default.domain
791786

792-
# Configuring crond
787+
# Configuring cron jobs
793788
command='sudo /usr/local/vesta/bin/v-update-sys-queue disk'
794789
$VESTA/bin/v-add-cron-job 'admin' '15' '02' '*' '*' '*' "$command"
795790
command='sudo /usr/local/vesta/bin/v-update-sys-queue traffic'
@@ -805,7 +800,7 @@ $VESTA/bin/v-add-cron-job 'admin' '20' '00' '*' '*' '*' "$command"
805800
command='sudo /usr/local/vesta/bin/v-update-sys-rrd'
806801
$VESTA/bin/v-add-cron-job 'admin' '*/5' '*' '*' '*' '*' "$command"
807802

808-
# Build inititall rrd images
803+
# Building inititall rrd images
809804
$VESTA/bin/v-update-sys-rrd
810805

811806
# Enable file system quota

0 commit comments

Comments
 (0)