Linux dedicated server walkthrough?
Reflexion
Join Date: 2002-10-31 Member: 1847Members
<div class="IPBDescription">Anyone?</div>Anyone care to give me a brief rundown (or link to such a rundown) of how to install NS from scratch.. including HLDS as well?
Not a fullblown document.. just
install HLDS..
install NS..
etc etc. . I've only run CS servers before (quite some time ago) and found the process of running and configuring them quite complex, with mods and hack protection etc etc. If anyone can help out I'd be really appreciative! <!--emo&:D--><img src="http://www.natural-selection.org/iB_html/non-cgi/emoticons/biggrin.gif" border="0" valign="absmiddle" alt=':D'><!--endemo-->
Cheers,
.::Reflexion::.
Not a fullblown document.. just
install HLDS..
install NS..
etc etc. . I've only run CS servers before (quite some time ago) and found the process of running and configuring them quite complex, with mods and hack protection etc etc. If anyone can help out I'd be really appreciative! <!--emo&:D--><img src="http://www.natural-selection.org/iB_html/non-cgi/emoticons/biggrin.gif" border="0" valign="absmiddle" alt=':D'><!--endemo-->
Cheers,
.::Reflexion::.
Comments
I'll write one up today.
joev.
Get and install latest hlds for linux. Nothing fancy required here, just untar to a partition with space.
Get and install ns for linux.
cd into your newly formed hlds_l directory, untar ns. You should see an ns subdir.
To start game,cd to new hlds_l dir and type
./hlds_run -game ns +maxplayers 10 +map ns_bast
You can get more complex with adminmod, metamod and hlguard plugins but get your server running first. Build on other things a bit at a time.
<a href="http://www.unitedadmins.com/HLDS_x110_DL.aspx" target="_blank">http://www.unitedadmins.com/HLDS_x110_DL.aspx</a>
Get the file 'hlds_l_3110_full.bin'.
`chmod 755 hlds_l_3110_full.bin`
`./hlds_l_3110_full.bin`
It will ask you if oyu agree to the TOS thingie, answer "yes".
This will extract to a tar/gz file, "hlds_l_3110_full.tar.gz"
Make and go into the directory where you want to install hlds_l (I used '/usr/local/hlds') and run this:
`tar zxvf /path/to/hlds_l_3110_full.tar.gz`
or (if your 'tar' binary doesn't support the gzip decompression)
`gzip -d /path/to/hlds_l_3110_full.tar.gz`
`tar xvf /path/to/hlds_l_3110_full.tar.gz`
when that is done get the ns-server file, 'ns_v1_linux_dedicated_server.tar.gz'
cd into the hlds directory (once again i used /usr/local/hlds)
`tar zxvf /path/to/ns_v1_linux_dedicated_server.tar.gz`
now from the hlds directory you can run the following:
`hlds_run -game ns +port 27017 +maxplayers 24 +map ns_bast`
** I recommend using the 'hlds_run' script so if the server dies it will restart automatically, so you don't have to babysit it.
I hope it helps.
Cheers.
Reflexion. <!--emo&::asrifle::--><img src="http://www.natural-selection.org/iB_html/non-cgi/emoticons/asrifle.gif" border="0" valign="absmiddle" alt='::asrifle::'><!--endemo-->