SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    SitePoint Guru Nick Carlson's Avatar
    Join Date
    Aug 2003
    Location
    Denver
    Posts
    644
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Developing locally: Connecting a PC to a linux-box

    I have a computer running mandrake with a full install, a laptop running windows XP sp2, and a 10 foot crossover cable.

    My question is, how do I network these machines together. I have apache,php and mysql running fine on the linux computer. Now I want to be able to develop my sites on my laptop, and upload and run them on my linux box.

    Can someone point me to any tutorials on the web that will teach me how to hook all of this up?

    Thanks.
    ncarlson.net - a programmer's dystopia

  2. #2
    Prolific Blogger silver trophy Technosailor's Avatar
    Join Date
    Jun 2001
    Location
    Before These Crowded Streets
    Posts
    9,446
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, run an FTP server on the Linux box and make sure you have an FTP account with access to the DOCROOT of apache. FTP to that server and you're good as gold.

    Lovely thing, TCP/IP is.
    Aaron Brazell
    Technosailor



  3. #3
    SitePoint Zealot Luke Morton's Avatar
    Join Date
    Jul 2005
    Location
    Essex, England.
    Posts
    125
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Luke Morton
    UK Web Explorer| lukemorton.co.uk

  4. #4
    + platinum's Avatar
    Join Date
    Jun 2001
    Location
    Adelaide, Australia
    Posts
    6,441
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    setup samba so you can access the folder directly as a 'normal network share', sooooo convenient

  5. #5
    SitePoint Guru Nick Carlson's Avatar
    Join Date
    Aug 2003
    Location
    Denver
    Posts
    644
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is samba really my answer?

    On my windows machine, I want to be able to type in "linuxhost.com" (or some other arbitrary domain name), and have it access usr/local/apache/htdocs/linuxhost.com.

    I already have my linux machine set up for virtual hosting, so I'm good there. I just need to hook up the windows manchine now.

    Thanks.
    ncarlson.net - a programmer's dystopia

  6. #6
    Snowboarders die even younger igor.kudela's Avatar
    Join Date
    Feb 2005
    Posts
    731
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by platinum
    setup samba so you can access the folder directly as a 'normal network share', sooooo convenient
    Igor Kudela
    NetPublisher - FREE Customizable .NET CMS

  7. #7
    Snowboarders die even younger igor.kudela's Avatar
    Join Date
    Feb 2005
    Posts
    731
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by optimus prime
    Is samba really my answer?

    On my windows machine, I want to be able to type in "linuxhost.com" (or some other arbitrary domain name), and have it access usr/local/apache/htdocs/linuxhost.com.

    I already have my linux machine set up for virtual hosting, so I'm good there. I just need to hook up the windows manchine now.

    Thanks.
    the easiest and quickets is to use the host file but setting up a local dns would be wiser
    btw this is a wrong forum
    Igor Kudela
    NetPublisher - FREE Customizable .NET CMS

  8. #8
    + platinum's Avatar
    Join Date
    Jun 2001
    Location
    Adelaide, Australia
    Posts
    6,441
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by optimus prime
    Is samba really my answer?

    On my windows machine, I want to be able to type in "linuxhost.com" (or some other arbitrary domain name), and have it access usr/local/apache/htdocs/linuxhost.com.

    I already have my linux machine set up for virtual hosting, so I'm good there. I just need to hook up the windows manchine now.

    Thanks.
    You can do both, I just have mine setup without using vhosts as I can access across the network just using http://serverhostname/sitefolder/ in any browser.

    Samba just lets you access the folder directly, no messing around 'uploading' via FTP or SFTP or anything, just allows you can map a drive on your windows machine to point directly to your htdocs directory where you can work directly as if it was a regular folder.


Bookmarks

Posting Permissions

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