Sunday, September 28, 2014

HA-HeartBeat on Raspberry PI

High Availability HeartBeat is a clustering daemon. It allows to setup virtual IP addresses on network interfaces in order to provide redundancy in service availability. (It can also be used to automatically start/stop services)
In this post, we take a look at the basic HA usage, with two nodes.

Tuesday, September 16, 2014

mpd console player and ncmpcpp

For long time I've searched for a good music player. I've settled with mpd (music player daemon) and as a graphical frontend I use ncmpcpp. This post shows how to install and configure mpd and ncmpcpp.

Saturday, August 2, 2014

i3wm: change QT/GTK theme

If you'd like to change your window appearance, you can use systemsettings utility for QT windows and .gtkrc conf for GTK windows.

systemsettings is part of the KDE (included in kdebase-workspace package). Navigate to Application Appearance to change window theme:


GPIO 05-pwm

Raspberry PI has the ability to use PWM (pulse width modulation) to control width of the pulse sent on the GPIO pin, which provides better granularity to control connected devices, in this case LED.
This feature allows to control LEDs intensity, which can be used with RGB LED to mix colors.

Sunday, July 20, 2014

GPIO 04-rgb

I finally got to the RGB LED and tried to connect it to Raspberry PI.
This first script (04-rgb.sh) is a modification of previous one. It uses one new feature though, associative fields in bash to distinguish between the three basic colors (RGB) and their combinations (Yellow, Purple, Light Blue, White) as shown on the figure:


The following figure shows how the LED is connected to GPIO.

owncloud: Authentication error

This issue has been bothering me from version 5. After some investigation, it turned out the owncloud's authentication was "compromised" by other services running on the same web server (nginx) using the same fastcgi processor.

Monday, July 14, 2014

Installing GitLab on Odroid (ArchlinuxARM)

This post summarizes all steps necessary to install GitLab on odroid. The steps are basically the same as in the official guide.
Additionally I show my nginx and HA Proxy configuration for gitlab with changed docroot (relative url root) and explain how to successfully install bundle packages without libv8 dependency.