Linux dedicated server walkthrough?

ReflexionReflexion 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::.

Comments

  • joevjoev Giving grief... With a smile. Join Date: 2002-07-20 Member: 977Members, Retired Developer, NS1 Playtester, Contributor, Constellation, Reinforced - Shadow
    Good idea.

    I'll write one up today.

    joev.
  • Captain_PugwashCaptain_Pugwash Join Date: 2002-11-01 Member: 3297Members
    In a nutshell (very basic)

    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.
  • GeneGene Join Date: 2002-11-01 Member: 3244Members
    Go to this site for the hlds linux server:

    <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.
  • ReflexionReflexion Join Date: 2002-10-31 Member: 1847Members
    Thanks for the replies guys.  I'd managed to sort it out myself, but I'm sure all the advice here will be helpful to all the prospective admins on this board. <!--emo&:)--><img src="http://www.natural-selection.org/iB_html/non-cgi/emoticons/smile.gif" border="0" valign="absmiddle" alt=':)'><!--endemo-->

    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-->
Sign In or Register to comment.