Skip to content

Latest commit

 

History

History
53 lines (42 loc) · 1.43 KB

File metadata and controls

53 lines (42 loc) · 1.43 KB

FluffOS MUD Server — Cheatsheet

Quick-reference for post-setup maintenance. See README.md for full setup instructions.

MUD Service

systemctl status mud
systemctl start mud
systemctl stop mud
systemctl restart mud
journalctl -e -u mud                    # view recent logs
journalctl -f -u mud                    # follow live logs
telnet localhost <Telnet Port>
telnet-ssl -z ssl localhost <TLS Telnet Port>

Nginx

nginx -t                                # test config
systemctl reload nginx                  # reload config (no downtime)
systemctl restart nginx
systemctl status nginx

Certbot

certbot renew --dry-run                 # test renewal without applying
certbot renew                           # uses plugin configured at issuance

fail2ban

fail2ban-client status sshd             # check SSH jail
fail2ban-client set sshd unbanip <IP>   # unban an IP
systemctl status fail2ban
systemctl restart fail2ban              # apply jail.local changes

System Maintenance

df -h                                   # disk usage by partition
du -sh /var/log/* 2>/dev/null           # log directory sizes
journalctl --disk-usage                 # journald disk usage
free -h                                 # memory usage
uptime                                  # load average
apt-get update && apt-get upgrade       # update all packages
apt-get autoremove && apt-get autoclean