Webinterface To Start / Restart / Stop Server?

8 replies [Last post]
AiKO . RS*
Offline
Joined: Nov 2005
Posts:

hi
I Search and Seach, and i dont founding Sad
I Need a Webinterface to start , restart , stop The Quake 3 Servers..
Can anyone here Create there -? For Linux Server

Asus M2N - SLI Deluxe,AMD Athlon 64 X2 5000+,Radeon X1950 PRO 512 MB,1GB Hyper-X DDR2-800


+++DDL-Dream+++

NINJA |¯?¯OLDVAMP¯?¯|
OldVamp's picture
Offline
Joined: Jan 2005
Posts:
Webinterface To Start / Restart / Stop Server?

___

AiKO . RS*
Offline
Joined: Nov 2005
Posts:
Webinterface To Start / Restart / Stop Server?

Shock Shock u look its very expensive from 40 - 500 € lol?
Its dont help me!!! And i dont search a comlite Pandel lol !

Asus M2N - SLI Deluxe,AMD Athlon 64 X2 5000+,Radeon X1950 PRO 512 MB,1GB Hyper-X DDR2-800


+++DDL-Dream+++

glizda
glizda's picture
Offline
Joined: Sep 2006
Posts:
Webinterface To Start / Restart / Stop Server?

If you have the server on linux, I would suggest you to connect to your machine by ssh and work directly in shell. It gives you capabilities, that any of most expensive web interfaces will ever do. And it is for free.

glizda
glizda's picture
Offline
Joined: Sep 2006
Posts:
Webinterface To Start / Restart / Stop Server?

If you really want web interface, you can use what you probably already have. Just enable punkbuster and try PunkBuster Server WebTool. Its enough to set pb_sv_HttpPort, pb_sv_HttpAddr and pb_sv_HttpKey in pbsv.cfg, and voila.

AiKO . RS*
Offline
Joined: Nov 2005
Posts:
Webinterface To Start / Restart / Stop Server?

Yes i use Linux Suse..
And the PB Interface dosent help me Sleepy i cant start / stop / restart Server in thin interface!

Asus M2N - SLI Deluxe,AMD Athlon 64 X2 5000+,Radeon X1950 PRO 512 MB,1GB Hyper-X DDR2-800


+++DDL-Dream+++

*BNG*|¯TOMI*ZOLEN¯|
Offline
Joined: Oct 2006
Posts:
Webinterface To Start / Restart / Stop Server?

Ask someone to write script in PHP. Winking

polak potrafi ;]

KatipaN
katipan's picture
Offline
Joined: Jul 2005
Posts:
Webinterface To Start / Restart / Stop Server?

Its possible make it, but php is not enough. You need permission to linux system. Who is admin of your server? U ? If u want controling q3 on this way (linux processes via web interface), its need security Happy

T.i.f.s
Offline
Joined: Jan 2006
Posts:
Webinterface To Start / Restart / Stop Server?

i have made one for my server
it's VERY simple php script (8 kb) that relies on hardcored defaults

it allows you to stat / kill / restart q3 server instances with given (via html form) parameters. however it's difficult to manage several server instances as you would have to change the form values every time.

the way it starts or kills quake3 server instances (q3ded) is SUDO(Cool
so you need system access to:

1) add a user for running q3ded processes under its name
2) add sudoers file entries that would allow user apache (or user nobody) to execute q3ded and /bin/kill under q3 username.
3) use htpasswd to protect your script

also it imply your q3 server installation is split in two parts
one is in /usr/local/... (executables, packs, doc, static scripts) and second is in /var/... (configs)

P.S.
actually i don't like it.
it was ok for 1 month of usage but lately I understood that it's not a proper way to manage q3.
i want to write a special service in C that would manage q3 instances using its own config file and it would provide access to interactive controll via sockets or IPC. that would be really correct way. but i dunno when I'll get time to implement this..