„install.sh“ ändern
This commit is contained in:
parent
accac16f78
commit
838465e699
@ -1,7 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
echo Startting installation
|
||||||
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
|
||||||
mv mylinks/mylinks.conf /etc/apache2/sites-available/
|
mv mylinks/mylinks.conf /etc/apache2/sites-available/
|
||||||
a2ensite mylinks
|
a2ensite mylinks
|
||||||
a2dissite 000-default.conf
|
a2dissite 000-default.conf
|
||||||
|
echo Cleaning installation
|
||||||
|
rm mylinks/README.md
|
||||||
|
rm mylinks/install.sh
|
||||||
|
echo Finished installation
|
Loading…
Reference in New Issue
Block a user