<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Blog by Andreas Glaser &#187; Bash</title>
	<atom:link href="http://www.andreas-glaser.com/tag/bash/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.andreas-glaser.com</link>
	<description>Development, Technology and such...</description>
	<lastBuildDate>Wed, 18 May 2011 23:16:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>SRCDS Linux Startscript 1.2</title>
		<link>http://www.andreas-glaser.com/2009/02/17/srcds-linux-startscript-12/</link>
		<comments>http://www.andreas-glaser.com/2009/02/17/srcds-linux-startscript-12/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 19:34:24 +0000</pubDate>
		<dc:creator>Andreas Glaser</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Shell Script]]></category>
		<category><![CDATA[Operating system]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Screen]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[SRCDS]]></category>

		<guid isPermaLink="false">http://www.andreas-glaser.com/?p=309</guid>
		<description><![CDATA[1. SRCDS Linux Startscript This little shell script makes it easier for you to start a SRCDS under linux. It provides you with a set of parameters to start every kind of a SRCDS. 2. How to use: After you successfully installed a Source Dedicated Server (SRCDS) under Linux you just have to download the [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;"><strong>1. SRCDS Linux Startscript<br />
</strong></p>
<p style="text-align: left;">This little shell script makes it easier for you to start a SRCDS under linux. It provides you with a set of parameters to start every kind of a SRCDS.</p>
<p><strong>2. How to use:</strong></p>
<p>After you successfully installed a Source Dedicated Server (SRCDS) under Linux you just have to download the startscript at the bottom of this post.<br />
Save the &#8220;startscript.sh&#8221; into the root directory of your SRCDS  and change the permission to &#8220;u + x&#8221;.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p309code4'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p3094"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p309code4"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">chmod</span> u + x startscript.sh</pre></td></tr></table></div>

<p>Now open the start script with your preferred editor (vim, joe, mono etc.) and customize the configuration variables to your system.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p309code5'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p3095"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
</pre></td><td class="code" id="p309code5"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">############################*</span>
<span style="color: #666666; font-style: italic;"># Configuration (Required):</span>
<span style="color: #666666; font-style: italic;">#</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|</span>
<span style="color: #666666; font-style: italic;"># |~~ 1. SYSTEM PARAMETERS ~~~~~~~~~~|</span>
<span style="color: #666666; font-style: italic;"># |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Description: Set the user who owns the CounterStrike Server (root is not recommended)</span>
<span style="color: #666666; font-style: italic;"># ~~ Params: Existing user on your system</span>
<span style="color: #007800;">SYS_USER</span>=<span style="color: #ff0000;">&quot;css-001&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Description: Path to the root directory of your server</span>
<span style="color: #666666; font-style: italic;"># ~~ Params: System path</span>
<span style="color: #007800;">SYS_DIR</span>=<span style="color: #ff0000;">&quot;/path/to/your/server/&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Description: Server daemon</span>
<span style="color: #666666; font-style: italic;"># ~~ Params: srcds_run - srcds_amd - srcds_i486 - srcds_i686</span>
<span style="color: #666666; font-style: italic;"># ~~ Default Value: srcds_run</span>
<span style="color: #007800;">SYS_DAEMON</span>=<span style="color: #ff0000;">&quot;srcds_run&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Descripton: Set the priority (niceness) of the server. Highest priority: -20 Lowest priority: 19</span>
<span style="color: #666666; font-style: italic;"># ~~ Default Value: 0</span>
<span style="color: #007800;">SYS_NICE</span>=<span style="color: #ff0000;">&quot;0&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Name: Name of your server</span>
<span style="color: #007800;">SYS_NAME</span>=<span style="color: #ff0000;">&quot;CSS-001&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Description: Description of the server</span>
<span style="color: #007800;">SYS_DESC</span>=<span style="color: #ff0000;">&quot;My first SRCDS Server&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;"># |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|</span>
<span style="color: #666666; font-style: italic;"># |~~ 2. SERVER START PARAMETER ~~~~~|</span>
<span style="color: #666666; font-style: italic;"># |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Description: Define which kind of srcds game should be started</span>
<span style="color: #666666; font-style: italic;"># ~~ Params: Counter-Strike Source - ageofchicalry - diprip - dods - dystopia - esmod - garrysmod - hl2mp - insurgency</span>
<span style="color: #666666; font-style: italic;"># ~~         l4d_full - left4dead - synergy - tf - zps - cstrike - cstrike_beta - czero - dmc - dod - gearbox - ricochet</span>
<span style="color: #666666; font-style: italic;"># ~~         tfc - valve - darkmessiah - diprip - marenosturm - redorchestra - ship - sin - tshb</span>
<span style="color: #666666; font-style: italic;"># ~~ Default Value: Counter-Strike Source</span>
<span style="color: #007800;">SYS_GAME</span>=<span style="color: #ff0000;">&quot;Counter-Strike Source&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Description: IPv4 Address of your server</span>
<span style="color: #666666; font-style: italic;"># ~~ Params: XXX.XXX.XXX.XXX</span>
<span style="color: #007800;">START_PARAMS_IP</span>=<span style="color: #ff0000;">&quot;127.0.0.1&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Description: Port of your server</span>
<span style="color: #666666; font-style: italic;"># ~~ Params: Between 0 and 65535</span>
<span style="color: #666666; font-style: italic;"># ~~ Default Value: 27015</span>
<span style="color: #007800;">START_PARAMS_PORT</span>=<span style="color: #ff0000;">&quot;27015&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Description: Defines the default map</span>
<span style="color: #666666; font-style: italic;"># ~~ Params: Requires an installed map on your server</span>
<span style="color: #007800;">START_PARAMS_MAP</span>=<span style="color: #ff0000;">&quot;de_dust2&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Description: Defines the amount of player slots</span>
<span style="color: #666666; font-style: italic;"># ~~ Params: Between 1 and 32</span>
<span style="color: #007800;">START_PARAMS_MAXPLAYERS</span>=<span style="color: #ff0000;">&quot;32&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Description: Defines whether VAC (Valve Anti Cheat) is activated</span>
<span style="color: #666666; font-style: italic;"># ~~ Params: secure / insecure</span>
<span style="color: #666666; font-style: italic;"># ~~ Default Value: secure</span>
<span style="color: #007800;">START_PARAMS_SECURE</span>=<span style="color: #ff0000;">&quot;secure&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Description: Pingboost</span>
<span style="color: #666666; font-style: italic;"># ~~ Params: 0 / 1 / 2 / 3</span>
<span style="color: #666666; font-style: italic;"># ~~ Default Value: 0</span>
<span style="color: #007800;">START_PARAMS_PINGBOOST</span>=<span style="color: #ff0000;">&quot;0&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Description: Defines the tickrate</span>
<span style="color: #666666; font-style: italic;"># ~~ Params: 33 / 66 / 100</span>
<span style="color: #666666; font-style: italic;"># ~~ Default Value: 33</span>
<span style="color: #007800;">START_PARAMS_TICKRATE</span>=<span style="color: #ff0000;">&quot;33&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># CONFIGURATION END</span>
<span style="color: #666666; font-style: italic;">############################*</span></pre></td></tr></table></div>

<p>After this step just execute the startscript.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p309code6'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p3096"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p309code6"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span> startscript.sh start</pre></td></tr></table></div>

<p>Thats it!</p>
<p><strong>Required Linux packages</strong></p>
<ul>
<li><a title="http://www.google.com/linux?hl=en&amp;q=screen&amp;btnG=Search" href="http://www.google.com/linux?hl=en&amp;q=screen&amp;btnG=Search" target="_blank">screen</a></li>
</ul>
<p><strong>Download</strong></p>
Note: There is a file embedded within this post, please visit this post to download the file.
<p><strong>So long,<br />
Andreas Glaser aka JaZz<br />
</strong></p>
<fb:like href='http://www.andreas-glaser.com/2009/02/17/srcds-linux-startscript-12/' send='' layout='standard' show_faces='true' width='450' height='65' action='like' colorscheme='light' font='lucida+grande'></fb:like>]]></content:encoded>
			<wfw:commentRss>http://www.andreas-glaser.com/2009/02/17/srcds-linux-startscript-12/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux commands to install a CounterStrike Linux Server</title>
		<link>http://www.andreas-glaser.com/2008/11/11/linux-commands-to-install-a-counterstrike-linux-server/</link>
		<comments>http://www.andreas-glaser.com/2008/11/11/linux-commands-to-install-a-counterstrike-linux-server/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 09:35:10 +0000</pubDate>
		<dc:creator>Andreas Glaser</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Operating system]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[Commands]]></category>
		<category><![CDATA[CounterStrike Source]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://www.andreas-glaser.com/?p=268</guid>
		<description><![CDATA[Updated: 2009-12-07 For the impatient of you: ?View Code BASH1 2 3 4 5 wget http://storefront.steampowered.com/download/hldsupdatetool.bin chmod u+x hldsupdatetool.bin ./hldsupdatetool.bin ./steam -command update -game &#34;Counter-Strike Source&#34; -dir . ./steam -command update -game &#34;Counter-Strike Source&#34; -dir . In more details: Step 1 We need the hldsupdatetool (Half Life Dedicated Server Update Tool). Command: ?View Code BASH1 [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Updated: 2009-12-07</strong></p>
<p><strong>For the impatient of you:</strong></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p268code20'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p26820"><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code" id="p268code20"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>storefront.steampowered.com<span style="color: #000000; font-weight: bold;">/</span>download<span style="color: #000000; font-weight: bold;">/</span>hldsupdatetool.bin
<span style="color: #c20cb9; font-weight: bold;">chmod</span> u+x hldsupdatetool.bin
.<span style="color: #000000; font-weight: bold;">/</span>hldsupdatetool.bin
.<span style="color: #000000; font-weight: bold;">/</span>steam <span style="color: #660033;">-command</span> update <span style="color: #660033;">-game</span> <span style="color: #ff0000;">&quot;Counter-Strike Source&quot;</span> <span style="color: #660033;">-dir</span> .
.<span style="color: #000000; font-weight: bold;">/</span>steam <span style="color: #660033;">-command</span> update <span style="color: #660033;">-game</span> <span style="color: #ff0000;">&quot;Counter-Strike Source&quot;</span> <span style="color: #660033;">-dir</span> .</pre></td></tr></table></div>

<p><strong>In more details:</strong></p>
<p><strong>Step 1</strong><br />
We need the hldsupdatetool (Half Life Dedicated Server Update Tool).</p>
<p><em>Command:</em></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p268code21'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p26821"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p268code21"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>storefront.steampowered.com<span style="color: #000000; font-weight: bold;">/</span>download<span style="color: #000000; font-weight: bold;">/</span>hldsupdatetool.bin</pre></td></tr></table></div>

<p><em>Output:</em></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p268code22'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p26822"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code" id="p268code22"><pre class="bash" style="font-family:monospace;"><span style="color: #660033;">--2008-11-11</span> 09:<span style="color: #000000;">14</span>:<span style="color: #000000;">51</span>--  http:<span style="color: #000000; font-weight: bold;">//</span>storefront.steampowered.com<span style="color: #000000; font-weight: bold;">/</span>download<span style="color: #000000; font-weight: bold;">/</span>hldsupdatetool.bin
Resolving storefront.steampowered.com... 87.248.218.141, 87.248.218.161
Connecting to storefront.steampowered.com<span style="color: #000000; font-weight: bold;">|</span>87.248.218.141<span style="color: #000000; font-weight: bold;">|</span>:<span style="color: #000000;">80</span>... connected.
HTTP request sent, awaiting response... <span style="color: #000000;">200</span> OK
Length: <span style="color: #000000;">3513408</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>3.4M<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>application<span style="color: #000000; font-weight: bold;">/</span>octet-stream<span style="color: #7a0874; font-weight: bold;">&#93;</span>
Saving to: <span style="color: #000000; font-weight: bold;">`</span>hldsupdatetool.bin<span style="color: #ff0000;">'
&nbsp;
100%[====================================================================================================================&amp;gt;] 3,513,408   9.69M/s   in 0.3s
&nbsp;
2008-11-11 09:14:52 (9.69 MB/s) - `hldsupdatetool.bin'</span> saved <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">3513408</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">3513408</span><span style="color: #7a0874; font-weight: bold;">&#93;</span></pre></td></tr></table></div>

<p><strong>Step 2</strong></p>
<p>Now we have to grand the owner of the file read/write/execute (rwx) permission.</p>
<p><em>Command:</em></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p268code23'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p26823"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p268code23"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">chmod</span> u+x hldsupdatetool.bin</pre></td></tr></table></div>

<p><em>Output:</em></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p268code24'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p26824"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p268code24"><pre class="bash" style="font-family:monospace;">None</pre></td></tr></table></div>

<p><strong>Step 3</strong></p>
<p>The time has come to run the hldsupdatetool.bin</p>
<p><em>Command:</em></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p268code25'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p26825"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p268code25"><pre class="bash" style="font-family:monospace;">.<span style="color: #000000; font-weight: bold;">/</span>hldsupdatetool.bin</pre></td></tr></table></div>

<p><em>Output:</em></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p268code26'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p26826"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p268code26"><pre class="bash" style="font-family:monospace;">...I hereby agree to be bound by the Agreement.  I also acknowledge and agree that this Agreement <span style="color: #7a0874; font-weight: bold;">&#40;</span>including the Subscription Terms, Steam Online Conduct rules and other Rules of Use, and Privacy Policy<span style="color: #7a0874; font-weight: bold;">&#41;</span> is the <span style="color: #7a0874; font-weight: bold;">complete</span> and exclusive statement of the agreement between Valve and me, and that the Agreement supersedes any prior or contemporaneous agreement, or other communications, whether oral or written, between Valve and myself.</pre></td></tr></table></div>

<p>Enter &#8216;yes&#8217; to accept this agreement, &#8216;no&#8217; to decline:</p>
<p><strong>Step 4</strong></p>
<p>You have to accept the agreement with writing and confirming the word &#8220;yes&#8221;</p>
<p>Command:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p268code27'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p26827"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p268code27"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">yes</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">return</span><span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></td></tr></table></div>

<p><em>Output:</em></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p268code28'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p26828"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p268code28"><pre class="bash" style="font-family:monospace;">extracting steam.tar.Z...done</pre></td></tr></table></div>

<p><strong>Step 5</strong></p>
<p>Finally we can start to install the actual CounterStrike Source Linux Server.</p>
<p><em>Command:</em></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p268code29'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p26829"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p268code29"><pre class="bash" style="font-family:monospace;">.<span style="color: #000000; font-weight: bold;">/</span>steam <span style="color: #660033;">-command</span> update <span style="color: #660033;">-game</span> <span style="color: #ff0000;">&quot;Counter-Strike Source&quot;</span> <span style="color: #660033;">-dir</span> .</pre></td></tr></table></div>

<p><em>Output:</em></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p268code30'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p26830"><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code" id="p268code30"><pre class="bash" style="font-family:monospace;">Checking bootstrapper version ...
Getting version <span style="color: #000000;">34</span> of Steam HLDS Update Tool
Downloading. . . . . . . . . . .
Steam Linux Client updated, please retry the <span style="color: #7a0874; font-weight: bold;">command</span></pre></td></tr></table></div>

<p><strong>Step 6</strong></p>
<p>The fifth command once again&#8230; this last command will take a while to execute&#8230; depending on your Internet bandwidth.</p>
<p><em>Command:</em></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p268code31'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p26831"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p268code31"><pre class="bash" style="font-family:monospace;">.<span style="color: #000000; font-weight: bold;">/</span>steam <span style="color: #660033;">-command</span> update <span style="color: #660033;">-game</span> <span style="color: #ff0000;">&quot;Counter-Strike Source&quot;</span> <span style="color: #660033;">-dir</span> .</pre></td></tr></table></div>

<p><em>Output:</em></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p268code32'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p26832"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
</pre></td><td class="code" id="p268code32"><pre class="bash" style="font-family:monospace;">Checking bootstrapper version ...
Getting version <span style="color: #000000;">34</span> of Steam HLDS Update Tool
Downloading. . . . . . . . . . .
Steam Linux Client updated, please retry the <span style="color: #7a0874; font-weight: bold;">command</span>
root1:<span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>gaming<span style="color: #000000; font-weight: bold;">/</span>css-rotate<span style="color: #666666; font-style: italic;"># ./steam -command update -game &quot;Counter-Strike Source&quot; -dir .</span>
Checking bootstrapper version ...
Updating Installation
No installation record found at .
No installation record found at .
No installation record found at .
No installation record found at .
No installation record found at .
Checking<span style="color: #000000; font-weight: bold;">/</span>Installing <span style="color: #ff0000;">'Counter-Strike Source Shared Content'</span> version <span style="color: #000000;">69</span>
&nbsp;
<span style="color: #000000;">0.57</span><span style="color: #000000; font-weight: bold;">%</span>   .\cstrike\bin\server.dll
<span style="color: #000000;">1.96</span><span style="color: #000000; font-weight: bold;">%</span>   .\cstrike\bin\server_i486.so
<span style="color: #000000;">1.96</span><span style="color: #000000; font-weight: bold;">%</span>   .\cstrike\cfg\buypresetsdefault_ct.vdf
<span style="color: #000000;">1.96</span><span style="color: #000000; font-weight: bold;">%</span>   .\cstrike\cfg\buypresetsdefault_ter.vdf
<span style="color: #000000;">1.96</span><span style="color: #000000; font-weight: bold;">%</span>   .\cstrike\cfg\game.cfg
<span style="color: #000000;">1.96</span><span style="color: #000000; font-weight: bold;">%</span>   .\cstrike\cfg\skill1.cfg</pre></td></tr></table></div>

<p>That&#8217;s it&#8230; the server is now installed.</p>
<p><em><strong>Over and out,<br />
JaZz</strong></em></p>
<fb:like href='http://www.andreas-glaser.com/2008/11/11/linux-commands-to-install-a-counterstrike-linux-server/' send='' layout='standard' show_faces='true' width='450' height='65' action='like' colorscheme='light' font='lucida+grande'></fb:like>]]></content:encoded>
			<wfw:commentRss>http://www.andreas-glaser.com/2008/11/11/linux-commands-to-install-a-counterstrike-linux-server/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

