Added Web and MySQL Vars
This commit is contained in:
65
Vars.md
65
Vars.md
@@ -64,3 +64,68 @@ Usage
|
|||||||
YourCommand > $OUTPUT 2>&1
|
YourCommand > $OUTPUT 2>&1
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# Web-Server variable definition
|
||||||
|
|
||||||
|
###phpver: defines PHP Version (ppa:ondrej/php is required)
|
||||||
|
Options
|
||||||
|
```
|
||||||
|
phpver=7.3
|
||||||
|
phpver=7.2
|
||||||
|
phpver=7.1
|
||||||
|
phpver=7.0
|
||||||
|
phpver=5.6
|
||||||
|
```
|
||||||
|
Usage
|
||||||
|
```
|
||||||
|
apt install -y php${phpver}
|
||||||
|
```
|
||||||
|
|
||||||
|
###cockpit: defines if Cockpit will be installed
|
||||||
|
Options
|
||||||
|
```
|
||||||
|
cockpit=1
|
||||||
|
cockpit=0
|
||||||
|
```
|
||||||
|
|
||||||
|
Usage
|
||||||
|
```
|
||||||
|
if [ $cockpit = 1 ]; then
|
||||||
|
wget https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Cockpit/raw/branch/master/Slave-installer.sh -O Slave-Installer.sh
|
||||||
|
source Slave-Installer.sh
|
||||||
|
fi
|
||||||
|
```
|
||||||
|
|
||||||
|
# MySQL variable definition
|
||||||
|
|
||||||
|
###PHPMyadmin: enables or disables PHP Myadmin
|
||||||
|
Options
|
||||||
|
```
|
||||||
|
PHPMyadmin=1
|
||||||
|
PHPMyadmin=0
|
||||||
|
```
|
||||||
|
Usage
|
||||||
|
```
|
||||||
|
set when Mysql-Installer.sh sourced
|
||||||
|
```
|
||||||
|
|
||||||
|
###sqlver: defines MySQL Version that will be installed
|
||||||
|
Options
|
||||||
|
```
|
||||||
|
sqlver=8.0
|
||||||
|
sqlver=5.7
|
||||||
|
```
|
||||||
|
Usage
|
||||||
|
```
|
||||||
|
wget https://git.ictmaatwerk.com/VPS-scripts/MySQL/raw/branch/master/mysql-${sqlver}.sh -O Mysql-Installer.sh
|
||||||
|
source Mysql-Installer.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
###phpmyadminver: defines PHP Myadmin version
|
||||||
|
Options
|
||||||
|
```
|
||||||
|
phpmyadminver=4.9.0.1 #is curent latest
|
||||||
|
```
|
||||||
|
Usage
|
||||||
|
```
|
||||||
|
Is defined in mysql-8.0.sh and mysql-5.7.sh and needs to be updated when new release comes out
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user