L4

CS:Sサーバー

Counter-Strike:Sourceのサーバーを建ててみることにした。身内用だと思う。

導入

基本的にここの引用。
#yum install ncompress
入ってないと、sh: uncompress: command not foundとでて、
./hldsupdatetool.binが実行できなかったため。
#mkdir /opt/css
#cd /opt/css
#wget http://www.steampowered.com/download/hldsupdatetool.bin
#chmod u+x hldsupdatetool.bin
#./hldsupdatetool.bin
#./steam -command update -game "Counter-Strike Source" -dir /opt/css
Sourceの綴りをSourseにして超詰まった。結構時間がかかるので止まったと勘違いしない事。

起動

#./srcds_run -console -game cstrike +map de_dust +maxplayers 16 -autoupdate
オプションは任意。