Difference between revisions of "Linux Server Installation"

From Warcraft 3 MODs for Half-Life
Jump to: navigation, search
(Created page with "=Introduction= This guide is written to help you install a dedicated server on a linux system. =Requirements= * Access to a linux server via SSH or by keyboard * An Internet ...")
 
(Introduction)
Line 1: Line 1:
 
=Introduction=
 
=Introduction=
This guide is written to help you install a dedicated server on a linux system.  
+
This guide is written to help you install a dedicated server on a linux system. You can also check out the official valve documentation [https://developer.valvesoftware.com/wiki/SteamCMD#32-bit_libraries_on_64-bit_Linux_systems here] (I'd recommend it if you're using a 64-bit server OS!)
 +
 
 
=Requirements=
 
=Requirements=
 
* Access to a linux server via SSH or by keyboard
 
* Access to a linux server via SSH or by keyboard

Revision as of 18:30, 20 October 2013

Introduction

This guide is written to help you install a dedicated server on a linux system. You can also check out the official valve documentation here (I'd recommend it if you're using a 64-bit server OS!)

Requirements

  • Access to a linux server via SSH or by keyboard
  • An Internet connection
  • Roughly 600MB of free space

Installation

  1. Create a new directory by typing the following command:
    mkdir hlds_l
  2. Move to this directory by typing the following:
    cd hlds_l
  3. Download the steam installation file by typing:
    wget http://war3ft.com/downloads/misc/steam
  4. Give this file executable permissions by typing:
    chmod +x steam
  5. Now run the file that was just extracted by typing:
    ./steam
    This should update your steam updater</pre>
  6. Now run the following command to begin installing counter-strike (Note: to install condition zero change cstrike to czero and to install Day of Defeat change cstrike to dod):
    ./steam -command update -game cstrike -dir .
  7. After this command you should see a message like:
    No installation record found at /home/username/hlds_l
  8. To start your game server type this in the command line:
    ./hlds_run -game cstrike +map de_dust +maxplayers 10 -autoupdate