User Tag List

Results 1 to 1 of 1
  1. #1
    Administrator SAM's Avatar
    Join Date
    Jan 2011
    Posts
    8,296
    Country:

    UT99 Server Install - Linux

    This guide will show you step by step how to install Unreal Tournament 99 on a Linux box. It will contain information about applying patch 451, because without it, there is no functioning webadmin.

    First and foremost, you need to create a regular user. **DO NOT** use ROOT to run the game server!!

    First you have to have a user which will run the server. Different Linux distributions each have their own way, but usually, you can do:

    Code:
    adduser [username]
    This will run a scripts that will ask a few questions, like the password.
    Once that is done, login with that user. Easiest way to do this without logging out is to use the su command.

    Code:
    su - [username]

    Ok so now that we have our user, we need to change directory to it's home directory. So lets do that:

    Code:
     # (note: with some distro's this will not work. You'll have to type 
    cd /home/[username] )


    Next, we want to download the server, patches and abfackelns Server Utilities (ASU) (file locations may change in the future, which will cause the links not to work anymore. Change as needed):

    Code:
    wget http://ut-files.com/Entire_Server_Do...ver-436.tar.gz  
    tar -zxf ut-server-436.tar.gz 
    cd ut-server
    wget http://www.ut-files.com/Patches/UTPG...1LINUX.tar.tar # May be changed to .tar.bz2 by the admins soon  
    tar xfj UTPGPatch451LINUX.tar.tar  
    wget http://ut-files.com/Entire_Server_Do...asu-0.6.tar.gz  
    tar -zxf asu-0.6.tar.gz  
    chmod +x asu.sh  
    cd System  
    ln -s libSDL-1.1.so.0 libSDL-1.2.so.0  
    cd $HOME/ut-server

    The server (at moment of writing) has special net-textures, to reduce the size of the installation. Problems my occur when clients are using the high-res textures (see aforementioned topic). To solve this, copy the normal CD1 textures to the server dir:

    Code:
     # Can also be copied from an UT installation that doesn't have the CD2 textures.  
    
    cp -v /path/to/cd/System/Textures/* $HOME/ut-server/Textures/
    Now we need to run the server utilities:

    Code:
    ./asu.sh
    Next it will ask you what game type you want to run, if you do not see the game type you plan on running, don't worry. Just select DM for now.

    Then it will ask you what map you want to start with. Just choose one of the maps shown. Doesn't matter, can be changed later.

    If you plan to run mutators, then enter them now. Only enter one, then press enter. It'll keep asking this question till you submit a blank answer. If you don't want to run any mutators, then just press enter.

    Once you are done with that, it should show you the configs/setup you just entered. Review it to make sure it looks right. Then you can exit the script.

    The script will have made an ucc.init file. Important to know is, that the path of the server is set in it. So, if you want to move the server to another dir, you have to change that file. The path name is mentioned several times.



    Next you want to enable the webadmin. You can do that by opening UnrealTournament.ini, going to the [UWeb.WebServer] section and setting bEnabled=True and choose a port (5080 is standard) (ListenPort line may need to be added):
    Code:
    [UWeb.WebServer]
    Applications[0]=UTServerAdmin.UTServerAdmin
    ApplicationPaths[0]=/ServerAdmin
    Applications[1]=UTServerAdmin.UTImageServer
    ApplicationPaths[1]=/images
    DefaultApplication=0
    bEnabled=True
    ListenPort=5080
    Also set a password in the UTServerAdmin.UTServerAdmin section (already defined), otherwise people will try to log in with the defaults:

    [UTServerAdmin.UTServerAdmin] AdminUsername=admin AdminPassword=mybiggestsecret

    When going to the webadmin, be sure to include /ServerAdmin/ in your address bar after the host, because otherwise it will try to redirect you to that, using a HTTP redirect, but that will fail because the server has no idea you’re using an internet hostname and therefore it will redirect you to it’s LAN-IP, which obviously won’t work if the server is not in your LAN. So, go to http://hostname:5080/ServerAdmin/ (Don't forget trailing slash).

    As a security precaution, patch 451 adds brute force protection to the admin login. See the file Releasenotes.htm in the Help dir for more info. In the Engine.Gameinfo section, a few rules should be added/modified (depending on whether they’re already there or not):

    Code:
    [Engine.GameInfo]
    LoginDelaySeconds=1.000000
    MaxLoginAttempts=50
    ActionToTake=DO_KickBanPlayer
    If all is well, then you can go ahead and skip that step and just start the server using this command.
    Code:
    ./ucc.init start
    If you need to stop the server then type this
    Code:
    ./ucc.init stop
    Or restart:
    Code:
    ./ucc.init restart
    If you have issues with UT complaining about not being able to find it's data files (see the Logs dir for the error messages if it won't start), you need to set the UT_DATA_PATH variable. To do that, I added this line below MYUSER=User.ini in ucc.init:

    Code:
    export UT_DATA_PATH="$MYDIR/ut-server/System/"
    From experience in Linux UT hosting, I would recommend you use a PRE-EMPTIVE KERNEL
    Last edited by SAM; 10-31-2012 at 03:13 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Public IPToCountry Server for ut99 by unrealkillers.com
    By SAM in forum Unreal Tournament Chit Chat
    Replies: 2
    Last Post: 07-21-2017, 04:17 AM
  2. UT99 and Linux
    By UT-Sniper-SJA94 in forum Unreal Tournament Chit Chat
    Replies: 23
    Last Post: 11-03-2015, 05:22 PM
  3. Linux for ut99
    By Chamberly in forum Unreal Tournament Chit Chat
    Replies: 10
    Last Post: 06-14-2015, 07:15 AM
  4. some one saying they going to install a bot
    By andy in forum Reports/Complaints & Appeals
    Replies: 5
    Last Post: 06-13-2013, 05:50 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •