User Tools

Site Tools


esxi:amp_game_server

Amp Game Server

Install the CubeCoders AMP (Application Management Panel) game server manager on Debian 10 in a VM. (Use Debian 9 in future to avoid issues with Java)

  • Acquire licence from https://cubecoders.com/AMP
  • Install a minimal server Debian 10 in a VM with enough RAM and storage for the desired servers
  • Make sure all updates are installed sudo apt update then sudo apt upgrade
  • Install Java 8:
    • Since OpenJDK 8 is no longer available for Debian 10, install the openjdk-8-jre-headless deb from the debian stretch repository
  • Shutdown, create VM snapshot, and start the VM again
  • Mount a NFS share to use for game backups FIXME not sure if should be before or after install
  • Run as root bash <(wget -qO- getamp.sh) and follow instructions
  • Apply licence key
  • Shutdown, create VM snapshot, and start the VM again

Notes:

  • 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
  • ampinstmgr ReconfigureInstance ADS01 +Core.AMP.FriendlyName “ADS(Ignore)”
  • 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.

Updates:

  • The management page shows when an update is needed
  • Warning: Updating restarts all game servers!
  • Check https://support.cubecoders.com/ for update notes
  • Run as root from the ESXi interface (because root is blocked from ssh)
  • Update the instance manager command line tool:
  • apt update
  • apt upgrade
  • Update the AMP instances
  • runuser -l AMP -c “ampinstmgr upgradeall”
  • Use Ctrl+R or Shift+Command+R to refresh with a clear cache after updating

Ports:

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
esxi/amp_game_server.txt · Last modified: 2019/09/30 15:42 by derek