Developing a website on a Linux operating system is pretty comfortable, but unfortunately are the most users of those websites using other operating systems with other web browsers. There is a nice solution for the Windows Internet Explorer or Edge browser, free Virtual Machines from IE8 to MS Edge. Unfortunately I have not found an easy way to setup a VirtualBox with Mac OS X to test a website in the Safari web browser. My colleague Jan Knipper pointed me to vagrant-box-osx, a Mac OS X Vagrant box for VirtualBox by Andrew Dryga.
This is the third and last post of this series.
I had to build some vagrant boxes in the last weeks. And so I would like to show how to create a vagrant box with Debian 8 Jessie step by step. As I like to show a lot of screenshots I have splitted the post into three parts.
Second time that I run into the same issue with Vagrant. If you get a connection timeout warning like the following after vagrant up, this can have various reasons.
Bringing machine 'default' up with 'virtualbox' provider... ==> default: Clearing any previously set network interfaces... ==> default: Preparing network interfaces based on configuration... default: Adapter 1: nat ==> default: Forwarding ports... default: 22 => 2222 (adapter 1) ==> default: Booting VM... ==> default: Waiting for machine to boot. This may take a few minutes... default: SSH address: 127.0.0.1:2222 default: SSH username: vagrant default: SSH auth method: private key default: Warning: Connection timeout. Retrying... default: Warning: Connection timeout. Retrying... default: Warning: Connection timeout. Retrying...
In the first post I wrote a little summary of the vagrant Getting Started Documentation. But the only thing that has been working was a apache. And for my project I need also mysql and php. I did take a look at a repository of Danilo Braband who made a very cool Magento Skeleton with vagrant, n98 and composer. If you are a magento developer, take a look at it.
In the last 3 years, I had mad a few steps in developing. In the very first days, I had uploaded files with ftp or sftp on the server. After one year I had my first big job in a little team and that was the first time I heard about version control. It sounds crazy, but I never had imagine that there were tools around coding that can bring you such a big benefit. And now, there are that much tools around coding. A good developer has to know so much about things like pipelining, version control, frameworks, desing patterns, testing, security and much more stuff. And today I want to check an other little thing. Vagrant. First I heard about it from Danilo Braband. He made a cool presentation about it, but I was a little bit critical. I thought:"I didn't need more fancy tools, I guess I can live without it". But a few weeks later, I did see more and more little Vagrantfiles on github and in practice it's very efficiently . And today I want to make my own first steps with vagrant.