LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-21-2004, 01:08 PM   #1
ecawilkinson
LQ Newbie
 
Registered: Jan 2004
Location: UK
Posts: 6

Rep: Reputation: 0
linux web server on windows xp


Hi,

I am trying to learn CGI/web database programming. My PC currently has WinXP Pro as the only OS. I know that I can have linux as a dual boot. But the two OS's are on different partitions. What I want is to have a LINUX web server(that I can do my server side coding on) that I can access from Internet exploreron WinXP . Is this possible? Or do I need to do it all fron the LINUX partition using a LINUX-based web browser? Any help on this matter would be much appreciated. I have a good understanding of both OS's and know UNIX shell scripting and program C on UNIX as my job. Also I need to be able to use Perl,PHP,ASP and mySQL.

Thank you,

Chris
 
Old 01-21-2004, 01:16 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
You have to have Linux running with a webserver in order to serve out webpages. If you only have one machine with a dual boot, you cannot access your Linux server that is not running per se. You will have to setup a totally different machine.

The only way around this that I know of is to run Linux while in XP using VMWare or something like that.
 
Old 01-21-2004, 01:21 PM   #3
kunteper
LQ Newbie
 
Registered: Dec 2003
Posts: 5

Rep: Reputation: 0
I would suggest you using virtual pc and run linux under windows without needing any other computer.
download virtual pc @
http://www.microsoft.com/windowsxp/virtualpc/
there is like a 45 days trial version. fully working bla bla.
 
Old 01-21-2004, 03:11 PM   #4
fragglehorn
Member
 
Registered: Oct 2002
Location: I-Town, NY
Distribution: Debian, Slackware
Posts: 130

Rep: Reputation: 15
Yep, learning CGI was what got me into Linux in the first place. It's amazing what a one-credit class in beginning web design can do to a complete neophyte. My solution at the time was to spend $20 on a P133 (you'll need cables and a hub too), but if you get into this at all you're going to want to play with several machines anyway.

You can also choose to run a local webserver on the machine you're developing on, either by running IIS on your XP machine (but then why would you be at this forum) or apache on a linux partition. People seem to like Quanta for web development.
 
Old 01-21-2004, 06:27 PM   #5
e1000
Member
 
Registered: Oct 2003
Location: California
Distribution: Ubuntu
Posts: 582

Rep: Reputation: 30
so your saying that you want to test your pages on a windows browser (IE) but run them off a linux web server?

if thats the case you could either run the server from linux and use wine to get IE going (not sure how well that works), or you could get a precompiled apache for windows.
 
Old 01-22-2004, 03:04 AM   #6
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 32
The best option, which I suggested successfully to a friend of mine is to get the Per/CGI/PHP/Apache binary for Windows and install it. Then you can use your fav. browser like IE to test your programs.
 
Old 01-22-2004, 04:02 AM   #7
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
I second UltimaGuy's suggestion. Install Apache, Mysql and PHP and Perl or whatever you want on your Windows system. Works like a charm.


Håkan
 
Old 01-22-2004, 04:19 AM   #8
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 32
Go here to see a step-by-step walk through

http://www.mjmwired.net/resources/apache-windows.html

and report back the result...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux terminal Server for windows client web browsing? hawkpaul Linux - Enterprise 6 09-24-2005 06:04 PM
mapping to a windows share and using files for a web server rstoutmna Linux - Networking 0 12-20-2004 10:47 AM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 06:21 AM
Linux Client to Windows Web Server Problems anathema Linux - Networking 1 11-12-2003 09:05 AM
Can't access Linux web server web pages from LAN client jaydave Linux - Networking 4 03-16-2003 02:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration