Help - Search - Members - Calendar
Full Version: Windows or Linux
The Planet Forums > System Administration > Game Hosting
KT_Clan
OK well we are trying to decide we have windows now but were getting a few like lag issues and we think on a Linux it wont lag and theirs certain scripts only usable in Linux for our game but see the whole thing is like we Run a return to castle wolfenstein server and if we switch it over to Linux I have no clue on how to get it to run and stay running we had that problem with our first hosting company we had before we switched here. Like we had to keep putty open in order to have the server stay up but I don't want to have to do that and the game isn't in cortex yet wish it was. SO does anyone have any ideas and how to make it stay running with out leaving open a program like putty? icon_question.gif If maybe you guys could add the game into cortex it could solve my problems.
TP
NOOOOoooooooo.....
Not again!!

Just ask your self one question.
What OS can you interface with best?
Do you know how to use Windows or Linux.

Most folks do not know Linux they just here that it is better from someone who does.

So choose what you can handle.
KT_Clan
I know Linux to a certain extent but I asking if anyone knows how to run it and keep it running with out using a program like putty?
Outofmymindyo
Sure, either run it with && at the end of the start command, or run it with a program called "screen".
KT_Clan
O and to like people that work here does the Linux version come with webmid???
Outofmymindyo
For Linux the only thing that is offered by SM or TP and SUPPORTED by them is cPanel or Plesk (Helm for Windows). If you want Webmin installed you'd have to do it yourself or have a server admin do that for you.
KT_Clan
O ok thanks and I have an Insomnia365 server not sm or TC
Outofmymindyo
In that case I'm not sure, as I don't actually pay attention to what the I365 servers offer. IIRC though the only "control panel" they offer on those is the Cortex which starts all of the gameservers for you basically.
KT_Clan
Yes but the game we play isnt in cortex icon_evil.gif icon_cry.gif or i wouldnt mind switching to linux lol
rabbit994
It's not your OS. Linux isn't very good at most games and RTCW is based of Q3 engine which runs fines on Windows (See COD1 and 2) Besides, COD2 only has beta Linux server and I haven't heard good things about it.
I'd be looking at other issues besides OS.
KT_Clan
Well I dont care about the cod or cod2 since we got rid of that server (didnt take it off my sig yet sorry) so the only thing we run is rtcw and theirs a script a friend made that only works on linux anyway for it. I would really love it if they could add the game to cortex it would be so much easyer.
maester
QUOTE (rabbit994)
It's not your OS. Linux isn't very good at most games and RTCW is based of Q3 engine which runs fines on Windows (See COD1 and 2) Besides, COD2 only has beta Linux server and I haven't heard good things about it.
I'd be looking at other issues besides OS.


Speaking on COD1 does Windows fix the problems with the maps that Linux has such as the Maps not being read on Linux compared to Windows and does windows set theres up like you do actually installing the game?
rabbit994
In Windows, you upload the entire COD1 instance (same in COD2) then you pass it bunch of command line switches that starts it up as a dedicated server.

KT_CLan, I'm not sure what script your talking about that would only work in Linux. If it's a PK3, it should work in both Windows and Linux as it's game function, if it's some command line script, what is he doing in Linux only?

It might be your operating system but I seriously doubt it. I'd be more likely to point at mods, client connections or something else.
KT_Clan
QUOTE (rabbit994)
KT_CLan, I'm not sure what script your talking about that would only work in Linux. If it's a PK3, it should work in both Windows and Linux as it's game function, if it's some command line script, what is he doing in Linux only?


Theirs a guy who had finished making this http://q3adminmod.clan-zool.de/ on his free time and its a really cool script.
maester
thank you for the reply well my big question is I try uploading custom maps to linux they upload properally but do not show up in maps so I try to change the map in server and it says it cant find map /maps/mapname.bsp would a windows server fix this?
KT_Clan
Well did you restart the server so it recognizes the new maps? icon_question.gif Because an OS shouldnt make a diffrence.
rabbit994
Game server must be restarted before maps will be seen. Also, Just because a map is named map.bsp doesn't mean you can switch to it via /map map. Each map comes with internal name that is more likely not to match up file name.

KT_Clan, it's just a perl script, download active perl, it might run on Windows. However, that's a really funky way to doing administration I must say. There is serverwatch which doesn't work with RTCW. There might be other programs out there to do what that one does but I'm not sure since I don't play RTCW, I've just know Q3 engine.
maester
QUOTE (rabbit994)
Game server must be restarted before maps will be seen. Also, Just because a map is named map.bsp doesn't mean you can switch to it via /map map. Each map comes with internal name that is more likely not to match up file name.


Actually got a ticket open on this lreese states that this is a bug in the coding and they will have it fixed in the next release.However the maps upload and wether you restart the server or not they will not show up.If they do show up they do not start because they give the error /maps/mapname.bsp which if is uploaded by cortex it should run (you would think) but Lreese says this will be fixed in next release in about a week or so..
rabbit994
QUOTE (maester)
QUOTE (rabbit994)
Game server must be restarted before maps will be seen. Also, Just because a map is named map.bsp doesn't mean you can switch to it via /map map. Each map comes with internal name that is more likely not to match up file name.


Actually got a ticket open on this lreese states that this is a bug in the coding and they will have it fixed in the next release.However the maps upload and wether you restart the server or not they will not show up.If they do show up they do not start because they give the error /maps/mapname.bsp which if is uploaded by cortex it should run (you would think) but Lreese says this will be fixed in next release in about a week or so..


