·

vagrant

How to fix ‘404 File not found’ when running HHVM in Vagrant

When you try to use HHVM inside Vagrant with Apache, you might stumble on the error that when you reload your site, the only notice you see is “404 File not found”. Chances are that this is because you’ve set your document root of your website inside Vagrant to something different than /var/www . The fix for this read further ...

Fixing Magento’s slow backend when using AheadWorks plugins

First of: this isn’t a rant for AheadWorks: they offer great plugins which save us lots and lots of time. However: there is something to mention here. When I was using the Blog and the Advanced Reports modules, I noticed a serious drop in performance in the backend. All of a sudden it took 10 read further ...

How I run unit tests in Vagrant, in Jenkins

As some of you might know, I use Vagrant to setup my local environment, and Jenkins for my continuous integration. One major part of this setup is to automatically run tests after Jenkins is done building – and before it deploys the website to the production server. In this article I am going to share with read further ...

How to connect to MySQL in Vagrant from your host

Recently I got the following question from Mostafa Hashem: Hi, First I need to thank you for sharing your experience with us. I need to ask you about something related to Vagrant & MySQL service. I need to connect to MySQL databases outside SSH for example fromSqlYog.  But to be honest with you I spent a lot of read further ...

Create a (MySQL) SSH tunnel from within Vagrant

Let’s say you have the scenario where you need to connect to a remote (MySQL) database. If you have SSH access to the server you can simply create a SSH tunnel and forward the MySQL  port from the remote machine to a port on your local machine. For example: But what if you need to do this in read further ...

Fixing Vagrant port forwarding on OSX Yosemite

Update: it didn’t seem to work as expected so with a little help of this article I changed to code a bit. So recently I updated my system to OSX Yosemite. As you might know, I work with Vagrant, and one major aspect for local development is forwarding port 80 of my host machine to read further ...

Integration testing with Jenkins, Vagrant and CasperJS

Recently, I shared an article with you on how I am currently working on a Continuous Integration environment with Jenkins. I ended that article stating I am working on a full-blown example on how to combine Jenkins with Vagrant for PHPUnit and CasperJS. At this point I can share a bit more information with you on read further ...