New Member
- Joined
- Dec 2, 2004
- Messages
- 12
- Best answers
- 0
ESF Server Linux Install
So you have a linux server with remote access to it and you want to create an ESF server? Nice! Let's see how I can help!
Getting HLDS files
First of all get in a directory that you have write access and create a folder named hlds_l, making it writeable and finally entering it!:
Getting ESF files
OK now you need to get ESF files. When you are still in the same dir (hlds_l) just use wget again to get them. I don't give direct links, just go to http://www.esforces.com/?p=files and find some to use. You need to get both 1.2 and 1.2.1 files and unpack them:
Starting the server
The basic command to start the server is:
If everything went OK the server should be running, included in Steam lists, at yourip:27105. (for example mine is 64.71.168.5:27015)
Now you may want to run the server in the background so that you can close your ssh connection with the server. To do that just type:
It's a good idea to make the folder chmod'ed to 755 or 750 again:
You may also want to edit server.cfg to change your server's name and set an rcon password!
I hope you found this helpfull enough for sticky! I made it using this excellent article for CS server here:
http://japje.nl/steam/install (well I actually almost copied the hlds part!)
If you have any trouble post in the Servers board!
So you have a linux server with remote access to it and you want to create an ESF server? Nice! Let's see how I can help!
Getting HLDS files
First of all get in a directory that you have write access and create a folder named hlds_l, making it writeable and finally entering it!:
Now we need to get Steam. Use this command to do so:mkdir hlds_l
chmod 777 hlds_l
cd hlds_l
After you got steam.tar.gz we need to unpack and make it executable. Finally we need to run it.
When you run Steam you should see something like this:Unpack:
tar -zxvf steam.tar.gz
Executable:
chmod +x steam
Run:
./steam
OK now you need to create a Steam account for your server to use (don't use your own one!). Below is the general code and an example:Checking bootstrapper version ...
Getting version X of Steam HLDS Update Tool
Downloading. . . . . . . . . . .
Steam Linux Client updated, please retry the command
You should get something like this if your account is created:./steam -command create -username <username> -email <email> -password <password> -question <question> -answer <answer>
./steam -command create -username afonic -email [email protected] -password yourpass -question "Do you like Picollo?" -answer yes
OK and now it's time to download all the HLDS files. Just type this (again general type and example):Checking bootstrapper version ...
Creating Account
Account Created successfully
If everything is OK then Steam should download the HLDS files, so we can procceed! Don't be fooled by the -esforces in game, it doesn't get any ESF files, I found it's a good way to grab just only the needed files!./steam -command update -game <game> -dir /path/to/your/hlds_l -username <username> -password <password> -remember_password
./steam -command update -game esforces -dir /home/afonic/hlds_l -username afonic -password yourpass -remember_password
Getting ESF files
OK now you need to get ESF files. When you are still in the same dir (hlds_l) just use wget again to get them. I don't give direct links, just go to http://www.esforces.com/?p=files and find some to use. You need to get both 1.2 and 1.2.1 files and unpack them:
Now if you have a look in the dir's contents a dir named esf must have been created! (the command to see dirs / files is "ls"). You are now ready to start the server!wget http://url-you-have-to-find/esf12.tar.gz
wget http://url-you-have-to-find/esf121.tar.gz
tar -zxvf esf12.tar.gz
tar -zxvf esf121.tar.gz
Starting the server
The basic command to start the server is:
This will start a new game for 12 players in the map cell_games. More options are +port to set the port and +ip to set the IP../hlds_run -game esf +maxplayers 12 +map esf_cell_games
If everything went OK the server should be running, included in Steam lists, at yourip:27105. (for example mine is 64.71.168.5:27015)
Now you may want to run the server in the background so that you can close your ssh connection with the server. To do that just type:
And press enter once. To stop the server try "killall hlds_run && killall hlds_i486".nohup ./hlds_run -game esf +maxplayers 12 +map esf_cell_games &
It's a good idea to make the folder chmod'ed to 755 or 750 again:
If you want to change the default message get inside esf folder and create a file named motd.txt putting whatever you want in there! If you want to change the mapcycle edit mapcycle.txtcd .. (to get out of hlds_l dir)
chmod 750 hlds_l
You may also want to edit server.cfg to change your server's name and set an rcon password!
I hope you found this helpfull enough for sticky! I made it using this excellent article for CS server here:
http://japje.nl/steam/install (well I actually almost copied the hlds part!)
If you have any trouble post in the Servers board!