Sorry, I wasn't aware you were using Cortex, if you were, I wouldn't have wasted time typing all that crap because it was moot anyways.
maester
yeah im using cortex and it wont let me use any custom maps for whatever reason
Arkadiy
QUOTE (KT_Clan)
I know Linux to a certain extent but I asking if anyone knows how to run it and keep it running with out using a program like putty?


Ok, what you can do here is you put the letters nohup in front of the command you want. That way it will run it in the background as a process instead of you seeing the direct thing infront of you in PuTTy. Hope this helps.
KT_Clan
Well thanks but will that solve my prolbem see I can get it running in putty and stuff but when i close putty it shuts off. Im trying to make it stay open even though I shut down putty. CAN WE PLZ JUST GET RETURN TO CASTLE WOLFENSTEIN PUT IN CORTEX??? wink.gif
Arkadiy
I have had experience with PuTTy and yes that will solve it, if you put nouhp "command" it will say "outputting command to nohup" or something allong those lines, wait like 10 seconds then close out of PuTTy (it won't say anything like finished, I just like to wait 10 seconds to make sure).
KT_Clan
How much is it to have a diffrent os loaded onto an insomnia server? Like I have windows now but I might want to get Linux. O and that nohup command thing doesnt work for q3 consoles.
klaude
The OS reload fee is $25 no matter what operating system you choose to go with.
KT_Clan
Got a question does Red Hat Linux when you get it on the insomnia does it come with any thing like does it have its own webhosting thing (like apache) and does it come with webmin?
KT_Clan
O and whats the downtime for the loading of the linux os?
KT_Clan
can some one please answer my questions? Kevin?
klaude
Eep! Sorry!

QUOTE (KT_Clan)
Got a question does Red Hat Linux when you get it on the insomnia does it come with any thing like does it have its own webhosting thing (like apache) and does it come with webmin?


Redhat comes with Apache, but you'll need to set it up. Thankfully it does not come with webmin. icon_smile.gif

QUOTE (KT_Clan)
O and whats the downtime for the loading of the linux os?


If its done through our automated process then it usually takes a few hours. We give the estimate of 24-48 hours though in case we run into any unforseen delays.
KT_Clan
why do you say thankfully it doesnt come with webmin?
ghideout
I get the impression he doesn't like webmin. I like it alright, but some of the built in modules never work properly. Plus when you've got CPanel or Plesk available... why go with webmin?
rabbit994
I think webmin is about a secure as PHPbb install.
ghideout
I've never heard of any big security issues with webmin. Guess I'll look into it.
klaude
The big security issue is complete root access to the system through an easy to use web interface. If some kid figures out your password and logs in they have a much bigger chance of trashing things if they don't necessarily know how UNIX works. Unless you absolutely need it stick with SSH.
ghideout
16 character randomly generated passwords w/ bruteforce detection ftw.
KT_Clan
ok if I do go with linux does it come with a ftp server allready on it?
Altec
If you get it with a control panel yes icon_smile.gif
KT_Clan
Well I have a insomnia and the only control panale for that is the cortex so does it have a ftp program with it. Or do I have to figure out a way to put my own up there?
Altec
QUOTE (KT_Clan)
Well I have a insomnia and the only control panale for that is the cortex so does it have a ftp program with it. Or do I have to figure out a way to put my own up there?


Depends on a few factors.

If it’s not ranked...

Cortex has a integrated ftp server, how ever it will only give access to the instances. You would have to setup your own FTP server if you want access to where ever you want.

If it’s ranked...

You would only be able to use the intergraded ftp server that comes with cortex.
aralis
Which by the way, is relatively easy, as long as you know how to add usernames and passwords to it in the correct places. Otherwise it will be kinda pointless 8-)
meth
QUOTE (KT_Clan)
OK well we are trying to decide we have windows now but were getting a few like lag issues and we think on a Linux it wont lag and theirs certain scripts only usable in Linux for our game but see the whole thing is like we Run a return to castle wolfenstein server and if we switch it over to Linux I have no clue on how to get it to run and stay running we had that problem with our first hosting company we had before we switched here. Like we had to keep putty open in order to have the server stay up but I don't want to have to do that and the game isn't in cortex yet wish it was. SO does anyone have any ideas and how to make it stay running with out leaving open a program like putty? icon_question.gif If maybe you guys could add the game into cortex it could solve my problems.



KT_Clan nobody really told you much from what I've read in these 3 pages..

The solution to you problem "Like we had to keep putty open in order to have the server stay up but I don't want to have to do that" was touched on by saying tack on some &'s or use screen.

To me the best possible way to manage servers on Linux is using screen, allows several modes of interaction, logging and the ability to resume the screen later.

Heres a quick example:
screen -c ~/.screenlog -mdLS myscreen <start mode>

Replace <start mode> with how your game starts (ie: ./hlds_run +exec server.cfg).

This will start your game in a screen.

Detacth by pressing CTRL + A + D
Resume by typing screen -r

Add a user (adduser username cd /home/username) install the files there and do this screen as them, makes it easy, make it even easier by adding the screen -c line into a file, save it, chmod +x it then each time it crashes or w/e you simply run the file instead of the whole line.


Sorry just got bored, screens a good thing to use and will keep your servers online even after you logout of ssh.


QUOTE (rabbit994)
Linux isn't very good at most games


Ouch, so un-true, such slander.


Welp c-u guys in another 6 months when I check these forums out again icon_smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.