diff options
| author | Aleksa Vučković <aleksav013@gmail.com> | 2022-01-19 22:32:59 +0100 |
|---|---|---|
| committer | Aleksa Vučković <aleksav013@gmail.com> | 2022-01-19 22:32:59 +0100 |
| commit | 84bd770546de26c56302a9d933df5d81d2f12ee0 (patch) | |
| tree | 86131e865ca8e6bbbd5183137e2d837037f86ae7 | |
| parent | af573a324938b5657b602a77988b0ef5689a2709 (diff) | |
Few changes
| -rw-r--r--[-rwxr-xr-x] | pisetup | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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 |
