Thursday, October 31, 2013

Headless Selenium Server and PHPUnit on Ubuntu - Easy!

About this article

There is nothing new in this article, but I’ve made information from the Internent about this problem more concise. Generally, I’ve collected all required tips into a short solution.
With this guide you will install Xvfb to hide browsers and lunch the selenium server within its hidden virtual display.
I’m providing you a script that allows you to manage Xvfb and Selenium together. The script already can configure Xvfb the way allows you to make screenshots.
And you’ll be able to learn here the small and clear example of the PHPUnit test using the selenium server.

Tuesday, October 29, 2013

How to configure LXC with dnsmasq on Ubuntu 13.10

What LXC is

LXC is a mean of lightweight virtualization (operation system virtualization). You get an additional OS with the same kernel the host OS uses. It allows to avoid a lot of overheads related to software and hardware virtualization (e.g. VirtualBox).
LXC uses the control groups mean to bound and manage a guest OS (Thanks Google).
LXC also uses the apparmor to isolate a guest OS.
I’m not a guru of virtualization and system administration, more over, this article isn't about virtualization theory, so let's go further.

Tuesday, September 10, 2013

Configure FPM on Apache2 for only one virtual host (Debian Jessie)

A friend of mine told me once that the most fearful parachute jump is the second one )

Purpose

I have apache2 and php5 and I want to configure them differently for different virtual hosts to have a testing environment on hand.
The annoying problem I've recently faced was configuration of FPM for some virtual hosts among others.
If you want to enable it for the whole server, there is no any problem. But if you want to have php configured as apache module for each one except few, there is a couple of things that are simple but not obvious.