„install.sh“ ändern
This commit is contained in:
parent
dd9ee71136
commit
b7ff6e1f6f
11
install.sh
11
install.sh
@ -2,15 +2,6 @@
|
||||
apt install curl apache2 git -y
|
||||
cd /var/www/html/
|
||||
git clone https://git.moelle.space/hxcde/mylinks.git
|
||||
cat <<EOF | grep 'b' | tee mylinks.conf
|
||||
foo
|
||||
<VirtualHost *:80>
|
||||
ServerAdmin webmaster@localhost
|
||||
DocumentRoot /var/www/html/mylinks/
|
||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||
</VirtualHost>
|
||||
EOF
|
||||
mv mylinks.conf /etc/apache2/sites-available/
|
||||
mv /mylinks/mylinks.conf /etc/apache2/sites-available/
|
||||
a2ensite mylinks
|
||||
a2dissite 000-default.conf
|
Loading…
Reference in New Issue
Block a user