Send a link

Counter-Strike

Table of contents



Installing Counter-Strike on FreeBSD (dedicated server)


Enable Linux compatibility

File /etc/rc.conf
linux_enable="YES"


Install Linux base from ports


First - change this sysctl
sysctl compat.linux.osrelease=2.6.29
echo "compat.linux.osrelease=2.6.29" >> /etc/sysctl.conf


Then install the Linux base with the most recent glibc
cd /usr/ports/emulators/linux_base-f8/
make
make install

Mount Linux Proc FS

File /etc/fstab
linproc   /compat/linux/proc   linprocfs   rw   0   0

Then execute:
mount /compat/linux/proc


Download Steam from Valve


Install/update Counter-Strike


Create start/stop/update scripts


Configure server.cfg


See link 3 for details/examples.

Configure your firewall


You only need to open server port 27015 (UDP) to run the game.

However, client port 27010 (UDP) is needed to register the server with Steam/Valve (WON Auth).

See link 1 for details/examples.

Starting and stopping the service


Installing addons/plugins


See link 2 for details/examples.

1. http://www.cstrike-planet.com/faq/6 (external link)
2. http://www.fpsbanana.com/tuts/5367 (external link)
3. http://www.thehotfix.net/howto/Updated/Setup%20a%20CS%20source%20server.htm (external link)

  • + : A leading plus sign indicates that this word must be present in every object returned.
  • - : A leading minus sign indicates that this word must not be present in any row returned.
  • By default (when neither plus nor minus is specified) the word is optional, but the object that contain it will be rated higher.
  • < > : These two operators are used to change a word's contribution to the relevance value that is assigned to a row.
  • ( ) : Parentheses are used to group words into subexpressions.
  • ~ : A leading tilde acts as a negation operator, causing the word's contribution to the object relevance to be negative. It's useful for marking noise words. An object that contains such a word will be rated lower than others, but will not be excluded altogether, as it would be with the - operator.
  • * : An asterisk is the truncation operator. Unlike the other operators, it should be appended to the word, not prepended.
  • " : The phrase, that is enclosed in double quotes ", matches only objects that contain this phrase literally, as it was typed.

Menu