Page 1 of 1

from WINXP to linux via IIS

PostPosted: 27. December 2004 16:17
by FrancescoRossi
Hi all!
Im absolutely new to linux, so I'm having some big troubles in installing XAMMP (which i know quite well in the Windows world!) on it.

I have Red Hat 9 installed. After i download the gz archive of xampp, I extract it into the /opt folder (which is UP torwards the root directory, am I correct?). I use ark for this, I assume there is no difference in doing it this way or with the command line, right?

After exctracting I just open the terminal window located in the opt/lampp dir.
and from there I digit
lampp start.

Unfortunately I'm returned with this error:
bash: lampp start unkwnown command

WHERE AM I WRONG!?!

please help!

PostPosted: 27. December 2004 16:43
by Wiedmann
read the readme...

the command is:
/opt/lampp/lampp start

(not only "lampp start")

PostPosted: 27. December 2004 17:11
by FrancescoRossi
hold on, that command is supposed to work when u're in the root directory.
what if I'm already in the opt/lampp directory?

I tried it doesn't work.

PostPosted: 27. December 2004 19:16
by Oswald
Dear Francesco!

On a DOS system you're right, but on Unix systems it's a litte bit different: Unix system don't look (by default) after commands in the current directory. If you want to call a command in your current directory you need to prepend ./ to the command line.

Greetings
Oswald

PostPosted: 28. December 2004 11:31
by FrancescoRossi
yeah, I'm definitely a newbie!
Infact I was forgetting the first / in the path! thank you all...

now unfortunately I have another question for you! And I know you're gonna see me as the Linux antiChrist! :D

My situation is the following one: the linux server I'm equipping is under a lan together with a WINXP system. And guess what? The WINXP system is acting as a proxy server to share the connection with the linux server.

Now comes the bad part. What i'm trying to do now is to redirect incoming connections to my WINXP system to the linux server, in the htdocs area.Speaking down to earth I want a webserver (the linux one) reachable from internet, but keeping it under the Windows XP system.Do you think it is possible? if so, how? I've tried with IIS but had no luck 'till now!

PostPosted: 29. December 2004 03:51
by Maller
The WINXP system is acting as a proxy server to share the connection with the linux server.

I did that a couple of years ago, and find it´s a pretty bad idea. My advise would be, buy a switch, as most cable and dsl conntection comes with atleast 2 dynamic ip´s
Buying a switch will also save you alot of trouble.
If you really wanna share you connection via a proxy, i think you need to look at http://www.samba.org witch should come with debian.
Im still pretty new to linux, so hope this is correct, if not sorry...!

Maller

PostPosted: 29. December 2004 11:04
by FrancescoRossi
thanks, any help is welcome!
:D
Anyone else?