Linux pproxy + client questions

Mandrill

Golden Member
Feb 7, 2000
1,009
0
0
I ditched win2k in favor of Mandrake 8.0 for my proxy/stats/web/ftp box. What I want to know is how do I install the pproxy and the client as a service like I was able to in win2k?

 

TwoFace

Golden Member
May 31, 2000
1,811
0
0
Basically you don't "install" it per se in linux... what you do is run it like this from the directory the program is in:

mandrill@manrillinux# ./dnetc &
mandrill@manrillinux# ./proxyper &

Then you hit enter and either exit the cli "box" or log out... they're now running as processes. If you want these to startup at boot time you edit the boot scripts, if I remember correctly they're found in /etc/rc.d/ on mandrake, but I can check that for you once I get home if nobody else has.

What I do however is a tad bit different, I use something called screen (should be installed on mdk 8) to "pipe" the output to a virtual terminal that I can connect and disconnect to whatever cli I'm on at the moment whether it be local or telnet/ssh. The syntax for use with screen would be like this from the directory the program is in:

mandrill@manrillinux# screen ./dnetc
mandrill@manrillinux# screen ./proxyper

You'll then see the client/pproxy start as normal and you can disconnect it by hitting CTRL+a+d to get back to the prompt. If you then want to reconnect to the program again to check on it's output do a screen -r and you'll see the PIDs of the programs you've got on virtual screens. Just do screen -r #### where #### is the PID of the program you want to connect to and you've got it right back. It's also possible to use the screen function at startup but I've had problems with it... who reboots their server often enough to care anyway? ;)

Hope this helps at least some :)

With love and respect your fellow TA member

Two-Face
My stats:
RC5
OGR-25
Seti
Gamma Flux
 

Mandrill

Golden Member
Feb 7, 2000
1,009
0
0
Thnak you TF. that is what I was looking for. Basically I want to get them running and then beable to kill the GUI so I can run a dedicated CS server :)
 

TwoFace

Golden Member
May 31, 2000
1,811
0
0
bleh CS :disgust:

Both these methods should work for that use tho'... but there is no reason why you should start the GUI to do this either ;)

With love and respect your fellow TA member

Two-Face
My stats:
RC5
OGR-25
Seti
Gamma Flux