Manage Your Game Server Easy With LinuxGSM

The command line tool for quick, simple deployment and management of Linux Unreal Tournament 2004 dedicated game servers.

  • Getting started
Unreal Tournament 2004 Screenshot
game-server: ~$ ./ut2k4server install
Laptop

Linux

Runs on your favorite Linux distros. Ubuntu, CentOS and more.

Easy to use

Designed to be simple to install and use.

Linux

Runs on your favorite Linux distros. Ubuntu, CentOS and more.

Easy to use

Designed to be simple to install and use.

Unreal Tournament 2004 Screenshot
game-server: ~$ ./ut2k4server install
Laptop

Many Games Supported

85 game servers are supported and counting.

Open Source

Written in BASH and using the MIT License.

Many Games Supported

170 game servers are supported and counting.

Open Source

Written in BASH and using the MIT License.

Hassle Free Dedicated Servers

Hassle Free Dedicated Servers

Traditionally game servers are not easy to manage yourself. Admins often have to spend hours just messing around trying to get their server working. LinuxGSM is designed to be as simple as possible allowing admins to spend less time on management and more time gaming.

Benefits

  • Easy to install
  • Simple CLI
  • Well documented
  • Automated
  • Regularly updated
  • Open source
  • Compatible

Features

  • Installer
  • Updater
  • Monitor
  • Alerts
  • Server Details
  • Backups
  • Console

Getting Started with ut2k4server

Below are the basic instructions you need to get your own Unreal Tournament 2004 server up and running.

Unreal Tournament 2004 Logo

Installation Guide

Don't have a server? Install ut2k4server on a cloud server.
Linode [recommended], Vultr, DigitalOcean, UpCloud.
Most offer free credit to get you started.

Compatibility

ut2k4server will run on popular distros as long as the minimum requirements are met.

Minimum Recommended Distros

  • Ubuntu Icon Ubuntu 12.04 LTS
  • Debian Icon Debian 6
  • Fedora Icon Fedora 17
  • Centos Icon CentOS 6

Other Distros

Although not tested, any distro with tmux => 1.6 and glibc => 2.4 should also be compatible with Unreal Tournament 2004 servers.

Supported Architecture

  • 64-Bit distros ARE supported.
  • 32-Bit distros ARE supported.

Only 32-Bit binary is available.

Unreal Tournament 2004 Xan Kriegor 2
Unreal Tournament 2004 Logo

Dependencies

Before installing, you must ensure you have all the dependencies required to run ut2k4server.

Ubuntu 64-bit

Ubuntu Icon
sudo dpkg --add-architecture i386; sudo apt update; sudo apt install mailutils postfix curl wget file bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc jq tmux lib32gcc1 libstdc++6 libstdc++6:i386 libsdl1.2debian libstdc++5:i386

Ubuntu 32-bit

Ubuntu Icon
 sudo apt install mailutils postfix curl wget file bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc jq tmux libstdc++6 libsdl1.2debian libstdc++5

Debian 64-bit

Debian Icon
sudo dpkg --add-architecture i386; sudo apt update; sudo apt install mailutils postfix curl wget file bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc jq tmux lib32gcc1 libstdc++6 libstdc++6:i386 libsdl1.2debian libstdc++5:i386

Debian 32-bit

Debian Icon
 sudo apt install mailutils postfix curl wget file bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc jq tmux libstdc++6 libsdl1.2debian libstdc++5

Fedora 64-bit

Fedora Icon
dnf install mailx postfix curl wget file bzip2 gzip unzip python binutils bc jq tmux glibc.i686 libstdc++ libstdc++.i686 compat-libstdc++-33.i686 SDL.i686

Fedora 32-bit

Fedora Icon
dnf install mailx postfix curl wget file bzip2 gzip unzip python binutils bc jq tmux libstdc++ compat-libstdc++-33 SDL

EPEL is required to install some dependencies needed for using LinuxGSM on CentOS.

yum install epel-release

CentOS 64-bit

CentOS Icon
yum install mailx postfix curl wget bzip2 gzip unzip python binutils bc jq tmux glibc.i686 libstdc++ libstdc++.i686 compat-libstdc++-33.i686 SDL.i686

CentOS 32-bit

CentOS Icon
yum install mailx postfix curl wget bzip2 gzip unzip python binutils bc jq tmux libstdc++ compat-libstdc++-33 SDL

Install

From the command-line do the following. Ensuring you have also installed the dependencies above.

1. Create a user and login.
adduser ut2k4server

note: do NOT set the password as ut2k4server. Use a strong password.

random password:
passwd ut2k4server
su - ut2k4server
2. Download linuxgsm.sh.
wget -O linuxgsm.sh https://linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh ut2k4server
3. Run the installer and follow the instructions.
./ut2k4server install
Support this project on Patreon, Paypal and Flattr.
Further documentation and support is available.
Unreal Tournament 2004 Skaarj Guardian

Basic Usage

Unreal Tournament 2004 Xan Kriegor

All Commands

A complete list of commands can be found by typing
./ut2k4server
Below are the most common commands available.

Running

start

./ut2k4server start

stop

./ut2k4server stop

restart

./ut2k4server restart

console

Console allows you to view the live console of a server as it is running and allow you to enter commands; if supported.
./ut2k4server console
To exit the console press CTRL+b d. Pressing CTRL+c will terminate the server.

Debugging

Details

You can get all important and useful details about the server such as passwords, ports, config files etc.

./ut2k4server details

Debug

Use debug mode to help you if you are having issues with the server. Debug allows you to see the output of the server directly to your terminal allowing you to diagnose any problems the server might be having.

./ut2k4server debug

Logs

Server logs are available to monitor and diagnose your server. Script, console and game server (if available) logs are created for the server.

/home/ut2k4server/logs

Backup

Backup will allow you to create a complete bzip2 archive of the whole server.

./ut2k4server backup

Monitor

LinuxGSM can monitor the game server by checking that the proccess is running and querying it. Should the server go offline LinuxGSM can restart the server and send you an alert. You can use cronjobs to setup monitoring.

./ut2k4server monitor

Configure LinuxGSM

For details on how to alter LinuxGSM settings visit LinuxGSM Config Files page.

Documentation

For detailed documentation visit the LinuxGSM docs.

Support

Google

Its always a good idea to use Google before posting your questions. Many questions people ask have been asked before. So to save time always use google before posting a question. google.com

Documentation

install

Docs

The LinuxGSM docs are a useful resource for all LinuxGSM related topics.

General Support

steamcmd

Steam Group

LinuxGSM has a Steam Group where you can get general support for LinuxGSM related stuff.

Bugs/Features

github

GitHub Issues

LinuxGSM has a GitHub Issues page where you can submit any bugs and feature suggestions.

Community

Discord

Join the LinuxGSM Discord community server. Discuss your LinuxGSM setup, get help and advice.