abenidee
By:
abenidee

virtual machine vs remote debugger

November 6, 2015 1.6k views
Configuration Management Deployment PHP Frameworks Arch Linux Ubuntu

i am looking to give support to a site hosted on digitalocean. Normally I would maintain the website on my local machine and upload changes. However, I have a windows 10 configuration and this apparently is incompatible with some of the extensions that I have tied to COMPOSER. Specifically BORIS for one. it was suggested i set up HOMESTEAD and umbutu on my machine, but tying it all together to windows, is proving to be very troublesome.
So I was wondering if it made sense to create a test duplicte site on Digitalocean, and then debug on the test site. (hopefully using a remote debugger)
OR
Creating a VM possibly using AZURE services - duping the site which is now here onto the VM. Then I was wondering what, who, how would it be possible to mimic it all on azure. Looking for general guidance. Thanks

2 comments
  • You have a couple options. You certainly could create a second droplet to act as your "staging" environment or you could set one up locally in a virtual machine.

    Oracle Virtualbox is a free virtual machine manager that will let you run a full Ubuntu server environment on your Windows 10 machine.

    You can download VirtualBox for Windows here.

    and you can download the Ubuntu server ISO image here (the default option on DigitalOcean is 14.04 and I would recommend that version.

    Details on how to set up an Ubuntu Virtualbox environment can be found here.

  • thanks - i am going the virtual machine route afterall on my machine-
    i've downloaded oracle virtual box and am installing the laravel/homestead and configuring
    Though a seasoned professional, i am spending quite a bit of time on getting a clearer idea on how it all fits together -- the associations between all the needed products, and the conceptions involved.
    Helfpul was http://sherriflemings.blogspot.ca/2015/03/laravel-homestaed-on-windows-8.html
    that along with documentation on laravel.com site itself.
    I loaded up git bash, virtualbox, vagrant and changed the bios to enable virtualization on my machine (having previously updated to windows 10 - so i had to get windows 10 pro) . Now trying to study and get a better idea of what all these parts do.
    If i ever find some time i will try and write a simpler and yet fuller explanation in one place. It would be helpful.

    btw - i bought windows 10 pro to be able to change the bios to enable virtualizatoin - but becuase it was an upgrade the pro method didn't work, and instaed i went back to rebooting and hitting the esc key on my HP laptop to break into the bios setup system command mode) the original way changes were done on this machine

1 Answer

This question was answered by @ryanpq:

You have a couple options. You certainly could create a second droplet to act as your "staging" environment or you could set one up locally in a virtual machine.

Oracle Virtualbox is a free virtual machine manager that will let you run a full Ubuntu server environment on your Windows 10 machine.

You can download VirtualBox for Windows here.

and you can download the Ubuntu server ISO image here (the default option on DigitalOcean is 14.04 and I would recommend that version.

Details on how to set up an Ubuntu Virtualbox environment can be found here.

View the original comment

Have another answer? Share your knowledge.