This commit is contained in:
Bram Prieshof
2020-09-09 13:15:40 +02:00
parent a8df7e2d94
commit 96a9b0410c

14
Vars.md
View File

@@ -54,7 +54,7 @@ $PKGI <package name>
``` ```
###PKGA: defines command to add repo ### PKGA: defines command to add repo
Options Options
``` ```
PKGA="add-apt-repository" (software-properties-common is required) PKGA="add-apt-repository" (software-properties-common is required)
@@ -65,7 +65,7 @@ $PKGA ppa:ondrej/php -y
``` ```
## Other ## Other
###OUTPUT: used to silence a script ### OUTPUT: used to silence a script
Options Options
``` ```
OUTPUT='/dev/null' #Hide output OUTPUT='/dev/null' #Hide output
@@ -78,7 +78,7 @@ YourCommand > $OUTPUT 2>&1
# Web-Server variable definition # Web-Server variable definition
###phpver: defines PHP Version (ppa:ondrej/php is required) ### phpver: defines PHP Version (ppa:ondrej/php is required)
Options Options
``` ```
phpver=7.3 phpver=7.3
@@ -92,7 +92,7 @@ Usage
apt install -y php${phpver} apt install -y php${phpver}
``` ```
###cockpit: defines if Cockpit will be installed ### cockpit: defines if Cockpit will be installed
Options Options
``` ```
cockpit=1 cockpit=1
@@ -109,7 +109,7 @@ fi
# MySQL variable definition # MySQL variable definition
###PHPMyadmin: enables or disables PHP Myadmin ### PHPMyadmin: enables or disables PHP Myadmin
Options Options
``` ```
PHPMyadmin=1 PHPMyadmin=1
@@ -120,7 +120,7 @@ Usage
set when Mysql-Installer.sh sourced set when Mysql-Installer.sh sourced
``` ```
###sqlver: defines MySQL Version that will be installed ### sqlver: defines MySQL Version that will be installed
Options Options
``` ```
sqlver=8.0 sqlver=8.0
@@ -132,7 +132,7 @@ wget https://git.ictmaatwerk.com/VPS-scripts/MySQL/raw/branch/master/mysql-${sql
source Mysql-Installer.sh source Mysql-Installer.sh
``` ```
###phpmyadminver: defines PHP Myadmin version ### phpmyadminver: defines PHP Myadmin version
Options Options
``` ```
phpmyadminver=4.9.0.1 #is curent latest phpmyadminver=4.9.0.1 #is curent latest