Skip to main content Help Control Panel

Rod Morison Software —  Technotes

Home «   Linux «   Sysadmin «  

How To Build a Vhosted Linux Development Server on Windows using VirtualBox

I've been doing a fair bit of PHP and Python on Linux recently. My favorite PHP editor, PhpEd is Windows only. However, I prefer to develop LAMP code on LAMP. Here's a solution: Linux on VirtualBox, networked to the host Windows OS.
Derekdon on Nov. 17 2009
Great tut so far, but I keep getting an error when I try to restart the network.
  • if-up.d/mountntfs[eth0]: waiting for interface eth1:0 before doing NFS mounts
  • if-up.d/mountntfs[eth0]: waiting for interface eth1:1 before doing NFS mounts
  • if-up.d/mountntfs[eth0]: waiting for interface eth1:2 before doing NFS mounts
SIOCSIFFLAGS: Cannot assign requested address SIOCSIFFLAGS: Cannot assign requested address Failed to bring up eth1:0 SIOCSIFFLAGS: Cannot assign requested address SIOCSIFFLAGS: Cannot assign requested address Failed to bring up eth1:1 SIOCSIFFLAGS: Cannot assign requested address SIOCSIFFLAGS: Cannot assign requested address Failed to bring up eth1:2

I'm using VB 3.0.10 with a Ubuntu 8.10 64bit guest OS, running on a WinXP x64 host machine.

Any idea what might be wrong?

Also I followed this setup tut first - http://www.sitepoint.com/blogs/2009/10/27/build-your-own-dev-server-with-virtualbox/

Thanks,

Derek.
Derekdon on Nov. 17 2009
Also I meant to mention that when I follow this error with a

sudo ifconfig

command it doesn't show the updates to the network, just the defaults.
Derekdon on Nov. 17 2009
Sorry, forgot to also say that my wireless config tool states my ip address etc on the host machine is as follows:

IP Address: 192.168.1.XX (XX think this changes at times) Subnet Mask: 255.255.255.0 Gateway: 192.168.1.254

Just in case it helps.

D.
Buy r4 dsi on Jan. 20 2010
Ok I got as far as the bridged adaptor, then went to modify the iptables files, but I can't find the sysconfig folder. I'm running Ubuntu 8.10, which appears to be different to Fedora. I've been using Windows for the last 15 years or so and have only started with Ubuntu in the last couple of months, so its all new to me.
Buy r4 dsi on Jan. 20 2010
Ok I got as far as the bridged adaptor, then went to modify the iptables files, but I can't find the sysconfig folder. I'm running Ubuntu 8.10, which appears to be different to Fedora. I've been using Windows for the last 15 years or so and have only started with Ubuntu in the last couple of months, so its all new to me.

buy r4 dsi
Nat on Sep. 22 2010
Thanks for the tutorial, it helped me a lot. The only issue I noticed is that after the reboot the ips aren't loaded (ifconfig doesn't show eth1:1, etc.). So I have to reload networking every time. Is there a way to make them permanent? I'm on Ubuntu 10.04
Luis on Nov. 12 2010
Hi you have done it well, but have forgotten the ubuntu people

can you post the tutorial for the inverse problem?

THE PROBLEM IS:

One has an ubuntu laptop and wants to check how the website looks on iexplore on windows.

HOW NOW YOU DO IT?

Thanks appreciate it
Luis on Nov. 12 2010
Dump your windows and do this from ubuntu

http://www.craftitonline.com/2010/11/12/develop-for-windows-explorer-browsers-from-ubuntu-with-virtualbox/

exactly what you were looking for!

Stay tuned
recent comments
podcasted files
AddThis.com