server-management
Installation
SKILL.md
Server Management (DigitalOcean)
When to use this skill
- Provisioning a new DigitalOcean Droplet.
- Configuring Nginx or UFW.
- Troubleshooting Linux server issues.
1. Initial Setup
- User: Create a non-root user with sudo privileges immediately.
- SSH: Disable password login (
PermitRootLogin no,PasswordAuthentication no). Use SSH keys.
2. Security
- Firewall (UFW):
ufw allow OpenSSH ufw allow 'Nginx Full' ufw enable - Fail2Ban: Install to prevent brute force attacks.