servers:ubuntu24:start
Table of Contents
Ubuntu 24 Server
Primary web server for Amiga-Z infrastructure.
Role:
- nginx web hosting
- PHP-FPM application runtime
- DokuWiki
- Project hosting
- Reverse proxy (where applicable)
System Info
Check version:
lsb_release -a uname -a
Check uptime:
uptime
Check disk:
df -h
Check memory:
free -h
Installed Stack
Web Layer
- nginx
- php8.3-fpm
Check status:
systemctl status nginx systemctl status php8.3-fpm
Active Services
List enabled services:
systemctl list-unit-files --type=service | grep enabled
Restart core services:
systemctl restart nginx systemctl restart php8.3-fpm
Web Applications
Firewall
Check status:
sudo ufw status
Common rules:
- 22 (SSH)
- 80 (HTTP)
- 443 (HTTPS)
Backups
Manual site backup:
cd /var/www/html tar -czf amigaz-site-$(date +%F).tar.gz amigaz
Recommended:
- Daily cron backup
- Offsite copy
- Database dumps (if used)
Cron Jobs
List root cron:
sudo crontab -l
List user cron:
crontab -l
Log Locations
nginx:
/var/log/nginx/access.log /var/log/nginx/error.log
DokuWiki:
/var/www/html/amigaz/wiki/data/log/error.log
System:
journalctl -xe
Quick Health Check
Run these:
systemctl status nginx systemctl status php8.3-fpm php -v php -m | grep sqlite df -h
If all good โ server healthy.
servers/ubuntu24/start.txt ยท Last modified: by freedomotter
