Uwagi i sugestie

Instalacja wymaganego oprogramowania na systemie CentOS wersje 5/6 32bit.

[root@centos ~]# yum install wget ncompress screen

Is this ok [y/N]:
[root@centos ~]# mkdir -p /usr/local/cs/game1
[root@centos ~]# cd /usr/local/cs/game1
[root@centos game1]# wget http://storefront.steampowered.com/download/hldsupdatetool.bin
--2010-10-06 23:51:10--  http://storefront.steampowered.com/download/hldsupdatetool.bin
Translacja storefront.steampowered.com...,
Łączenie się z storefront.steampowered.com||:80... połączono.
Żądanie HTTP wysłano, oczekiwanie na odpowiedź... 200 OK
Długość: 3513408 (3,4M) [application/octet-stream]
Zapis do: `hldsupdatetool.bin'

100%[================================================================================>] 3.513.408   1002K/s   w  3,5s

2010-10-06 23:51:14 (968 KB/s) - zapisano `hldsupdatetool.bin' [3513408/3513408]

[root@centos game1]# chmod +x hldsupdatetool.bin
[root@centos game1]# ./hldsupdatetool.bin

This Agreement is written only in the English language, which language will be controlling in all respects.  All communications to be made or given pursuant to this Agreement will be in the English language, except as may be required under applicable law.


Steam is an online service (.Steam.) offered by Valve Corporation (.Valve.).

You become a subscriber of Steam (.Subscriber.) by installing the Steam client software and completing the Steam registration.  Additionally, as a Subscriber you may obtain access to certain services, software and content (.Subscriptions.) available to Subscribers. This Steam Subscriber Agreement (.Agreement.) is a legal document that explains your rights and obligations as a Subscriber. Please read it carefully.


Enter 'yes' to accept this agreement, 'no' to decline: yes
extracting steam.tar.Z...done
[root@centos game1]# chmod +x steam
[root@centos game1]# ./steam
Checking bootstrapper version ...
Getting version 40 of Steam HLDS Update Tool
Downloading. . . . . . . . . . . .
Steam Linux Client updated, please retry the command

[root@centos game1]# ./steam -command update -game cstrike -dir .
Checking bootstrapper version ...
Updating Installation
No installation record found at .
Checking/Installing 'Counter-Strike Base Content' version 35

0.16%   downloading ./cstrike/cl_dlls/client.dll
0.16%   downloading ./cstrike/classes/ak47.res
0.16%   downloading ./cstrike/classes/arctic.res
0.16%   downloading ./cstrike/classes/aug.res
0.16%   downloading ./cstrike/classes/autoselect_ct.res
98.45%  downloading ./valve/user.scr
98.45%  downloading ./valve/valve.rc
98.45%  downloading ./valve/valvecomm.lst
100.00% downloading ./valve/xeno.wad


Aby uruchomić grę wpisujemy:

[root@centos game1]# screen -A -m -d -S game1 ./hlds_run -game cstrike +ip -pingboost 3 +sys_ticrate 1100 +exec server.cfg +map de_dust -port -maxplayers

Po wpisaniu w konsoli screen -ls ukaże nam się:

[root@centos game1]# screen -ls
There is a screen on:
        13890.game1     (Detached)
1 Socket in /var/run/screen/S-root.

Aby przejść do konsoli gry wpisujemy screen -r game1
Jeżeli chcemy wyjść z konsoli gry nie wyłączając gry wciskamy kombinację klawiszy CTRL + A + D.
Aby wyłączyć grę wpisujemy kill PID gdzie nr. PID to w naszym przypadku jest 13890. Wpisujemy w konsoli kill 13890.