Closed (fixed)
Project:
Quickstart: Prebuilt Drupal Development Environment
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 May 2010 at 07:43 UTC
Updated:
7 Jun 2010 at 02:55 UTC
Hi, I'm actually using Windows 7 as my primary OS at home, here is where I'm hosting the virtual machine.
I can work perfectly inside the virtual machine though sometimes I'd rather prefer to work with some CSS editor on windows or to be able to test the website on IE (eew i know). we also have a Mac at home and I'd like to use CSSEdit there to check the styles on the site. I'm not asking to edit the files from the host in the client machine. I just want to know how to configure Virtual Box to show the virtual machine on the network.
My computer has an Ethernet card and a wireless card, and I can select either to work exclusively for the Virtual Machine.
Comments
Comment #1
MichaelCole commentedHi Dario,
Configuring VBox networking as you've described is possible, but tricky.
Instead, I'd recommend using the "shared" folders feature.
On the Quickstart desktop, there should be a folder called "shared". In this folder are instructions on how to setup shared folders. I've tried it on Linux/Linux. I'd love to hear how it works on Win7/Linux.
Cheers,
Mike
Comment #2
dariosantacruz commentedWhat I want to be able to do see the webpage that runs on the virtual machine from the host OS.
Comment #3
MichaelCole commentedHi Dario, that would be cool. Check in the Virtualbox Networking documentation for how to do this.
Once you figure it out, post back some comments on how you did it, and I'll include them in the Quickstart Documentation. It would be a great way to test sites in IE.
Thanks,
Mike
Comment #4
rfayAll you have to do is use "bridged networking" and then either:
Give the virtual machine a static IP
or
Just use ifconfig to find out what its IP is on your local network
Then, on the client machine, put the hostname into /etc/hosts. On Windows this is \Windows\system32\drivers\etc\hosts
When you use bridged networking, your Virtual Machine is a full participant on your local network.
Comment #5
MichaelCole commentedRFay, unless you want to write this up, I'll add this to a page in the documentation, thanks!
Comment #6
izmeez commentedThe Turnkey Linux Drupal appliance does this, http://www.turnkeylinux.org/
Izzy
Comment #7
MichaelCole commentedFixed: http://drupal.org/node/789006