info: | Download steam-boiler to install steam and boiler. |
---|---|
author: | Erik Southworth |
version: | 49 |
revision: | July 30, 2012 |
description: | Linux Reference Manual |
Assuming you have installed Steam-Boiler and have logged in to a normal user account. The following shell session demonstrates how a typical installation is accomplished. Open a shell terminal and follow these steps.
1. Make directory (if required) and change directory to where user gameserver downloads are to be stored. Here we call it ‘Gameserver’.
- $ mkdir -pv ~/Gameserver/orange-box
- $ cd ~/Gameserver
[~]$ mkdir -pv ~/Gameserver/orange-box
mkdir: created directory `/home/user/Gameserver'
mkdir: created directory `/home/user/Gameserver/orange-box'
[~]$ cd ~/Gameserver
[Gameserver]$
- $ steam -command update -game ‘counter-strike source’ -dir orange-box
[Gameserver]$ steam -command update -game 'counter-strike source' -dir orange-box
+ steam -command update -game counter-strike source -dir /home/user/Gameserver/orange-box
Checking bootstrapper version ...
Getting version 49 of Steam HLDS Update Tool
Downloading. . . . . . . . . . . .Could not open file steam
+ Retrying command ...
Checking bootstrapper version ...
Updating Installation
No installation record found at /home/user/Gameserver/orange-box/orangebox
No installation record found at /home/user/Gameserver/orange-box
Checking/Installing 'Counter-Strike Source Shared Content' version 86
0.20% downloading /home/user/Gameserver/orange-box/orangebox/cstrike/bin/server.dll
0.55% downloading /home/user/Gameserver/orange-box/orangebox/cstrike/bin/server.dylib
1.09% downloading /home/user/Gameserver/orange-box/orangebox/cstrike/bin/server.so
...
100.00% downloading /home/user/Gameserver/orange-box/orangebox/hl2/pure_server_whitelist.txt
100.00% downloading /home/user/Gameserver/orange-box/orangebox/srcds_linux
100.00% downloading /home/user/Gameserver/orange-box/orangebox/srcds_run
Connection Reset, errno 104 "Connection reset by peer"
+ Retrying command ...
Checking bootstrapper version ...
Updating Installation
Checking/Installing 'Counter-Strike Source Shared Content' version 118
Checking/Installing 'Base Source Shared Models' version 4
Checking/Installing 'Base Source Shared Sounds' version 4
Checking/Installing 'Base Source Shared Materials' version 8
Checking/Installing 'Counter-Strike Source Linux Dedicated Server' version 3
HLDS installation up to date
+ Checking steam symlink in /home/user/Gameserver/orange-box/orangebox ... missing
+ Creating symlink /home/user/Gameserver/orange-box/orangebox/steam -> `/usr/local/bin/steam'
Tip
Using Steam-Boiler simplifies the command-line to steam update css orange-box instead of steam -command update -game 'counter-strike source' -dir orange-box.
3. Change directory to where the run-script is located and test the dedicated server.
- $ cd ~/Gameserver/orange-box/orangebox
- $ ./srcds_run -game cstrike +map de_dust2 +ip 0.0.0.0
[Gameserver]$ cd ~/Gameserver/orange-box/orangebox/
[orangebox]$ ./srcds_run -game cstrike +map de_dust2 +ip 0.0.0.0
Auto detecting CPU
Using default binary: ./srcds_linux
Server will auto-restart if there is a crash.
Using breakpad minidump system
Using breakpad crash handler
Console initialized.
Game.dll loaded for "Counter-Strike: Source"
Setting breakpad minidump AppID = 240
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Installing breakpad exception handler for appid(240)/version(4724)
maxplayers set to 32
No '-replayserverdir' parameter found - using default replay folder.
Replay: Creating thread pool...succeeded.
Replay: Starting thread pool with 4 threads...succeeded.
Cleaning files from temp dir, "/home/user/Gameserver/orange-box/css/cstrike/replay/server/tmp/" ...no files removed.
Unknown command "r_decal_cullsize"
Network: IP 0.0.0.0, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
ConVarRef room_type doesn't point to an existing ConVar
Executing dedicated server config file
Initializing Steam libraries for secure Internet server
Failed to load Steam Service
ServiceStart: failed to start
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
'server.cfg' not present; not executing.
Connection to Steam servers successful.
Public IP is nn.nn.nn.nn.
VAC secure mode is activated.
Use CTRL-C to exit...
Hint
srcds_run also accepts some other, not widely useful, options. Run ./srcds_run -help for more details. All command-line options are passed through to the gameserver binary. Server cvars are specified on the command-line using the notation +CVAR VALUE. (i.e. +map de_dust)
Important
The +IP specified is normally within the local network range 192.168.xxx.xxx for underground (cable/DSL) hosted servers or wildcard 0.0.0.0 for all available interfaces. (i.e. +ip 192.168.1.15)