Changes

Jump to navigation Jump to search
no edit summary
Line 3: Line 3:  
==Creator==
 
==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].
 
[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==
 
==Create new user==
Line 11: Line 12:  
#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...
 
#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.
 
#Now logout of root and login as hlds.
 +
    
==Install hldsupdatetool.bin==
 
==Install hldsupdatetool.bin==
Line 21: Line 23:  
#To run the hldsupdatetool, issue this command: <pre>./hldsupdatetool.bin</pre>
 
#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.
 
#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.
 +
 +
 +
==Install Game==
 +
After hlds has updated you need to decide what game you want to install. For this how to I will just be installing a normal Half-Life server, but you are free to install a cstrike or czero etc... server if you so desire.
 +
 +
To update the server, issue the following command: <pre>./steam -command update -game valve -dir /home/hlds</pre> This will tell hlds to get all the files required for a normal Half-Life server. If you want to have a counterstrike server, all you need to do is change the -game valve to -game cstrike Or if you want condition zero: -game czero I don't know the commands for any other games, but they should be fairly easy to find using google.
 +
 +
Getting the game files '''may take some time''', but after hlds has downloaded them, you'll be back at the prompt.
 +
 +
==Start Server==
 +
Before we start our server, we need to issue the following command: <pre>export LD_LIBRARY_PATH=/home/hlds:$LD_LIBRARY_PATH</pre>
 +
Now we can start our server. Use the following command to start your server. If you are running a different game or don't like the command I'm using, feel free to change it to suit your needs. <pre>./hlds_run -game valve +map crossfire +maxplayers 4 +port 27015</pre>
 +
Hopefully your server has started. If it has, you can go on to customizing it!
 +
 +
==Feedback?==
 +
Please post back in [http://forums.contribs.org/index.php?topic=37402.0 this thread] if you have any feedback.
10

edits

Navigation menu