Im planning to buy this box later this month, im planning to install ubuntu or debian om that box. What software does i need? Firewall, Scrds x 2, Ftp Server, Ssh.
Im planning to run two servers on this box, both 100Tic. One public 32slot and one pcw/war server.
My questions besides 1000fps mod of kernel what other does i need to do to get smooth gameplay?
Write start/ stop/ update scripts to start the server.
You can copy one instance to another. Don't forget to start each server using different ports (like 27015 other using 27025).
Use apt-get for other server-software (but I don't think you need any).
I use SSH for SFTP. SFTP is enabled by default; you can comment out the following line to disable it: Subsystem sftp /usr/libexec/openssh/sftp-server.
Filezilla is a great (free) ftp-client for SFTP.
Maybe you should use one core for one instance of the game: taskset -c 1 -p <process ID server>
use man taskset for further info
Server netsettings:
sv_maxrate 25000 //Netspeed - Max
sv_minrate 15000 //Netspeed - Min
sv_mincmdrate 66
sv_maxcmdrate 101
sv_maxupdaterate 101 //Tickrate - Max
sv_minupdaterate 66 //Tickrate - Min
sv_unlag 1 // Enables player lag compensation
sv_maxunlag 0.750 // Maximum lag compensation in seconds
I duno about that realtime stuff. I've tried it on 3 different boxes, and my in-game performance always suffered compared to the default kernel, weird hiccups, sometimes map changes would take twice as long, and srcds lockups. This is on 3 servers. I swear some people are blinded to the issues a realtime kernel causes jut by the fps number.
*whisper: if your default kernel gets 300+fps, changing it to 1000 isn't going to do anything for the people in-game anyway, and if you have fps drops under load, this won't fix em either.
I think the only reason to make a 1000fps kernel for source servers is if you're going to be selling. You need it for hl1 servers, but not source. People who think that there's a difference in-game between a server getting 300fps, and one getting 1000 are loco en la cabeza. That's not to say all that stuff is useless though, like that cron job that runs every 5 minutes setting your servers to chrt -f
2. Start/ top/ restart/ update-script added. You can use it in Putty or add it to the crontab.
First time do: chmod 777 css.txt to be able to execute the script.
Usage:
./css.txt start -> update and start server
./css.txt fast -> only serverstart
3. Add script to crontab. When the server is running, the script won't do anything. If not, the script brings the server up. 00 8 * * * /<path>/css.txt fast
Im planning to buy this box later this month, im planning to install ubuntu or debian om that box. What software does i need? Firewall, Scrds x 2, Ftp Server, Ssh.
Im planning to run two servers on this box, both 100Tic. One public 32slot and one pcw/war server.
My questions besides 1000fps mod of kernel what other does i need to do to get smooth gameplay?
Just to add, Ubuntu (possible debian too) doesn't need a firewall (though you can add one if you makes you feel safe). It uses a set of IP tables and firewalls for ubuntu are just GUI ip tables modifiers.
Read here.
2. Start/ top/ restart/ update-script added. You can use it in Putty or add it to the crontab.
First time do: chmod 777 css.txt to be able to execute the script.
Usage:
./css.txt start -> update and start server
./css.txt fast -> only serverstart
3. Add script to crontab. When the server is running, the script won't do anything. If not, the script brings the server up. 00 8 * * * /<path>/css.txt fast
Sorry but i have tried and realy i dont understand
I have my srcds instaled this way:
/home/srcds_public/ <--- to many plugins, 66tic, loose rate settings
/home/srcds_match/ <---- fewer plugins, 100tic, strict rate settings
So i need the possibillity to autorestart the server if it dies, and also the possibility to Start/ top/ restart/ update them one by one.
Why don't you just run the servers through a program called screen. If u use the autoupdate command in the startup line and you are using screen, then the server will autorestart if it crashes
Arjen Wrote:Just paste the content in a file using the vi-iditor: vi <whatever name you like>.scr
change the paths: /home/sccds_public/<srcds_l?>/
Copy the file for other instances (other name) and change ports/ servername in the script. Don't forget to change the port-variable to shut it down.
we can take the servers one by one.
my installation looks like this
/home/srcds_match/orangebox
Inside that one i can find srcds_run <--- that one i can use to start the server
As i have understood so far is that i should create a *.scr file with a name that suits me. In that should i put what. And the css.txt you atatched where should i put that.