Pieter Vogelaar

Pieter Vogelaar

(23 comments, 60 posts)

Hi, my name is Pieter Vogelaar. I’m a web developer / DevOps engineer / IT consultant and specialized in high traffic and high profile websites. I love open source and have a great passion for automating and developing things!

Home page: http://pietervogelaar.nl

Posts by Pieter Vogelaar

Ubuntu Server 10.10/11.04 – Selenium Server (headless) & PHPUnit

3

This tutorial explains how to run Selenium test cases with Selenium Server and PHPUnit on a Linux server that has no GUI (headless).

Make sure you have pear installed. Then upgrade to at least version 1.9.2

pear upgrade pear

Install firefox

apt-get install firefox

In order to run firefox on a headless server (means without a GUI), Xvfb (X virtual frame buffer) must be used. To install it:

apt-get install xvfb

Install Java:

apt-get install openjdk-6-jre-headless

Download Selenium Server and put it on your server, for example: /opt/selenium-server.jar. http://seleniumhq.org/download/ or direct link More >

Ubuntu 11.04 – Add bottom panel to Unity

2

I recently installed the new Ubuntu 11.04 desktop version. The new interface is really cool, saves space and is really clean.

Also the ability to easily put a window on part of the desktop grid is a feature I always missed in Ubuntu. However I just can’t get used to the fact that unity has no bottom panel anymore. Ofcoure “Super+w” key combination works quite well, but with a bottom panel you’re just one click away to get full access to another window.

I don’t like to get back to using Gnome, but lucky for us we can get the More >

Ubuntu Server 10.10 – Postfix alternative SMTP port 587

0

Some internet access providers have port 25 disabled in their routers to prevent spam. If you run your own mailserver in a datacenter, you might have to enable the submission port (587) in postfix to be able to send emails from your local email client to your own mailserver.

To enable port 587, edit the file /etc/postfix/master.cf

Copy this line

smtp inet n - - - - smtpd

And change “smtp” into “submission”.

submission inet n - - - - smtpd

Restart postfix

service postfix restart

The email server listens now to the alternative SMTP port 587.

Convert SVN to GIT bare repository

0

When trying to convert a SVN repository that contained all our projects, I couldn’t find a good solution on the internet on one page.

The most usefull pages were:

https://github.com/nirvdrum/svn2git

http://qugstart.com/blog/git-and-svn/migrate-an-svn-repository-to-git-while-maintaining-branches-and-tags-structure/

http://book.git-scm.com/4_tracking_branches.html

I combined them together and described the steps below that will get the job done.

sudo adduser git
nano /etc/group
git:x:100:usera,userb,userc
sudo mkdir /usr/local/git_root
sudo chown git.git /usr/local/git_root
sudo chmod 2770 /usr/local/git_root

Create authors.txt file for user mapping:

root = Root <root@example.local>
usera = My name <myname@example.local>

To get a listing of all users in the repository:

svn log file:///development/svn_projects | grep -E

More >

Pieter Vogelaar's RSS Feed
Go to Top