User Tools

Site Tools


esxi:amp_game_server

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
esxi:amp_game_server [2019/09/19 07:19]
derek created
esxi:amp_game_server [2024/10/26 12:26] (current)
derek
Line 1: Line 1:
 =====Amp Game Server===== =====Amp Game Server=====
 +Install the CubeCoders AMP (Application Management Panel) game server manager on Debian 10 in a VM.
  
-Install the CubeCoders AMP (Application Management Panel) game server manager on Debian in a VM+====Setup==== 
 +First, install minimal installation of Debian 10 with the following changes: 
 +  * VM Name: ''Game Host'' 
 +  * Hostname: ''Optiplex-GameHost'' 
 +  * CPU: 4 
 +  * Memory: 10 GB 
 +  * Hard Disk: 50-100 GB 
 +  * Enter a password for the ''root'' user 
 +  * Run the command to set the timezone to UTC
  
 +===Install Latest Debian==
 +{{page>esxi:debian_minimal_server#Setup&noheader}}
 +
 +===Install AMP===
   * Acquire licence from [[https://cubecoders.com/AMP]]   * Acquire licence from [[https://cubecoders.com/AMP]]
-  * Install a minimal server Debian in a VM with enough RAM and storage for the desired servers +  * Login to ssh as root 
-  * Install git with ''apt install git'' FIXME ?+  * Make sure all updates are installed: 
 +    * ''apt update && apt upgrade'' 
 +  * Run and add ''en_US.UTF-8'' as an extra locale 
 +    * ''dpkg-reconfigure locales'' 
 +  * Mount a NFS share to use for game backups FIXME: not sure if should be before or after install 
 +  * Run and follow instructions to install AMP: 
 +    * ''bash <(wget -qO- getamp.sh)'' 
 +  * Access at ''http://hostname.example.com:8080'' 
 +  * Apply licence key and perform initial setup 
 +  * ''Configuration'' > ''System Settings'' > ''Webserver'' 
 +    * Enable ''Using Reverse Proxy'' and set the correct IP address of the proxy
   * Shutdown, create VM snapshot, and start the VM again   * Shutdown, create VM snapshot, and start the VM again
-  Mount backup NFS share FIXME not sure if before or after install + 
-  Run as root ''bash <(wget -qO- getamp.sh)'' and follow instructions +====Notes==== 
-  * Access at ''https://hostname.example.com:8080'' +  Ignore the ADS01 instance created by default, it is the base instance of the management website and is already effectively the instance being managed, it can theoretically be renamed using: FIXME: Not actually working 
-  * Apply licence key +    * ''ampinstmgr ReconfigureInstance ADS01 +Core.AMP.FriendlyName "ADS(Ignore)"'' 
-  * Shutdown, create VM snapshot, and start the VM again +  * Right-click on an instance in ADS to edit the port bindings, view data, update, or delete the instance 
-  +  * After creating a game instance and configuring, click update on the status page to download the game initially before attempting to start it. 
 + 
 +====Update==== 
 +  * The management page shows when an update is needed 
 +  * **Warning: Updating restarts all game servers!** 
 +  * Check [[https://support.cubecoders.com/]] for update notes 
 +  * Login to ssh as root 
 +  * Update the instance manager command line tool: 
 +    * ''apt update && upgrade'' 
 +  * Update the AMP instances: 
 +    * ''runuser -l AMP -c "ampinstmgr upgradeall"'' 
 +  * Use ''Shift+F5 or Shift+Command+R'' to refresh the AMP page with a clear cache after updating 
 + 
 +====Ports==== 
 +<code> 
 +8080/TCP      https Web Interface 
 +8081:8180/TCP Instance management (FIXME: Not sure if need forwarding?
 + 
 +5678:5688 
 +7777:7877/TCP     RCON 
 +8766:8866 
 +21025:21125/TCP   Starbound 
 +25565:25665/Both  Minecraft 
 +27015:27115/Both  Source engine games 
 +28015:28115/Both  Rust 
 +34197:34297/UDP   Factorio 
 +</code>
esxi/amp_game_server.1568877579.txt.gz · Last modified: 2024/09/22 19:51 (external edit)