Admin Recipes
From TBD Enterprises
(Instructions for adding a new user) |
(Adding scripts) |
||
Line 1: | Line 1: | ||
+ | == Server Control == | ||
+ | |||
+ | Basic control scripts for the server are in <tt>/srv/minecraft/commands</tt>. | ||
+ | * <tt>start.sh</tt> and <tt>stop.sh</tt> do as expected. | ||
+ | * <tt>restart.sh</tt> is currently broken, don't run it. | ||
+ | * <tt>backup.sh</tt> runs a clean backup. Will be a <tt>cron</tt> job soon. | ||
+ | |||
+ | |||
+ | == Monitor Memory Usage == | ||
+ | |||
+ | # SSH into the server. | ||
+ | # Run the <tt>top</tt> command. | ||
+ | # Press <tt>Shift+M</tt> to sort processes by memory. | ||
+ | |||
+ | <tt>top</tt> will update every few seconds allowing you to watch usage in real-time. | ||
+ | |||
== Add User Account == | == Add User Account == | ||