From 84bd770546de26c56302a9d933df5d81d2f12ee0 Mon Sep 17 00:00:00 2001 From: Aleksa Vučković Date: Wed, 19 Jan 2022 22:32:59 +0100 Subject: Few changes --- pisetup | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) mode change 100755 => 100644 pisetup (limited to 'pisetup') diff --git a/pisetup b/pisetup old mode 100755 new mode 100644 index a532b25..fd80efe --- a/pisetup +++ b/pisetup @@ -1,5 +1,3 @@ -!/bin/bash - # prepare os #unzip -p .img | dd of=/dev/mmcblk0 conv=fsync bs=4M status=progress @@ -13,7 +11,6 @@ arm_freq=2147 gpu_freq=750 - # update system apt update apt dist-upgrade @@ -26,6 +23,7 @@ apt install tmux neovim ranger neofetch #ssh-copy-id -i .ssh/id_rsa.pub pi@192.168.0.22 #passwd +#rfkill block bluetooth # set ssh to accept only keys on localhost* vim /etc/ssh/sshd_config @@ -46,7 +44,7 @@ sed -i "s/80/8080/" /etc/lighttpd/lighttpd.conf service lighttpd restart # installing -apt install nginx certbot python3-certbot-nginx ufw fail2ban prosody +apt install nginx certbot python3-certbot-nginx ufw fail2ban prosody coturn # move default index page to /var/www/html/default mkdir /var/www/html/default @@ -70,7 +68,7 @@ ufw enable # certbot certbot -d gajba.cf --nginx -certbot certonly -d conference.gajba.cf --nginx +certbot certonly -d chat.gajba.cf --nginx # ovpns pivpn add -n aleksa -- cgit v1.2.3