2024-04-30 17:51:28 +00:00
|
|
|
# Installation
|
2024-04-29 21:56:48 +00:00
|
|
|
|
|
|
|
1. Update Ubuntu Packages:
|
|
|
|
|
2024-04-29 22:01:37 +00:00
|
|
|
```<language>
|
|
|
|
sudo apt update
|
|
|
|
```
|
2024-04-29 21:56:48 +00:00
|
|
|
|
|
|
|
2. Install Git
|
2024-04-29 22:00:30 +00:00
|
|
|
```<language>
|
2024-04-29 21:59:50 +00:00
|
|
|
sudo apt install git -y
|
2024-04-29 22:00:30 +00:00
|
|
|
```
|
2024-04-29 21:56:48 +00:00
|
|
|
|
|
|
|
3. Clone (download) Repo Code:
|
|
|
|
|
2024-04-29 22:00:30 +00:00
|
|
|
```<language>
|
2024-04-29 22:01:19 +00:00
|
|
|
git clone https://git.polycompsol.com:3000/basshound/Ut4HubServerDocker.git
|
|
|
|
```
|
2024-04-29 21:56:48 +00:00
|
|
|
|
|
|
|
4. Change directory to go inside repo:
|
|
|
|
|
2024-04-29 22:01:19 +00:00
|
|
|
```<language>
|
|
|
|
cd Ut4HubServerDocker
|
|
|
|
```
|
2024-04-29 21:56:48 +00:00
|
|
|
|
|
|
|
5. Modify game config files accordingly. Primarily Game.ini, though Rulesets and other config can also be specified here.
|
|
|
|
|
|
|
|
6. To perform one step configure/run:
|
|
|
|
|
2024-04-29 22:01:19 +00:00
|
|
|
```<language>
|
2024-04-30 14:34:40 +00:00
|
|
|
sudo ./autoBuildDeploy
|
2024-04-29 22:01:19 +00:00
|
|
|
```
|
2024-04-29 21:56:48 +00:00
|
|
|
|
2024-04-29 21:58:28 +00:00
|
|
|
This will install Docker, build the docker image, download pak files (from pakFileList), create firewall rules, and deploy docker container.
|
2024-04-30 17:17:51 +00:00
|
|
|
|
2024-04-30 17:51:17 +00:00
|
|
|
# Stopping / Restarting Server
|
2024-04-30 17:17:51 +00:00
|
|
|
|
|
|
|
To stop the Server
|
|
|
|
```<language>
|
|
|
|
sudo docker stop Ut4HubServerDocker
|
|
|
|
```
|
|
|
|
|
2024-04-30 17:21:06 +00:00
|
|
|
To start the server
|
2024-04-30 17:17:51 +00:00
|
|
|
```<language>
|
|
|
|
sudo ./runServer
|
2024-04-30 17:21:06 +00:00
|
|
|
```
|
|
|
|
|
2024-05-01 20:38:48 +00:00
|
|
|
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:
|
|
|
|
|
|
|
|
```<language>
|
|
|
|
sudo ./viewLog
|
|
|
|
```
|
|
|
|
|
|
|
|
This is simpply a wrapper for the docker command:
|
|
|
|
|
|
|
|
```<language>
|
|
|
|
docker exec -it ut4hubserver cat /home/ut/LinuxServer/UnrealTournament/Saved/Logs/UnrealTournament.log
|
|
|
|
```
|
|
|
|
|
|
|
|
To tail the logs (to have screen refresh with any update):
|
|
|
|
|
|
|
|
```<language>
|
|
|
|
docker exec -it ut4hubserver tail -F /home/ut/LinuxServer/UnrealTournament/Saved/Logs/UnrealTournament.log
|
|
|
|
```
|