Results 1 to 5 of 5

Thread: Using Knoppix to view web pages

  1. #1
    Junior Member
    Join Date
    Aug 2004
    Posts
    2

    Using Knoppix to view web pages

    I develop websites (as a hobby) using Dreamweaver under Windows XP, I want to view the pages in Konquerer to see if they look ok. I have Knoppix 3.4, when I load it what do I have todo to achieve this. The disk is NTFS. I have IIS and windows Apache webservers running.
    Do I have to start the linux version of Apache, how do I do this? what do I have to type in the browser address bar etc?, please no complicated stuff, make it easy. Any help greatly appreciated.
    Frank

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555
    You didn't say if you have installed knoppix to hard dsik... Anyway once you boot your system with knoppix (either CD or HD), IIS cannot possibly run and serve you pages. If your content is static, the easiest thing to do is to simply locate those pages of yours and open them as local files in konqueror. Suppose your NTFS C: unit is /dev/hda1, then just navigate with konqi to the directory where your pages live under /mnt/hda1/ which is the default mount point under which your C: drive will be available (read-only) under linux.

  3. #3
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    Assuming you have this three condition:
    1) You are using two pc, one knoppix and one windows (running apache)
    2) Both are in netwok
    3) Both are connected to internet and assigned dynamic IP by your ISP
    4) The windows pc has a static IP.

    Two things you can do:
    1) register to any free dynamic domain name provider. I would suggest :
    http://www.dyndns.org/. You will get your own domain name and use that name, like you usually did with other homepage. Get free dydns updater so you can update you ip with your domain name everytime your IP changed.

    2) You could either direct your browser to IP of your windows pc or to the Dynamic IP of your windows pc. If you are sharing connection, you can run on knoppix : ifconfig -a ; and look for inet addr: xx.xxx.xx.xx
    and in windows : ipconfig. They should be the same.
    If you're not sharing connection, just get the windows dynamic IP.

    Assuming you only have one pc, which you share windows and knoppix, and knoppix is installed on hardisk. The easiest way to test your webpage is by copying those webpages from windows to your knoppix /var/www folder.
    Then run /etc/init.d/apache start.
    Then direct yout browser to your knoppix IP address.( offcourse after you set your knoppix with static IP). No need to be connected to net.

    Assuming you only have one pc and you run knoppix from cd.....I can't help you. I don't know how to transfer file to /var/www folder virtually. Somebody please help him and me.

  4. #4
    Junior Member
    Join Date
    Aug 2004
    Posts
    2
    Thank for the replies, very interesting and they raise more questions. I run knoppix from cd, and have one PC, the pages are not static, I use php 4 (should have mentioned this before) so to summarise is it possible to Run knoppix from cd and serve web pages located on a windows xp drive through Konquerer all on the same computer, with php support? and how do you do it?
    Frank

  5. #5
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    Knoppix comes with php built into apache.
    To view your webpages from knoppix, you could try edit your /etc/apache/httpd.conf file.
    Find lines that says:
    # This should be changed to whatever you set DocumentRoot to.
    #
    <Directory /var/www/>

    change it to where your webpages location :
    ex: Directory /mnt/hda1/myweb

    Don't forget to mount your windows partition and run /etc/init.d/apache start
    Then open konquerer and point to your ip address/your.php or index.html (after you set a static ip, using netcardconfig).

Similar Threads

  1. How to view installed man pages?
    By drews in forum General Support
    Replies: 2
    Last Post: 06-25-2004, 09:59 AM
  2. Searching man pages
    By sn0wflake in forum General Support
    Replies: 4
    Last Post: 03-25-2004, 07:08 AM
  3. How do you view images in Knoppix
    By knoppixnewbie in forum General Support
    Replies: 2
    Last Post: 02-19-2004, 05:58 AM
  4. Knoppix wFAQ | Search | Profile | View posts since last visi
    By dirty30ex in forum Customising & Remastering
    Replies: 0
    Last Post: 12-23-2003, 01:37 AM
  5. Knoppix from scratch from the point of view of a total n00b
    By Rayman2k2 in forum Customising & Remastering
    Replies: 3
    Last Post: 08-28-2003, 11:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows XP, Vista, 8.1, Linux Knoppix, Office XP,  (6 CDS) picture

Windows XP, Vista, 8.1, Linux Knoppix, Office XP, (6 CDS)

$10.00



KNOPPIX 9.1 Linux Install & Live DVD 32bit & 64bit picture

KNOPPIX 9.1 Linux Install & Live DVD 32bit & 64bit

$19.99



KNOPPIX USB DVD OS , BEST OF ALL HIGHLY RECOMENDED picture

KNOPPIX USB DVD OS , BEST OF ALL HIGHLY RECOMENDED

$11.99



Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive picture

Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive

$5.99



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 16G USB Stick

$20.85



Knoppix NSM 1.2 picture

Knoppix NSM 1.2

$8.00



VINTAGE SOFTWARE | KNOPPIX STD 0.1 (SECURITY TOOLS DISTRIBUTION) picture

VINTAGE SOFTWARE | KNOPPIX STD 0.1 (SECURITY TOOLS DISTRIBUTION)

$7.57



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 32G USB Stick

$21.42



Hamshack Live DVD-ROM picture

Hamshack Live DVD-ROM

$7.00



Knoppix 5.0.1 ULTRA RARE Linux DVD - Linux Pro Extra August 2006 picture

Knoppix 5.0.1 ULTRA RARE Linux DVD - Linux Pro Extra August 2006

$33.98