Home/Guides/SysAdmin Handbook

The SysAdmin Handbook

A practical reference for running real infrastructure: identity, DNS, storage, web servers, firewalls, switching, virtualisation, monitoring, backup and security — with troubleshooting playbooks for when things break.

WSUS — Windows Server Update Services

In short: WSUS is a Microsoft patch-management service. It allows administrators to centrally synchronise, approve and deploy Windows updates to client computers and servers.

Synchronise→Test→Approve→Pilot group→Wider rollout→Monitor
  • Synchronises update metadata and content.
  • Administrators approve or decline updates.
  • Computers can be organised into deployment groups.
  • Update status can be monitored.
  • Test updates before broad production deployment.

DNS — Domain Name System

In short: DNS translates domain names and hostnames into IP addresses. In Active Directory, DNS is also important for locating Domain Controllers and other domain services. Example: server.company.local resolves to an IP address.

RecordPurpose
AHostname to IPv4
AAAAHostname to IPv6
CNAMEAlias to another hostname
MXMail server
PTRReverse lookup
SRVLocates services such as AD services
TXTText information, often used for verification

AD vs WSUS vs DNS vs DHCP

ADIdentity and access management.
WSUSWindows update management.
DNSName resolution and service discovery.
DHCPAutomatic IP configuration.

RAID — Redundant Array of Independent Disks

In short: RAID combines physical disks into a logical storage system to improve performance, provide redundancy, or both. Protection depends on the RAID level.

RAIDMin disksMethodFailure tolerance
02StripingNone
12MirroringUsually one disk in a mirror
53Distributed parityOne disk
64Dual parityTwo disks
104Mirroring + stripingDepends on which disks fail

Example with two 1 TB disks: RAID 0 provides about 2 TB usable with no redundancy; RAID 1 provides about 1 TB usable with a mirrored copy.

If one RAID 5 disk fails: the array becomes degraded. Data may remain accessible but redundancy is reduced. Identify the failed disk, verify backup health, replace the correct disk and monitor rebuilding according to the vendor's procedure.

Remember: RAID is not a backup. It does not protect against deletion, ransomware, corruption, theft or site disasters.

LVM — Logical Volume Manager

In short: LVM is Linux storage-management technology that provides flexible disk-space management. It combines physical storage into a volume group and creates logical volumes that can be resized as requirements change.

Physical disk/partition→PV→VG→LV→Filesystem→Mount point
PV — Physical VolumeDisk or partition prepared for LVM.
VG — Volume GroupStorage pool made from one or more PVs.
LV — Logical VolumeLogical storage allocated from a VG.
AdvantageFlexible allocation, resizing volumes and pooling multiple disks.

These lab commands modify disks. Use a disposable lab disk and verify device names.

lsblk
sudo pvcreate /dev/sdb
sudo vgcreate vg_data /dev/sdb
sudo lvcreate -L 10G -n lv_backup vg_data
sudo mkfs.ext4 /dev/vg_data/lv_backup
sudo mkdir -p /backup
sudo mount /dev/vg_data/lv_backup /backup
sudo pvs
sudo vgs
sudo lvs

Nginx — Web Server and Reverse Proxy

In short: Nginx is an open-source web server that serves static websites and can act as a reverse proxy, load balancer and HTTP cache.

Common uses: website hosting and static content · reverse proxy to backend applications · load balancing · TLS termination · HTTP caching.

User / Browser→Nginx→Backend application
# Ubuntu / Debian
sudo apt update
sudo apt install nginx
sudo systemctl start nginx
sudo systemctl enable nginx
sudo systemctl status nginx
sudo nginx -t
sudo systemctl reload nginx

# Logs
/var/log/nginx/access.log
/var/log/nginx/error.log

Troubleshooting an unavailable site: check service status, configuration syntax, listening ports, firewall, DNS, access/error logs and backend application health.

IIS — Internet Information Services

In short: IIS is Microsoft's web-server software used to host websites, web applications and APIs on Windows Server.

ComponentPurpose
WebsiteHosts a web application
Application PoolIsolates applications and manages worker processes
BindingProtocol, IP, port and hostname
SSL certificateEnables HTTPS
Default DocumentSpecifies default page
AuthenticationControls access

