„install.sh“ ändern

This commit is contained in:
Yann Mölle 2023-04-14 18:19:58 +02:00
parent 0373502f0b
commit 541c323fd9

View File

@ -2,7 +2,8 @@
apt install curl apache2 git -y apt install curl apache2 git -y
cd /var/www/html/ cd /var/www/html/
git clone https://git.moelle.space/hxcde/mylinks.git git clone https://git.moelle.space/hxcde/mylinks.git
cat <<EOF | grep 'b' | tee /etc/apache2/sites-available/mylinks.conf cat <<EOF | grep 'b' | tee mylinks.conf
foo
<VirtualHost *:80> <VirtualHost *:80>
ServerAdmin webmaster@localhost ServerAdmin webmaster@localhost
@ -13,3 +14,6 @@ cat <<EOF | grep 'b' | tee /etc/apache2/sites-available/mylinks.conf
</VirtualHost> </VirtualHost>
EOF EOF
mv mylinks.conf /etc/apache2/sites-available/
a2ensite mylinks
a2dissite 000-default.conf