1.5 KiB
Guide for systems / infra maintanance and creation
This guide is assuming you are setting up or maintaining an AlmaLinux (9, 10) server. It guides you from setting up a fresh machine, to installing build dependencies, configuring the firewall, serving and monitoring your apps and lastly protecting them from DDOS.
Setting up a new machine
Prepare a new machine for use with an admin user. Lock out everything but to it.
Installing aplications and build tools
Download packages to build future applications such as NodeJS / Rust.
Set up your apps in /srv/ partition.
Firewall (opening/checking ports)
How to open firewall to let outside traffic to your apps.
Running services and logging with systemd
How to set up a new systemd service and read its logs.
Nginx & Certbot
How to set up Nginx and Certbot to serve your apps with an SSL cert for your desired domain.
Monitoring servers (Beszel)
How to monitor servers with Beszel tool which gives you system load stats and systemd service stats.
Monitoring websites and apis and serving a Status Page (Uptime Kuma)
How to monitor your services and websites with Open Kuma.
Protecting your services and websites with BunnyCDN
How to protect and hide your services and websites from DDOS attacks.
WTF is AlmaLinux
Could be the first link, but really its not that important.