„install.sh“ ändern
This commit is contained in:
parent
0373502f0b
commit
541c323fd9
@ -2,7 +2,8 @@
|
||||
apt install curl apache2 git -y
|
||||
cd /var/www/html/
|
||||
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>
|
||||
|
||||
ServerAdmin webmaster@localhost
|
||||
@ -12,4 +13,7 @@ cat <<EOF | grep 'b' | tee /etc/apache2/sites-available/mylinks.conf
|
||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||
|
||||
</VirtualHost>
|
||||
EOF
|
||||
EOF
|
||||
mv mylinks.conf /etc/apache2/sites-available/
|
||||
a2ensite mylinks
|
||||
a2dissite 000-default.conf
|
Loading…
Reference in New Issue
Block a user