tarina

git clone https://git.tarina.org/tarina
Log | Files | Refs | README | LICENSE

commit 48c06a160c4b16abe6b0d781567f1ccee2f88a5c
parent 096ea39d0593da8e9382073d344ed18620094e12
Author: rob <rob@tarina.org>
Date:   Mon, 20 Mar 2023 09:38:33 +0000

working

Diffstat:
Minstall.sh | 12++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/install.sh b/install.sh @@ -161,7 +161,6 @@ else echo "screen driver already there, to change it remove tarina config in /boot/config.txt" fi - echo "Change hostname to tarina" cat <<'EOF' > /etc/hostname tarina @@ -250,11 +249,20 @@ echo "systemd configuration done!" echo "Installing tarina apache server configuration" cp extras/tarina.conf /etc/apache2/sites-available/ -ln -s -t /var/www/ /home/pi/tarina/srv/ +#ln -s -t /var/www/ /home/pi/tarina/srv/ a2dissite 000-default.conf a2ensite tarina.conf +echo "configure srv path to /home/pi/tarina/srv' +cat <<'EOF' >> /etc/apache2/apache2.conf +<Directory /home/pi/tarina/srv> + Options Indexes FollowSymLinks + AllowOverride None + Require all granted +</Directory> +EOF systemctl reload apache2 + echo 'Dont do sync while copying to usb drives, does increase speed alöt!' sed -i '/MOUNTOPTIONS=/c\MOUNTOPTIONS="noexec,nodev,noatime,nodiratime"' /etc/usbmount/usbmount.conf