yannmoelle/install.sh

12 lines
337 B
Bash
Raw Normal View History

2023-04-14 17:05:40 +02:00
#!/bin/bash
2023-04-14 18:30:54 +02:00
echo Startting installation
2023-04-14 17:03:30 +02:00
apt install curl apache2 git -y
2023-04-14 17:56:21 +02:00
cd /var/www/html/
2023-04-14 18:17:17 +02:00
git clone https://git.moelle.space/hxcde/mylinks.git
2023-04-14 18:24:13 +02:00
mv mylinks/mylinks.conf /etc/apache2/sites-available/
2023-04-14 18:19:58 +02:00
a2ensite mylinks
2023-04-14 18:30:54 +02:00
a2dissite 000-default.conf
echo Cleaning installation
rm mylinks/README.md
rm mylinks/install.sh
echo Finished installation