User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active
 

 

Setup Ubuntu 12.x with minimal extras.

I like to have root access so once the setup is done I do this

me@TF2-Server1:/# sudo passwd

This will set the root password. then type exit and relogin as root

You will need to install

root@TF2-Server1:/# apt-get install lib32gcc1

root@TF2-Server1:/# apt-get install zip


mkdir steam
cd steam
wget http://www.steampowered.com/download/hldsupdatetool.bin
chmod +x hldsupdatetool.bin
./hldsupdatetool.bin
./steam

 

Install Counter Strike Source:

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


Install Team Fortress 2

./steam -command update -game tf -dir /steam

 

Now we need to add a file and enter the text 440:

TF2

nano  /steam/orangebox/steam_appid.txt

440

 

 

CSS

nano  /steam/css/steam_appid.txt

240

^@

 

(save the file: [ctrl]x )

if you don't do this you will get the issue:

 

* Unable to load Steam support library. *

* This server will operate in LAN mode only. *

so your server is basically offline.

 

 

 

Start the server TF2:

screen -dmS 'tf2' /steam/orangebox/srcds_run -game tf -autoupdate +map mvm_coaltown +maxplayers 32 -ip 192.168.1.22

 

Start the server CSS:

screen -dmS 'css' /steam/css/srcds_run -game cstrike -autoupdate +map de_dust2 +maxplayers 20 -ip 192.168.1.25

 

 

Auto start on server bootup:

Please read this article Ubuntu Startup