TL;DR: Want to build Linux virtual machines to run on your Windows computer? Check out linux-vm, which contains everything you’ll need.
Edit: The original scripts (“build-linux-vm”) no longer work. I’ve rewritten the project and created a new GitHub repository (“linux-vm”) that *does* work, and changed the links in this article to point to the new version.
For most of my career as a game developer I’ve done all my programming on the Windows platform. But I regularly discover cool open-source projects in Unix land that I’d like to experiment with. With few exceptions most of these projects aren’t designed to run on Windows. But there is a solution: run a Linux virtual machine.
One of my good friends turned me on to using Oracle VirtualBox, an excellent (and free) virtual machine emulator, and Vagrant, an application to build virtual machines from a set of configuration files. Thanks Jamie!
There are some good tutorials on the Intertubes that cover building VMs using Vagrant:
- Setup a Django VM with Vagrant, VirtualBox, and Chef
- Setting up a Rails 3 virtual machine using Vagrant and VirtualBox
- Vagrantup: Virtualized development made easy
My contribution to the open-source ecosystem isn’t a tutorial, it’s a template with instructions. Fork my GitHub project [edit: old version which no longer works] build-linux-vm [edit: rewritten version which does work] linux-vm, which has complete instructions for downloading and running all the software you’ll need. You can use the VM as-is, though you’ll want to make a couple of changes to personalize it, including setting your account name and SSH public key, otherwise I will be able to logon to your VM!
If you’d like to make suggestions to make the project easier to use, I’d be glad to hear from you!
Speak Your Mind