Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Shared Apache / MySQL / PHP setup on multiboot

In short:
I have a multiboot machine with Win XP, Windows 7 and Ubuntu, and I would like my localhost web projects to be shared by all three OSes.

Details:
I finally want to get rid of Windows XP for my web development work, but my local Apache + PHP + MySQL stack is tied to my old OS, and I spent some time and thinking to tweak this setup up to the way it is now.

It would be great if I could have the databases and web files in a location that is independent of the current OS, so I can reboot with a different OS and continue working on the same projects.

Ideally I would also want to keep and share settings and files for other applications (Firefox addons, Opera keyboard shortcuts, Mail and chat accounts, Eclipse settings etc), but that's probably another issue.

If possible, I would like to avoid serious performance hits.

And finally, once I pick a solution, it would be nice if I can find an easy way to port settings from the Windows XP setup to the new shared environment. Especially: databases, htdocs folders, vhost settings.

Is VirtualBox or vmware a solution? Or something with portable apps? Or should I run separate Apache / MySQL / PHP on each OS and then make them share their setup and htdocs files?

Thanks!

like image 999
donquixote Avatar asked Nov 05 '22 17:11

donquixote


1 Answers

I have a multiboot machine with Win XP, Windows 7 and Ubuntu, and I would like my localhost web projects to be shared by all three OSes.

You will find more difficulties than benefits trying to work on multiboot.

The solution (I current using and) you can try out is virtual machine. I have a WAMP stack on a VM using VMWare, other VMs for different purposes and all talks to the AMP stack VM as web server.

You have choice to develop on your physical machine or in one of your VM. You may also share the same instance of VM in different OSes (depends on the choice of your VM software).

This worked out great for me after I seperate my WAMP stack with physical machine and development environment as I now can blow up or time travel my WAMP VM after mis-/experimental configurations while not effecting os performance or have to more file repository around.

like image 95
Trav L Avatar answered Nov 22 '22 16:11

Trav L