Monitoring rabbitmq server 2.5.1. with monit

Simple task like setting up monitoring with monit for rabbit mq include two parts:

  1. As discussed here Modify /etc/init.d/rabbitmq-server
The following are added to the start
    pid=`/usr/sbin/rabbitmqctl status | perl -n -e'/{pid,(\d+)/ && print $1'`
    echo $pid > /var/run/
    Right before ...
more ...

Secure Riak installation using n2n VPN

Recently, I decided to have a closer look at Riak non-sql database, but found out that unlike CouchDB riak doesn't have a HTTP basic auth implemented, or any other way of defining secure access to database.

I have three servers to build a cluster, but I feel very uneasy ...

more ...

Wordpress deployment on the live server using chef (and vagrant)

When I decided to move from movable type to wordpress, I wasn't quite happy with default wordpress cookbook. I also had an offer to have a cheap dedicated server instead of VPS, so I decided to test two things simultaneously:

* Preparation of new live server using fabric

* Deployment of ...

more ...

Building nginx on ubuntu karmic

Building nginx on ubuntu

sudo aptitude -R install build-essential libpcre3 libpcre3-dev libpcrecpp0 libssl-dev zlib1g-dev

./configure --prefix=/etc/nginx \--sbin-path=/usr/sbin/nginx \--conf-path=/etc/nginx/nginx.conf \--error-log-path=/var/log/nginx/error.log \--pid-path=/var/run/ \--lock-path=/var/lock/nginx.lock \--user=www-data \--group=www-data \--http-log-path=/var/log ...

more ...

Mysql DB and unicode utf8

Do you expect newest Ubuntu server 9.10 (karmic) to support utf8 in mysql server out of the box? Well, it doesn't.

Don't forget to put small file */etc/mysql/conf.d/charset.cnf*:







more ...