Select your platform

Linux

Ubuntu

Debian

CentOS, Fedora, Rocky, Red Hat

Arch

Raspberry Pi
Other ARM64

Other Distributions

Windows

Windows Desktop

Windows Server

Server Core

One-Line Install

Run the following command as root - Run sudo su -l first if you're logged in as another user. Do not put sudo in front.

bash <(wget -qO- getamp.sh)

This script will automatically install any dependencies, create a new system user and get you started. You will be prompted for a set of login details to use. Once the wizard completes, you're done!

System Requirements

  • Ubuntu 18.04 64-bit or newer (20.04 Recommended)
  • Root access via SSH

System Requirements

  • Debian 8 64-bit or newer (Debian 10 or 11 Recommended)
  • Root access via SSH

System Requirements

  • CentOS 7 64-bit / Fedora 28 / Rocky 8 or newer
  • Root access via SSH

System Requirements

  • Latest version of Arch
  • Root access via SSH

System Requirements

  • Debian or Red Hat based distribution (Ubuntu 20.04+ highly recommended)
  • aarch64 based distribution with full 64 bit userspace and kernel
  • GLIBC 2.30 or newer (run ldd --version to check)
  • Root access via SSH

System Requirements

  • Linux Kernel 3.2 64-bit or newer
  • Root access via SSH
  • GLIBC 2.18 or newer (run ldd --version to check)

Other Distributions

First try running the one-line install. The script will automatically detect if it's able to install on your system based on the current package manager.

The following steps are only for distributions that GetAMP is unable to manage automatically.

Create a new user to run AMP as

This is not an optional step. AMP will refuse to start if you try and run it as root or as a user that has root permissions.

useradd -d /home/amp -m amp -s /bin/bash
sudo passwd amp

Install prerequisites

Install the following applications via your distributions package manager

tmux socat unzip git wget

This is not a runnable command, please consult your distributions documentation for how to install these packages.

Additionally, if you intend to run srcds based servers such as Team Fortress 2 or Counter-Strike: Global Offensive you will need 32-bit versions of glibc and the c++ standard libraries (libstdc++) for your distribution.

Add firewall rules for AMP

This assumes that your distribution uses iptables. If your distribution uses another firewall manager such as firewalld or ufw please consult your distributions documentation.

iptables -A INPUT -p tcp -m tcp --dport 8080 -j ACCEPT
iptables-save > /etc/iptables/rules.v4

Installing AMP

Then you can download and install AMP:

wget -q https://repo.cubecoders.com/ampinstmgr-latest.tgz
tar -xf ampinstmgr-latest.tgz -C /
rm ampinstmgr-latest.tgz
#Enable ampinstmgr services for background tasks and firewall sync.
systemctl enable ampinstmgr.service
systemctl enable ampfirewall.service
systemctl enable ampfirewall.timer
systemctl enable amptasks.service
systemctl enable amptasks.timer
systemctl start ampfirewall.timer
systemctl start amptasks.timer

Login as the AMP user and create a management instance

sudo su -l amp
ampinstmgr quickstart

Installation on Windows Desktops

System Requirements

  • Windows 8.1 or newer (Ideally Windows 10 or 11)
  • Administrator access via remote desktop or physical access
  • .Net Framework 4.7.1 runtime
  • UAC Enabled (AMP will not function correctly if UAC has been disabled!)

Install the AMP Instance Manager

Download the installer and run through the wizard


 Download Windows Installer

 

By default the installer will use the drive with the most available free space as the datastore for AMP instances. If you wish to pick a different location you can chose this by using the 'Custom' option during setup.

Installation on Windows Server with Desktop Experience

System Requirements

  • Windows Server 2012 R2 or newer
  • Administrator access via remote desktop or physical access
  • .Net Framework 4.7.1 runtime
  • UAC Enabled (AMP will not function correctly if UAC has been disabled!)

Create a new user to run AMP as

AMP will not run as the built in Administrator user on Windows. Attempting to manage instances or access the file system while logged in as Administrator may result in permissions issues that can cause AMP or applications running within it to stop working properly. Please ensure that you only use your AMP user when working with this software.

  1. Start -> Computer Management
  2. Select 'Local Users and Groups' from the left
  3. Left click Users to select it, then right click to add a new user with a username of AMP
  4. Right click the new user in the Users list, enter its Properties and add it to the Administrators group

Install the AMP Instance Manager

Download the installer and run through the wizard


 Download Windows Installer

 

By default the installer will use the drive with the most available free space as the datastore for AMP instances. If you wish to pick a different location you can chose this by using the 'Custom' option during setup.

Installation on Server Core

System Requirements

  • Windows Server 2016 Core or Newer
  • Administrator access with Powershell
  • .Net Framework 4.7.1 runtime
  • UAC Enabled (AMP will not function correctly if UAC has been disabled!)

Create a new system user

AMP cannot be run as the built in 'Administrator' user - a new user is required. This user should be part of the Administrators group if you need to create service instances.

Run the following in powershell as Administrator (The first command will prompt for a password):

$Password = Read-Host -AsSecureString
New-LocalUser amp -Password $PASSWORD -FullName "AMP User"
Add-LocalGroupMember -Group "Administrators" -Member "amp"

Download and install the instance manager

Login as your new AMP user, then open up PowerShell as administrator and run:

wget https://cubecoders.com/Downloads/AMPSetup.msi
.\AMPSetup.msi /qn

By default the AMP datastore is placed in the "AMPDatastore" directory on the drive with the most free space. If you wish to manually specify a location then you can add the DATASTOREDIR argument:

.\AMPSetup.msi /qn DATASTOREDIR="D:\AMPDatastore\"

Specifying whichever directory you wish as the DATASTOREDIR - ensure this area is somewhere writable by any user. It should not be placed within the "Users" directory.

Creating the management instance

After that you can then run:

ampinstmgr quickstart

You will be prompted to browse to AMPs web interface to continue installation during setup, which you will need to do from another computer. You will be provided the URL during this process.

Also available as a Video Tutorial

Installing the AMP Game Server management panel

Watch on YouTube

 

Decoration