🚀 First Steps After Getting a Server
At the moment, this is the main article of the website, which will be updated over time.
So, you’ve just acquired a server—whether it’s on DigitalOcean, AWS, a standard VPS, or even a home machine. What should you do next? 🧑💻
This guide is perfect if you’re running Ubuntu on your server.
- 🔐 Connect to your server via SSH
- 🔄 Update the system packages
- 👤 Create a new user that you’ll use for everyday work
- ⚙️ Configure the user’s permissions and settings
- ✍️ Install a convenient text editor
- 🛡️ Secure your SSH connection by generating an RSA key, setting up key-based authentication, and disabling password login
- 🛡️ Install fail2ban to protect against brute-force attacks
- 🛡️ Install and configure a firewall (ufw) to control incoming and outgoing traffic
- 💾 If your server has limited disk space, configure log rotation to prevent logs from taking up too much room
- 💾 If your server has low RAM, be sure to configure a swap file
- 🕰️ Install Timeshift and create a system restore point
- 🌀 Switch from bash to zsh for a more powerful shell experience
- 📦 Install any necessary software for your projects