Uwagi i sugestie

Installing the required software on the system CentOS 5.5 32 bit.

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

...
Is this ok [y/N]:
y
[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... 87.248.218.49, 87.248.217.81
Łączenie się z storefront.steampowered.com|87.248.218.49|: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
STEAMTM SUBSCRIBER AGREEMENT

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.

1.  REGISTRATION AND ACTIVATION.

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

 

To start the game type:

[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


After typing in console: screen -ls shows us:

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


To access the game console, typescreen -r game1
  If you want to get out of the console game not excluding the game press the key combinationCTRL + A + D.
  To turn off the game, typekill PID where PID  number in our situation is 13890. Type in console kill 13890.