Half-Life Dedicated Server

From SME Server
Revision as of 22:43, 4 October 2007 by Haymann (talk | contribs) (New page: The following How-to will help you setup your SME Server to be a Half-Life Dedicated Server for games like Half-Life, Counter-Strike: Source, etc... ==Creator== [http://forums.contribs.or...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

The following How-to will help you setup your SME Server to be a Half-Life Dedicated Server for games like Half-Life, Counter-Strike: Source, etc...

Creator

Paulus - Wiki entry "stolen" from this thread.

Create new user

First off we are going to make a user called: hlds. It is better if we don't run our server as root, but rather we run it as a normal user, just so that their is less chances of a security breach.

To create a new user you will need to login as root to perform the following steps:

  1. Enter this from the command line
    adduser hlds
    This will make a new user on our server with the username as hlds. You can choose a different username if you so wish, but making it hlds will clearly show what the user account is used for.
  2. A prompt will appear where you can give the user hlds a password. Type the following:
    passwd hlds
    Of course you can choose a different password if you so desire...
  3. Now logout of root and login as hlds.

Install hldsupdatetool.bin

  1. Enter this from the command line:
    wget http://storefront.steampowered.com/download/hldsupdatetool.bin
  2. Once it has finished downloading, issue the following command to make it an executable:
    chmod +x hldsupdatetool.bin
  3. Now logout of hlds and login as root.
  4. Navigate your way to the hlds user folder:
    cd /home/hlds
  5. We need to enable gunzip or something like that so we can run the hldsupdatetool. To do this, issue this command:
    ln -s /usr/bin/gunzip /usr/bin/uncompress
  6. Now logout of the root account and log back in as hlds.
  7. To run the hldsupdatetool, issue this command:
    ./hldsupdatetool.bin
  8. Say yes the the licence agreement. The hldsupdatetool will uncompress and extract some files. We now need to run the updater so it can update itself. To do this, type:
    ./steam
    The update shouldn't take to long depending on your internet connection.