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.