PDA

View Full Version : Installing Counter Strike: Source or any other half-life Sever On Breezy.



bjweeks
October 15th, 2005, 12:43 PM
This how-to will help you install a Counter Strike: Source server.

The first step is to make a directory to put the server I will use /srcds (source dedicated server) because I find is the most convenient.


sudo mkdir /srcds

Move into the directory.


cd /srcds

Change the directory permissions.


chmod 755 /srcds

Download the Half-Life server update tool.


sudo wget http://storefront.steampowered.com/download/hldsupdatetool.bin

Make the file an executable.


chmod +x hldsupdatetool.bin

Run the update tool. Then except the EULA.


./hldsupdatetool.bin

The bin extracted 'steam'. So you can remove it and the readme now.


sudo rm hldsupdatetool.bin


sudo rm readme.txt

Run the 'steam' file to update it.


./steam

Install the server. This could take a few hours.


./steam -command update -game "Counter-Strike Source" -dir .


Now go take a break it is installing all the files. It could take a over an hour.

Once that done you can start you server by.


./srcds_run -game cstrike -autoupdate +map de_dust

I hope this how-to helped you post any errors, typos, suggestions or feedback.

I'm in the process of updateing the how-to, I have a few more bugs to comfirm.

::DoGG::
October 27th, 2005, 09:08 PM
GREAAAATT howto
helped me a lot, ony one question - can i download with this steam server for CS 1.5 or only 1.6 is available ???

EDIT:
i would add "chmod 755 -R /srcds" , if you add just "chmod 755 /srcds" after install you wont be able to do anything without superuser privileges.

bjweeks
October 28th, 2005, 02:37 AM
This only install the latest server so installing "cstrike" would install Counter Strike 1.6. Would you need to use -r because you set the chmod before you put the files in the directory.

Plasma88
December 23rd, 2005, 07:20 PM
everything went smoothly, until the second to last step....

plasma@ubuntu:/cs$ ./steam -command update -game cstrike -dir .
Checking bootstrapper version ...
Getting version 17 of Steam HLDS Update Tool
Downloading. . . . . . . . . . . .
Cannot open output file 'LinuxHldsUpdateTool_17.pkg'

i get that cannot open 17 pkg....

any ideas?


p.s. im also a complete linux noob

bjweeks
December 27th, 2005, 03:37 AM
It could be a issue with Valve's servers, try again and see if is works.

Brian.Hall
December 28th, 2005, 12:18 AM
everything went smoothly, until the second to last step....

plasma@ubuntu:/cs$ ./steam -command update -game cstrike -dir .
Checking bootstrapper version ...
Getting version 17 of Steam HLDS Update Tool
Downloading. . . . . . . . . . . .
Cannot open output file 'LinuxHldsUpdateTool_17.pkg'

i get that cannot open 17 pkg....

any ideas?


p.s. im also a complete linux noob


Run ./steam as sudo. That should fix it for you.

Ex: sudo ./steam -command update -game cstrike -dir .

jamaican
December 31st, 2005, 12:39 AM
hello just wondering how do you make a directory or wer do you get one because im on windows xp and i dont no how thnx for you help


jamaican:confused:

dynamicres
January 7th, 2007, 10:10 PM
great howto!!

Dark Sarcasm
March 15th, 2007, 01:36 AM
Hi, I am new to linux and I was wondering what port I should forward for this server, and also how to configure admins and such. I have another server that I am using as a web, ftp, and network server, so I don't want to put it in the DMZ and disrupt the other server.
Thanks in advance!

-Tom

tehgooch
June 10th, 2007, 12:58 AM
I keep getting this when trying to run hldsupdatetool.bin:


tehgooch@gserver:/srcds# ./hldsupdatetool.bin
bash: ./hldsupdatetool.bin: No such file or directory
tehgooch@gserver:/srcds#

