Like a lot of other geeks, I’m still somewhat active on IRC. It may be handy to stay online all the time, just in case something interesting passes by when you’re not around. That’s why I installed ZNC on one of my servers. ZNC is an IRC bouncer, that stays connected to IRC, so when … Continue reading Using irssi with screen
Some time ago, I experienced some connectivity issues from my host machines. SSH connections got dropped as well as other connections like irc. Since the disconnections occurred very randomly, it was not easy to determine what the problem was. Thanks to @svg, I used used a tool called MTR. MTR is a great network diagnostic … Continue reading Connectivity testing with MTR
There has been one thing that most people overlook after deploying their Rails / web app, and that’s log-ration. I have to admit, it’s something that I overlooked myself for quite some time. When using capistrano for deployment, your production log gets stored in the share folder, so the same log stays available after updates. … Continue reading Rails log-rotate
So we’ve installed ruby as described in my previous post. But we are nothing with only a ruby installation. To serve our ruby / rails apps, we’ll need a webserver. Until last year, I always used Apache to do the heavy lifting. But after some research, I decided to make the switch to Nginx. Either … Continue reading Nginx and passenger install in production environment
The occasion might right from time to time when you need to merge multiple pdf’s. There are several ways to do this on Mac, but none of them worked out for me. This by a simple reason, the pdf’s where signed and secured, so I was unable to merge them using preview or other visual … Continue reading PDF merge from cli
In this article, I’ll explain how I’ve installed ruby on my production server. I only focus on ruby this time. Later on, I’ll make an article on Nginx and perhaps some security measurements I’ve taken. Ruby 1.9.3 MRI First things first, the ruby version I’m using for all my software is ruby 1.9.3 MRI. There … Continue reading Ruby install in production environment
It has been a while since I used my blog. I can’t actually remember why I stopped blogging in the first place. Perhaps lack of time. Boy, can’t even dare to look at the archive numbers. Last post dated from juli 2011. And even before then the previous post dated from december 2009! Well, a … Continue reading Trying to revive this blog
I noticed through Google Webmaster Tools that there where still some old links around on the internet pointing to non-existing pages on my company site. So I thought is was time to redirect them to some existing pages. The quickes way was creating a .htaccess file and that would be it. But for some reason, … Continue reading Phusion Passenger & mod_rewrite
Small update on the TimeMachine & Network Drive setup. Since I have a new MacPro, I wanted to enable TimeMachine on it. Note that this install is a fresh Snow Leopard installation, and that my MacBook is a Leopard. I took the steps as I discribed them myself, but it seemed that TM was still … Continue reading Time Machine & Network Drive – SNOW LEOPARD UPDATE
Ok, while setting up my working environment, I had to define vhosts for the sites/applications I’m working on. So here is how I configured Apache. sudo vi +/’# Virtual hosts’ /etc/apache2/httpd.conf This text will open the httpd.conf file and set the cursor at the first line where he encounters the string # Virtual hosts. Now, … Continue reading Snow Leopard Apache vhosts