If you want to start getting into server hosting, system administration, or just want to get a basic minecraft/web server up for you and your friends, then welcome. We all start somewhere, and I would love if I could get your foot in the door.
This is a WIP, so I'll be adding to this guide whenever I get time, and will update it's readibility once it's 'complete'.
Basic Server setup
- TODO:Get a server
- Basic Debian Server setup (with some security)
- TODO:Get a domain name
- Connect your server and domain name
Now you officially own, and have setup a server. Currently all you can do is SSH into it though, so let's get some services on there
Nginx Webserver
A great first service for any server is a website, even if it's just a little page to let people know you own the server/domain name
- TODO:Install nginx
- TODO:Setup your first website
- TODO:Add an SSL certificate w/Certbot
- TODO:Nginx web hardening
- TODO:Add PHP to your webserver (optional)
MariaDB Database
A database is a great tool to store, access, and filter data. Typically used alongside a website, or other services, but can be useful standalone if you know what you're doing
- TODO:Install mariaDB
- TODO:SQL cheatsheet
- TODO:Adminer install
- TODO:Backup databases (optional)
Backup your server!
Backups are super useful. If something breaks, or gets accidentally deleted you can always use a backup to get back it back
- TODO:Setup rsync
- TODO:Setup rdiff-backup
- TODO:Setup backup cronjob(s)
Run virtual machines
Virtual machines allow you to use your server as multiple servers at once, with different operating systems, services, files, etc.
- TODO:Setup Qemu/KVM
- TODO:Setup a bridged adapter
- TODO:Setup a virtual machine
- TODO:Virsh cheatsheet
Proxy services to port 80/433
Many services you install will be accessible via the web, but will use a different ports. Proxying these allows access (and security) without the need to append a port to the server address
Additional services/potential guides
Unless there is an anchor, these are all "TODO", and may just be omitted from this guide
- Install debain on home server
- Self hosting and port forwarding
- Password protect webpages
- git
- samba
- Open Media Vault
- minecraft
- terraria
- umami
- uptime kuma
- torrentbox
- jellyfin
- VPN
- mailserver
- cockpit for noob-friendly server management