Changes

Jump to navigation Jump to search
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...
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.org/index.php?action=profile;u=12478 Paulus] - Wiki entry "stolen" from [http://forums.contribs.org/index.php?topic=37402.0 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:
#Enter this from the command line <pre>adduser hlds</pre> 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.
#A prompt will appear where you can give the user hlds a password. Type the following:<pre>passwd hlds</pre> Of course you can choose a different password if you so desire...
#Now logout of root and login as hlds.

==Install hldsupdatetool.bin==
#Enter this from the command line: <pre>wget http://storefront.steampowered.com/download/hldsupdatetool.bin</pre>
#Once it has finished downloading, issue the following command to make it an executable: <pre>chmod +x hldsupdatetool.bin</pre>
#'''Now logout of hlds and login as root.'''
#Navigate your way to the hlds user folder: <pre>cd /home/hlds</pre>
#We need to enable gunzip or something like that so we can run the hldsupdatetool. To do this, issue this command: <pre>ln -s /usr/bin/gunzip /usr/bin/uncompress</pre>
#'''Now logout of the root account and log back in as hlds.'''
#To run the hldsupdatetool, issue this command: <pre>./hldsupdatetool.bin</pre>
#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: <pre>./steam</pre> The update shouldn't take to long depending on your internet connection.
10

edits

Navigation menu