免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1626 | 回复: 0
打印 上一主题 下一主题

Linux Steam and Cs1.6 Install Guide [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-03-13 10:23 |只看该作者 |倒序浏览


Intro:
This Guide is written for help with installing the new steam linux 1.6 server.It will take you step by step through the installation until you have a basic Counter-Strike server running.
Requirements:
Acces to Linux server with ssh, or your own server with a keybord.
An Internet connection on the linux server.
An homedir where you have write acces.
Enough space on your hard drive, 600Mb At least.
wget or an ftp program.
Gzip unpack program.
Guide:
Ok, Lets get started.Go to your homedir and lets make a new dir for the server, and then go into that dir.Should you already have a installation you want to update, just use the hlds_l dir you using now
mkdir hlds_l
Now lets go in the dir.
cd hlds_l
Now we are going to download the steam install files (file is called steam) I use wget here to get the file.If you are having problems downloading this file from this location there are some mirrors listed at the bottom of this page.if your linux doesnt have wget, use the http/ftp program provided with your distribution to get it.
wget http://users.lichtsnel.nl/~jap/steam/steam.tar.gz
We now have the file we need, now lets unpack it!
tar -zxvf steam.tar.gz
Now make sure it executable.
chmod +x steam
now lets runs steam:
./steam
it will response with:
Checking bootstrapper version …
Getting version X of Steam HLDS Update Tool
Downloading. . . . . . . . . . .
Steam Linux Client updated, please retry the command

So we now have an updated steam client, cool huh now lets get those server files.
./steam -command update -game (game) -dir /path/to/your/hlds_l
As you can see we can choose our game, install dir. The install dir is the path to the hlds_l dir we made in the beginning, ill use /home/jap/hlds_l as an example.
./steam -command update -game cstrike -dir /home/jap/hlds_l
if you typed it correctly it will response with:
No installation record found at /home/jap/hlds_l
Checking/Installing ‘Counter-Strike Base Content’ version XX

It will now start downloading files, go and watch tv, come chat in the irc channel, it will take some time.Dont worry about the no installation record found error, its just an message that it didnt found any installion, since its the first time
If steam is done downloading all those files, you will be back at the prompt, and you basicly now have an ready to use cs serveryou can test the server if it works with:
./hlds_run -game cstrike +map de_dust -autoupdate
This wil run the most basic cs server with the map de_dust.The option -autoupdate will make sure that if there is a Counter-Strike game update that it wil download it Automaticly
Because we made steam remember our password, all we need to do to update next time is run:
./steam -command update -game (game)
Thats all, How to config the server, thats all up to you, that im hoping, i dont need to explain.I wish you best of luck with your new Dedicated Linux Counter-Strike Server!I would like to thank the whole valve team for 2 things, this linux version, and the use of their Readme file while creating this guide!
Also if you have any questions or you just want to chat, join us on irc:
for server problems/questions:
#counter-server on Gamesurge
or for chatting:
#steam-hangout on Gamesurge
Mirrors for steam.tar.gz
http://users.lichtsnel.nl/~jap/steam/steam.tar.gz
http://japje.nl/steam/steam.tar.gz


http://gravity.dip.jp/~luina/project/cs/unix_versionup.html
>./steam -command update -game ゲーム名 -dir インストールする場所 -username 上で入力したユーザ名 -password メールアドレス 上で入力したパスワード
例)./steam -command update -game valve -dir . -username zefimia@master.email.ne.jp -password bbb
例)./steam -command update -game cstrike -dir . -username zefimia@master.email.ne.jp -password bbb


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/15588/showart_84346.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP