Basic Server Administration Skills for Beginners

From Server rental store
Revision as of 16:03, 12 April 2026 by Admin (talk | contribs) (New guide article)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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) or vim (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 with apt install htop)
  • df -h — disk space usage
  • free -m — memory usage
  • ss -tulnp — listening ports and associated processes
  • uptime — 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 reachable
  • traceroute — trace the network path
  • dig / nslookup — DNS lookups
  • curl — test HTTP endpoints
  • ip 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

  1. Set up a practice VPS (see Setting Up Your First VPS: A Beginner's Tutorial)
  2. Complete the initial security hardening
  3. Practice the core Linux commands
  4. Break things on purpose and learn to fix them
  5. Gradually take on more complex tasks

See Also