The file is there, and I followed all the directions exactly. I am running Ubuntu 7.04 Server AMD64 (Is it because I'm running AMD64?).

I'm doing this through SSH on my Windows XP Pro computer. Any help would be greatly appreciated. I tried to include any information that might be useful, but if you need more just ask :).

ginnsu
June 20th, 2007, 09:28 AM
I keep getting this when trying to run hldsupdatetool.bin:



The file is there, and I followed all the directions exactly. I am running Ubuntu 7.04 Server AMD64 (Is it because I'm running AMD64?).

I'm doing this through SSH on my Windows XP Pro computer. Any help would be greatly appreciated. I tried to include any information that might be useful, but if you need more just ask :).

Sorry to drudge up a new thread but I found this thread looking for answers and this post gave me an idea that solved this problem for me. I'd just like it answered for the next person who's looking for answers (or more likely: me if I set up another server and forget my own solution.) From what I understand the Ubuntu Server & Desktop AMD64 do not come with the package lib32gcc1, which in most cases is not needed, but for installing the half life & source dedicated servers it is. So:

sudo apt-get install lib32gcc1
That nipped this one in the butt for myself. And I hope tehgooch had this solved a long time ago. Thank you.

||Console||
June 27th, 2007, 07:23 PM
nice guid i hope it works for me that missing LIB was a pain

||Console||
June 28th, 2007, 03:35 PM
I got it working . =) Vmware/ Bridged connection .

not_aWake
July 23rd, 2007, 10:07 AM
I keep getting this when trying to run hldsupdatetool.bin:



The file is there, and I followed all the directions exactly. I am running Ubuntu 7.04 Server AMD64 (Is it because I'm running AMD64?).

I'm doing this through SSH on my Windows XP Pro computer. Any help would be greatly appreciated. I tried to include any information that might be useful, but if you need more just ask :).

I think u forgot to sudo chmod +x hldsupdatetool.bin, hope this helps

tehgooch
September 9th, 2007, 03:30 AM
Sorry to dredge an old thread as well, but I forgot to add the rest of my story. I had it set as executable, and it still wasn't working. I installed the 32-bit ubuntu server and it worked fine :mad:. Thanks for the tutorial :) .

firefall121
September 17th, 2007, 01:38 AM
how do i do it can u put it in a simpiler form?
like were do i even download the server?

golfing22
November 24th, 2007, 08:10 PM
Thanks a ton ginnsu, I thought I was crazy when bash said file not found!

chapman691
August 15th, 2008, 11:01 AM
ok well im not very happy.

everything went well until the last command.
i entered it and even sudo'd it this is what i got

kris@kris-desktop:~$ cd /srcds
kris@kris-desktop:/srcds$ ./srcds_run -game cstrike -autoupdate +map de_dust
bash: ./srcds_run: Permission denied
kris@kris-desktop:/srcds$ sudo ./srcds_run -game cstrike -autoupdate +map de_dust
Auto detecting CPU
Using SSE2 Optimised binary.
Server will auto-restart if there is a crash.
Updating server using Steam.
Checking bootstrapper version ...
Updating Installation

any suggestions.
im running ubuntu 7.4 and i think my graphics card is an ati.
thanks in advance

eenofonn
December 10th, 2008, 06:32 AM
ok well im not very happy.

everything went well until the last command.
i entered it and even sudo'd it this is what i got any suggestions.
im running ubuntu 7.4 and i think my graphics card is an ati.
thanks in advance

it seems as if you are trying to run the game... from what you posted it looks like the "server" is running fine.

tybasher
March 16th, 2009, 09:09 PM
Newfag here at Ubuntu. I am running Ubuntu Server 8.10 on my Dell. This guide helped me loads. I thank you for your time you put into this.

Reyes1986
May 6th, 2009, 05:47 PM
Hey guys, I am proud to say that I've successfully installed Steam! CSS Is currently downloading :) ...For those who need help do what I do:


1. Make sure you have Wine.
1a. Make sure you have Tahoma font.
1b. If you need it, download it here (http://www.dsource.org/projects/bindings/browser/trunk/freetype/examples/Tahoma.ttf?format=raw)
1c. extract font to cp Tahoma.ttf /home/USERNAME/.wine/drive_c/windows/fonts
1d. If you still cannot find it, search for .wine folder (make sure hidden files are not hidden.)

2. Once you have wine, type this in terminal wine --version

3. Make sure you have version 1.+ not 0.9

4. Go to www.steamgames.com download file (it's .msi not exe.)

5. Open file, don't save to desktop.

6. Wine should automatically open up Steam and you should have a regular "Windows" program running (steam).

7. Just follow the instructions and your good to go! :)

:guitar: It feels good, considering the fact this is my second day with Linux, I still have a lot to learn, and need help with a few things myself, but this is for all those who were puzzled like me. I guess the other versions people were telling you to do were outdated?

PS - My O/S is Ubuntu 8.4

majormashup
April 3rd, 2010, 02:32 PM
@Reyes1986

running the windows version through wine may not be the most CPU efficient way of running a CS:S server, I'd recommend checking out
this guide: (http://www.cstrike-planet.com/tutorial/1-Linux-Install-CS-Source/5) on installing it in linux without having to bother with those windows libraries.

bayou
April 20th, 2010, 09:02 AM
when i use this command

./steam -command update -game "Counter-Strike Source"-dir


i have an result like this

Checking bootstrapper version ...
Updating Installation
No installation directory supplied or previously set



can anyone help me???

:) :) :)

Major Payne
June 8th, 2010, 01:55 AM
when running ubuntu 10 desktop i attempt the ./steam command and it gives a illegal instruction

please help

morphication
June 8th, 2010, 05:00 PM
when running ubuntu 10 desktop i attempt the ./steam command and it gives a illegal instruction

same here. after tow days of crazy search i found out that it has to do with the update from march 2010, in which the valve guys f***ed us all by making sse2 of the cpu mandatory. does anybody know a work around other then installing windows or wine?

major payne, can you confirm using an older cpu? i have a athlonxp 2400+, which supoorts sse, but not sse2.

i am highly frustrated and feel left behind by the until now super cool valve guys :(

zmolix
August 18th, 2011, 12:08 AM
This how-to will help you install a Counter Strike: Source server.

The first step is to make a directory to put the server I will use /srcds (source dedicated server) because I find is the most convenient.

I made all of them with some small problems but i retried and it worked.
And after that when i run the "
./srcds_run -game cstrike -autoupdate +map de_dusti get
bash: ./srcds_run: No such file or directory I tried with sudo and from the srcds folder and from root and all of them !!!

WHAT IS HAPPENING ?

P.S. I am kind of a noob, so if you explain what is happening please say it step-by-step.

Thanks !!!


I resolved the problem.

Now the updater creates a folder "orangebox" and there are the server files.

If you want to config the server you may encounter a problem: the file /orangebox/cstike/cfg/server.cfg

you have to :

cd orangebox/cstrike/cfg/
sudo gedit server.cfgReply if something goes wrong.

Flubbacrud
December 20th, 2011, 05:45 PM
when i use this command

./steam -command update -game "Counter-Strike Source"-dir


i have an result like this

Checking bootstrapper version ...
Updating Installation
No installation directory supplied or previously set



can anyone help me???

:) :) :)

you are missing a space and a full stop after the -dir thats why it isnt working.

Flubbacrud
December 20th, 2011, 05:46 PM
Also for any one running a 64 bit version before you start trying to run the hldsupdatetool.bin i suggest you run the following first otherwise nothing will happen as the 64 bit has some 32bit libraries missing.

sudo apt-get install ia32-libs

dkaratsos
October 21st, 2013, 08:26 PM
hi everybody. i m a total noob in linux but i usually find my way through googling things....so for the server i was trying over 3 hours typing and copy pasting the << ./steam -command update -game "Counter-Strike Source" -dir .>> nothing happens. no files downloaded nothing....it just said that it was updated....so i checked the list of games using the ./steam -command list and there is not css in there.... now im trying the same but for game i put "orangebox" seems the most correct and yes its finally downloading game files...i hope its the correct one....if everything works fine....i ll feedback.

coffeecat
October 21st, 2013, 11:15 PM
Oh, wow. An old Breezy thread still open?

If anyone needs help with installing Counter Strike on a current version of Ubuntu (Breezy went end-of-life in 2007) please start a new thread in a support section of the forum where you are more likely to get help. The OP has not logged in for several years.

Thread closed.