ssh root@YOURIP -pYOURPORT
ssh [email protected] -p2345
apt update && apt upgrade
nano /etc/ssh/sshd_config /etc/init.d/ssh restart
useradd -g users -d /home/USERNAME -m -s /bin/bash USERNAME
passwd
systemctl ssh restart /etc/init.d/ssh restart
export PATH="/user/sbin:$PATH"
visudo insert: USERNAME ALL=(ALL) ALL
in /etc/ssh/sshd_config insert: AllowUsers USERNAME
in: nano /etc/ssh/sshd_config set RootLogin: no
apt install ufw
sudo ufw allow 80/tcp sudo ufw allow 443/tcp sudo ufw allow 10000/udp sudo ufw allow 3478/udp sudo ufw allow 5349/tcp sudo ufw allow YOURPORT/tcp sudo ufw enable
sudo apt install gnupg2 nginx-full sudo apt transport-https curl https://download.jitsi.org/jitsi-key.gpg.key | sudo sh -c 'gpg --dearmor > /usr/share/keyrings/jitsi-keyring.gpg' echo 'deb [signed-by=/usr/share/keyrings/jitsi-keyring.gpg] https://download.jitsi.org stable/' | sudo tee /etc/apt/sources.list.d/jitsi-stable.list > /dev/null sudo apt update
sudo apt install jitsi-meet
sudo apt-get purge jigasi jitsi-meet jitsi-meet-web-config jitsi-meet-prosody jitsi-meet-turnserver jitsi-meet-web jicofo jitsi-videobridge jitsi-videobridge2 prosody nginxsudo apt-get autopurge
rm -r /etc/nginx
rm -r /etc/jitsi
rm -r /etc/prosody
rm -r /usr/share/jitsi*
https://www.tecmint.com/initial-ubuntu-server-setup-guide/ https://www.tecmint.com/install-jitsi-meet-on-debian-and-ubuntu/
IMPORTANT NOTES:
- Congratulations! Your certificate and chain have been saved at: /etc/letsencrypt/live/jitsi.wethen-meetings.de/fullchain.pem
Your key file has been saved at: /etc/letsencrypt/live/jitsi.wethen-meetings.de/privkey.pem
Your cert will expire on 2021-09-04. To obtain a new or tweaked version of this certificate in the future, simply run certbot again. To non-interactively renew *all* of your certificates, run "certbot renew" - Your account credentials have been saved in your Certbot configuration directory at /etc/letsencrypt. You should make a secure backup of this folder now. This configuration directory will also contain certificates and private keys obtained by Certbot so making regular backups of this folder is ideal.
- automate system update
- automatic ssl update
- ssh key generation
- jitsi accounts
- login notification
- (harden)