Join our Telegram: @serverrental_wiki | BTC Analysis | Trading Signals | Telegraph
Basic Server Administration Skills for Beginners
Basic server administration skills are essential for anyone managing a VPS or dedicated server. This article covers the foundational knowledge every beginner should develop.
Skill 1: Command Line Proficiency
The command line is your primary interface with the server. Master these fundamentals:
- Navigation:
cd,ls,pwd,find - File editing:
nano(beginner-friendly) orvim(powerful) - File management:
cp,mv,rm,mkdir - Viewing files:
cat,less,head,tail - Searching:
grep,find,locate
Start with nano for editing configuration files — it displays shortcut keys at the bottom of the screen and requires no learning curve.
Skill 2: Understanding File Permissions
Linux permissions control who can read, write, or execute files:
-rwxr-xr-- 1 owner group 4096 Jan 1 12:00 file.txt
- r (read) = 4
- w (write) = 2
- x (execute) = 1
Common permission settings:
644— owner reads/writes, everyone else reads (files)755— owner full access, everyone else reads/executes (directories, scripts)600— owner only reads/writes (private keys, configs with passwords)
Skill 3: Service Management
Learn to control services with systemd:
sudo systemctl start nginx # start service sudo systemctl stop nginx # stop service sudo systemctl restart nginx # restart service sudo systemctl status nginx # check if running sudo systemctl enable nginx # start on boot
Check logs for a specific service:
journalctl -u nginx --since "1 hour ago"
Skill 4: Process Monitoring
Monitor what is consuming server resources:
htop— interactive process viewer (install withapt install htop)df -h— disk space usagefree -m— memory usagess -tulnp— listening ports and associated processesuptime— system load averages
When load average exceeds your CPU core count, the server is overloaded.
Skill 5: Log Analysis
Important log locations:
| Log File | Contents |
|---|---|
| /var/log/syslog | General system messages |
| /var/log/auth.log | Authentication attempts (SSH logins) |
| /var/log/nginx/access.log | Web server requests |
| /var/log/nginx/error.log | Web server errors |
| /var/log/mysql/error.log | Database errors |
Useful commands:
tail -f /var/log/syslog # follow log in real time
grep "Failed password" /var/log/auth.log # find failed logins
awk '{print $1}' access.log | sort | uniq -c | sort -rn | head # top IPs
Skill 6: Basic Networking
Every administrator should know:
ping— test if a host is reachabletraceroute— trace the network pathdig/nslookup— DNS lookupscurl— test HTTP endpointsip addr— show network interfaces
Skill 7: Backup Basics
At minimum, set up regular backups:
# Simple backup with rsync rsync -avz /var/www/ /backup/www/
# Compressed archive tar czf backup-$(date +%Y%m%d).tar.gz /var/www/
Automate with cron:
crontab -e # Add: daily backup at 3 AM 0 3 * * * rsync -avz /var/www/ /backup/www/
Learning Path
- Set up a practice VPS (see Setting Up Your First VPS: A Beginner's Tutorial)
- Complete the initial security hardening
- Practice the core Linux commands
- Break things on purpose and learn to fix them
- Gradually take on more complex tasks