Basic hosting steps

  1. Install the Web Server (IIS) role.
  2. Open IIS Manager and add a website.
  3. Set its physical path.
  4. Configure IP, port and hostname bindings.
  5. Set appropriate folder permissions for the application identity.
  6. Configure the SSL certificate and HTTPS binding.
  7. Test access locally and from an authorised client.

Application Pool: isolates web applications into separate worker-process environments. An issue in one pool is less likely to directly affect applications in other pools.

Troubleshooting a down site: check website and application-pool state, bindings, DNS, certificate, folder permissions, application logs, Event Viewer and firewall access.

Sophos XGS 2100 firewall

Prepare to explain firewall policies, NAT, IPS, web filtering, SSL VPN, IPsec VPN, VLANs, authentication and traffic logs.

NATChanges source or destination IP information as traffic passes through a device.
SNATChanges the source address, commonly translating private client addresses to a public address.
DNATChanges the destination address, commonly forwarding incoming traffic to an internal server.
IPSInspects traffic for attack patterns and can block detected threats.
SSL VPNCommonly used for remote-user VPN access.
IPsec VPNCommonly used for site-to-site or remote VPN tunnels.

Troubleshooting no internet access

  1. Check physical connectivity and client IP configuration.
  2. Check the default gateway.
  3. Test an external IP.
  4. Test DNS resolution.
  5. Review firewall policies, NAT and traffic logs.
  6. Check authentication, web filtering and application restrictions.
  7. Verify after an approved change.

Sophos Local Service ACL

Controls which firewall services can be reached from network zones — for example HTTPS administration, SSH, ping, DNS, VPN portals and SNMP.

  • Restrict HTTPS and SSH administration to trusted management devices or networks.
  • Avoid exposing firewall administration on WAN without a specific approved need.
  • Enable only services required in each zone.
  • Restrict SNMP to authorised monitoring systems; prefer SNMPv3 where supported.
  • Do not disable VPN or authentication services before checking dependencies.
  • Back up configuration and plan changes to avoid production disruption.

Cisco switching and VLANs

VLAN: logically separates a switched network into broadcast domains and can help enforce network boundaries.

Access portNormally carries one assigned VLAN.
Trunk portCarries multiple VLANs, commonly using IEEE 802.1Q tags.

Different VLANs cannot communicate — troubleshooting

  1. Check IP addresses and subnet masks.
  2. Verify VLAN assignment on switch ports.
  3. Check trunk configuration and allowed VLANs.
  4. Verify default gateways.
  5. Check inter-VLAN routing.
  6. Check firewall policies or ACLs.
  7. Test and inspect logs.

Also revise OSI/TCP-IP, subnetting, static routing, STP/RSTP, DHCP, DNS, NAT, ACLs and port security — see the Networking track.

Proxmox and VMware

Proxmox VE is a virtualisation platform for virtual machines and Linux containers.

Prepare: hypervisor concepts · VM vs container · Linux bridges and virtual networking · storage pools · snapshots and backups · VM restoration · clustering and HA · CPU, RAM and storage monitoring.

SnapshotCaptures a point-in-time state.
BackupA recoverable copy intended to protect workloads. A snapshot alone is not a substitute for an independent backup.

Do not claim cluster or HA experience if you have only managed standalone hosts.

Wazuh SIEM

Wazuh is an open-source security monitoring platform for endpoint monitoring, log analysis, threat detection and security investigations.

Wazuh agent→Server / manager→Indexer→Dashboard

Monitor: repeated failed logins · unexpected privileged logins · new administrator accounts · critical file/configuration changes · malware and vulnerability alerts · unexpected service stops.

File Integrity Monitoring (FIM): watches selected files and directories for changes, helping identify unexpected modifications.

Investigate an alert: identify endpoint/account/time; review related logs; validate whether activity is expected; contain or escalate according to incident procedures; document findings.

Linux administration quick revision

uptime
top
free -h
df -h
lsblk
systemctl --failed
journalctl -xe
ss -tulpn
ip addr
systemctl --type=service --state=running

