Ut4HubServerDocker/README.md

1.4 KiB

Installation

  1. Update Ubuntu Packages:
sudo apt update
  1. Install Git
sudo apt install git -y
  1. Clone (download) Repo Code:
git clone https://git.polycompsol.com:3000/basshound/Ut4HubServerDocker.git
  1. Change directory to go inside repo:
cd Ut4HubServerDocker
  1. Modify game config files accordingly. Primarily Game.ini, though Rulesets and other config can also be specified here.

  2. To perform one step configure/run:

sudo ./autoBuildDeploy

This will install Docker, build the docker image, download pak files (from pakFileList), create firewall rules, and deploy docker container.

Stopping / Restarting Server

To stop the Server

sudo docker stop Ut4HubServerDocker

To start the server

sudo ./runServer

Restarting the server can be done by stopping and then starting using the above commands.

Viewing Logs

You can view a simple output of the log file by running:

sudo ./viewLog

This is simply a wrapper for the docker command:

docker exec -it ut4hubserver cat /home/ut/LinuxServer/UnrealTournament/Saved/Logs/UnrealTournament.log

To tail the logs (to have screen refresh with any update):

docker exec -it ut4hubserver tail -F /home/ut/LinuxServer/UnrealTournament/Saved/Logs/UnrealTournament.log