mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-19 21:04:06 -07:00
Update vst-install-debian.sh
Fixed few spelling problems ...
This commit is contained in:
parent
3b5f5f738b
commit
18879e3990
1 changed files with 6 additions and 6 deletions
|
@ -24,7 +24,7 @@ help() {
|
||||||
-e, --email Set email address
|
-e, --email Set email address
|
||||||
-f, --force Force installation
|
-f, --force Force installation
|
||||||
-h, --help Print this help and exit
|
-h, --help Print this help and exit
|
||||||
-n, --noupdate Do not run yum update command
|
-n, --noupdate Do not apt-get upgrade command
|
||||||
-m, --mysql-password Set MySQL password instead of generating it
|
-m, --mysql-password Set MySQL password instead of generating it
|
||||||
-p, --password Set admin password instead of generating it
|
-p, --password Set admin password instead of generating it
|
||||||
-s, --hostname Set server hostname
|
-s, --hostname Set server hostname
|
||||||
|
@ -72,7 +72,7 @@ while getopts "dhfnqe:m:p:s:" Option; do
|
||||||
h) help ;; # Help
|
h) help ;; # Help
|
||||||
e) email=$OPTARG ;; # Set email
|
e) email=$OPTARG ;; # Set email
|
||||||
f) force='yes' ;; # Force install
|
f) force='yes' ;; # Force install
|
||||||
n) noupdate='yes' ;; # Disable yum update
|
n) noupdate='yes' ;; # Disable apt-get upgrade
|
||||||
m) mpass=$OPTARG ;; # MySQL pasword
|
m) mpass=$OPTARG ;; # MySQL pasword
|
||||||
p) vpass=$OPTARG ;; # Admin password
|
p) vpass=$OPTARG ;; # Admin password
|
||||||
s) servername=$OPTARG ;; # Server hostname
|
s) servername=$OPTARG ;; # Server hostname
|
||||||
|
@ -89,7 +89,7 @@ fi
|
||||||
|
|
||||||
# Check supported version
|
# Check supported version
|
||||||
if [ -e '/etc/redhat-release' ] || [ -e '/etc/lsb-release' ]; then
|
if [ -e '/etc/redhat-release' ] || [ -e '/etc/lsb-release' ]; then
|
||||||
echo 'Error: sorry, this installer can work only on Debian 7'
|
echo 'Error: sorry, this installer works only on Debian 7'
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -554,9 +554,9 @@ wget $CHOST/$VERSION/apache2-status.conf \
|
||||||
wget $CHOST/$VERSION/apache2.log -O /etc/logrotate.d/apache2
|
wget $CHOST/$VERSION/apache2.log -O /etc/logrotate.d/apache2
|
||||||
rm -f /etc/apache2/conf.d/vesta.conf
|
rm -f /etc/apache2/conf.d/vesta.conf
|
||||||
echo > /etc/apache2/conf.d/vesta.conf
|
echo > /etc/apache2/conf.d/vesta.conf
|
||||||
echo "# Powevered by vesta" > /etc/apache2/sites-available/default
|
echo "# Powered by vesta" > /etc/apache2/sites-available/default
|
||||||
echo "# Powevered by vesta" > /etc/apache2/sites-available/default-ssl
|
echo "# Powered by vesta" > /etc/apache2/sites-available/default-ssl
|
||||||
echo "# Powevered by vesta" > /etc/apache2/ports.conf
|
echo "# Powered by vesta" > /etc/apache2/ports.conf
|
||||||
touch /var/log/apache2/access.log
|
touch /var/log/apache2/access.log
|
||||||
touch /var/log/apache2/error.log
|
touch /var/log/apache2/error.log
|
||||||
mkdir -p /var/log/apache2/domains
|
mkdir -p /var/log/apache2/domains
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue