Skip to content

Installation

Simon edited this page Apr 9, 2019 · 8 revisions

Currently there are two possibilities to install my ACC Server Manager. One of them is very easy and only requires you to install Docker and the other one is a bit more complicated. Unfortunatly the first version does currently not work with Windows and Docker Desktop, but feel free to play around, maybe you will have more luck than I had 😄

Please also take at this page.

Install the server manager in a docker container (currently only Linux):

1. Install Docker

Example for Ubuntu Server (taken from here):

sudo apt install \
    apt-transport-https \
    ca-certificates \
    curl \
    gnupg-agent \
    software-properties-common

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

sudo add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
   $(lsb_release -cs) \
   stable"

sudo apt update

sudo apt install docker-ce docker-ce-cli containerd.io

2. Install and start the ACC Server Manager

Explanation: The following command will create a new container with the image "grimsi/accservermanager" (which contains the server manager and its dependencies) and start the server manager. The first start may take a few minutes (because the server manager will download a few things) so please be patient.

There are a few parameters that you have to configure:

  • "path to acc server manager folder": This is the full path to the folder you created which contains the servers and instances (for more information, see this wiki article). This parameter has to be included twice.
  • "username": The username used to login
  • "password": The password used to login
  • "version": This can be used to get a specific version of the server manager (available versions). Usually you should choose latest unless you really need a specific version
docker run -d --name accservermanager --restart=unless-stopped \
-e accservermanager.folder-path=<path to acc server manager folder> \
-e accservermanager.username=<username> \
-e accservermanager.password=<password> \
-v accservermanager-data:/data/db \
-v <path to acc server manager folder>:/opt/server \
-v /var/run/docker.sock:/var/run/docker.sock \
-p 8000:8000 \
-p 9554:9554 \
grimsi/accservermanager:<version>

Here is the command with example values:

docker run -d --name accservermanager --restart=unless-stopped \
-e accservermanager.folder-path=/home/grimsi/accservermanager \
-e accservermanager.username=user123 \
-e accservermanager.password=password123 \
-v accservermanager-data:/data/db \
-v /home/grimsi/accservermanager:/opt/server \
-v /var/run/docker.sock:/var/run/docker.sock \
-p 8000:8000 \
-p 9554:9554 \
grimsi/accservermanager:latest

3. Connect to the server manager

The server manager should now be up and running. Connect to the manager by entering "http://adress of your server:8000" into your browser.

That's it! If you encountered any problems or have questions, please open a new issue and I will try my best to help you 😄

Install the server manager directly on your machine:

  1. Install Java Runtime Environment 8 or newer
  2. Install MongoDB
  3. Install Docker
  4. Download the latest release of the server manager and extract it
  5. Set the configuration options in the "application.properties" file according to your needs
  6. Set up the folder which contains all the server executables the backend will support
  7. Start the backend with the provided 'start.bat' or 'start.sh' files
  8. Connect to the manager by entering "http://adress of your server:8000" into your browser.