Real Computing Test
Real Computing
SO PICKY!!!
you have to do sudo - to make the usermod command work!
su WON'T do it.
SOLUTION: Once you add your user to sudo group, ALWAYS use sudo.
Don't do anything as root.
- Update system and reboot.
- https://www.digitalocean.com/community/tutorials/initial-server-setup-with-debian-11
a. Install UFW and look at essentials guide.
https://www.digitalocean.com/community/tutorials/ufw-essentials-common-firewall-rules-and-commands
b. Setup SSH Keys with ssh-copy-id
c. Find out how to use a non-standard port with UFW Firewall.
sudo ufw allow [port number]/tcpsudo ufw delete allow 22/tcp(disable 22 to avoid conflicts)sudo ufw enabled. Install Caddy on Debian 11:curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg--install golang
After configuring the server and Caddy is running, copy the bash history file someplace safe so you can see what you did.