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