aboutsummaryrefslogtreecommitdiff
path: root/pisetup
diff options
context:
space:
mode:
Diffstat (limited to 'pisetup')
-rw-r--r--[-rwxr-xr-x]pisetup8
1 files changed, 3 insertions, 5 deletions
diff --git a/pisetup b/pisetup
index a532b25..fd80efe 100755..100644
--- a/pisetup
+++ b/pisetup
@@ -1,5 +1,3 @@
-!/bin/bash
-
# prepare os
#unzip -p <arm64_lite>.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