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