15 lines
263 B
Bash
15 lines
263 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
if [ "$apache2_version" != 'latest' ] ; then
|
||
|
echo 'ERROR: unable to install Apache2 - only '"'latest'"' version currently supported'
|
||
|
exit 30
|
||
|
fi
|
||
|
|
||
|
ssh -T $ssh << EOSSH
|
||
|
echo "Installing Apache2"
|
||
|
apt install -y apache2
|
||
|
ufw allow in "WWW Full"
|
||
|
EOSSH
|
||
|
|
||
|
|