Share VirtualBox host directories with the Linux guest OS, edit code in host, run it in the guest

Share VirtualBox host directories with the Linux guest OS, edit code in host, run it in the guest

In my previous blog post, I’ve shown you how to effectively use Docker for development teams. But containerization technologies like Docker, as much as they are cost effective in terms of memory and processor power, have a learning curve which while not too steep, do require a good chunk of time to be spent on learning. That’s why older virtualization techniques like VirtualBox are still being used to create environments for development and QA teams. And yes, they are quite effective!

This short tutorial will show you how to setup one of the little intricacies when developing in VirtualBox, namely being able to store and edit your code in the host machine, while running it inside the guest OS. Will be using CentOS 7 as a guest, while the host is not of any importance.
I will also show you how to make the VirtualBox guest accessible to the host via TCP.

Create easy to use docker web development environment

Create easy to use docker web development environment

This particular container setup let the developers code on the host (in a docker volume) while seamlessly executing the code in the container, solving the issues with file ownership and permissions. No Samba/NFS tweaks are necessary on both the host and docker box. No hassle with Docker namespaces is also needed.

Wait for user input a period of time and continue with script execution if none is supplied

Wait for user input a period of time and continue with script execution if none is supplied

When doing devops work one of the many responsibilities you might have is creation of various installation or deployment scripts. They can be created in any scripting language, starting from the standard bash script to various server side languages (Perl, Python, PHP, etc…). For this example we are going to tackle a specific problem whenRead more about Wait for user input a period of time and continue with script execution if none is supplied[…]

Windows guest in Virtualbox won’t increase the resolution beyond 1024×768… or any other for that matter

Windows guest in Virtualbox won’t increase the resolution beyond 1024×768… or any other for that matter

Here in Macedonia we have a saying (rough translation): The cure is cheap, but you have to know it. The truth behind this saying was revealed to me this morning when I finally found out what I had to do to fix the problem I had with my Windows guest on VirtualBox. Turns out noRead more about Windows guest in Virtualbox won’t increase the resolution beyond 1024×768… or any other for that matter[…]

Each successful business has a great story. Listen it. Learn.

Each successful business has a great story. Listen it. Learn.

For some time I’ve been a fan of NPR (npr.org) hosted radio shows and podcasts. But recently I’ve stumbled upon one of their jewels which I found to be extremely beneficial. It’s called “How I built this” and each episode includes an extraordinary story behind a successful business or movement told by the (wo)man whoRead more about Each successful business has a great story. Listen it. Learn.[…]