Search
Lessons (13)
- Processes, Services & systemd
See what's running with ps and top, stop stuck programs, and turn your app into a systemd …
- Deploy a Node.js App to a VPS, Step by Step
… Run it with systemd bash sudo tee /etc/systemd/system/myapp.service /dev/null <<'EOF' [Unit] Description=myapp …
- DevOps and the Path from Code to Server
… Run The app runs as a service and restarts if it crashes Linux, systemd, Nginx, Docker 6. Monitor …
- Zero-Downtime Deploys & Rollbacks
… The systemd unit points at the symlink: ini [Service] WorkingDirectory=/var/www/myapp/current EnvironmentFile=/var/www/myapp …
- Monitoring, Logs & Backups
… Logs Application logs with journald systemd stores your app's stdout/stderr in the journal (lesson 4): bash …
- Linux Troubleshooting Playbook & Interview Questions
… What is systemd, and how do you keep a Node.js app running?</strong </summary systemd is the …
- Bash Scripting & Scheduled Jobs
… CI systems, systemd and other scripts read it. bash grep -q "ERROR" app.log echo $? 0 if found …
- Docker in Production on a Single Server
… Many teams start with systemd and move to Docker when they add services or servers. Key takeaways - Use …
- Jenkins: From Install to Your First Pipeline
… Ubuntu server (systemd service) bash Jenkins needs Java (17 or 21) sudo apt update sudo apt install -y …
- Running Kafka in Production: The DevOps View
… core.somaxconn=4096 fs.file-max=1000000 ini systemd service override: Kafka opens many files (one per segment …
- Linux Command-Line Essentials
… for --- --- --- /etc System and app configuration Nginx config, systemd units, SSH settings /var/log Log files Finding out …
- Nginx Reverse Proxy & HTTPS
… the systemd unit starts the app on one port, but Nginx proxies to another (or to a different …
- Kafka for Backend Services
… Graceful shutdown and rebalances When you deploy a new version, Kubernetes (or systemd) sends SIGTERM . A clean shutdown …