Failed service troubleshooting

  1. systemctl status <service>
  2. journalctl -u <service>
  3. Validate configuration.
  4. Check dependencies, permissions, ports and disk space.
  5. Apply a controlled fix and verify.

Backup and disaster recovery

3copies of important data
2different storage types
1copy offsite

Also separate backup credentials, restrict access, use immutable/offline copies where practical, encrypt sensitive data, monitor failures and test restores.

HA — High AvailabilityMinimises downtime when components fail.
DR — Disaster RecoveryRestores services after a major outage or disaster.
RPO — Recovery Point ObjectiveMaximum tolerable data loss measured in time.
RTO — Recovery Time ObjectiveTarget time to restore a service.

Infrastructure security checklist

No environment can be guaranteed 100% secure. Reduce risk, detect suspicious activity and recover safely.

FirewallRestrict management access to trusted networks · disable unnecessary WAN administration · review broad or unused rules · MFA for privileged and remote access · keep firmware supported and updated · review VPN users and permissions · enable useful logging.
Active Directory & WindowsSeparate privileged and standard accounts · restrict Domain Admin membership · review inactive accounts · apply security policies through GPO · use Windows LAPS · keep security updates current · monitor privileged logins and account changes.
LinuxRestrict SSH access · disable direct root SSH login · key-based authentication · apply security updates · disable unnecessary services · least-privilege permissions · monitor authentication and system logs.
NetworkSeparate user, server, guest and management networks · disable unused switch ports · restrict switch management · control inter-VLAN communication · use secure management protocols.
Monitoring & recoveryCollect logs centrally · monitor critical endpoints and servers · investigate security alerts · synchronise system time · verify backup jobs and test restores.

Seven-day security audit plan

DayActivity
Day 1Inventory servers, endpoints, network devices and exposed services
Day 2Review Sophos firewall rules, VPN users and administration access
Day 3Review AD privileged/inactive accounts and GPOs
Day 4Review VLANs, switch ports and inter-VLAN access
Day 5Review Windows/Linux patches, services, ports and logs
Day 6Review Wazuh agent coverage and critical alerts
Day 7Verify backups and test a non-production restore

Document current configuration, obtain approval, consider dependencies and prepare rollback steps before changing production systems.

Real-world troubleshooting scenarios

Every incident follows the same structured method:

Identify impact→Gather evidence→Isolate the fault→Restore service→Verify→Document
A domain user cannot log inCheck network and IP configuration · DNS and Domain Controller discovery · account status, lockout and password · authentication and DC logs · time synchronisation and replication.
Linux disk is 100% fulldf -h to find the filesystem · du to find large directories · check logs, temp files and app data · identify purpose/owner before deleting · expand or clean up safely · verify services.
User can ping 8.8.8.8 but cannot open websitesCheck DNS resolution · proxy and web-filtering policies · firewall logs · browser/application behaviour · one user or many?
Production VM unavailableEstablish scope and business impact · hypervisor, storage and network health · VM state and logs · resource exhaustion · recover via approved HA or restore · verify the app and document cause.
Repeated failed logins in WazuhIdentify endpoint, account and source · review timestamps and related events · determine whether activity is expected · follow the incident-response process · contain, escalate and document.

What to study next

PriorityTopicFocus
1Windows Server & ADAD DS, DNS, DHCP, GPO, FSMO, replication
2Linuxsystemd, permissions, LVM, RAID, logs, SSH
3NetworkingSubnetting, VLANs, STP, routing, NAT, VPN
4VirtualisationProxmox, VM backups, storage and recovery
5Backup & DR3-2-1, RPO, RTO, restoration testing
6MonitoringWazuh, logs, alerts and investigation
7AutomationBash, Ansible and Git

Useful frameworks: CIS Controls · NIST Cybersecurity Framework · MITRE ATT&CK

Working principles

  • Understand why something works, not just the command to type.
  • Practise in a homelab first; label lab work and production work clearly in your own notes.
  • When you don't know something, write down how you would investigate it — then go and test it.
  • Always follow a troubleshooting sequence instead of guessing.
  • Think about business impact, backups and rollback before every production change.
  • Document what you changed and why, so future-you can follow it.

The goal is not to memorise answers. It is to understand infrastructure well enough to explain, troubleshoot and operate it responsibly.