If you’re planning to run Rails applications on Nginx using Phusion Passenger, and do it on Ubuntu Linux, here’s what needs to be done. Even though there’s Ubuntu nginx package available (which works perfectly when you’re running PHP apps using FCGI), if you want to take into use Phusion Passenger, you’ll need to recompile Nginx [...]
Have you moved your site from Apache to Nginx and now your FastCGI (php-cgi/spawn-fcgi) processes die/hang/crash periodically and your users see “HTTP 502 Bad gateway” or “HTTP 504 Gateway timeout” instead of a website? I have faced this problem and found a relatively simple and robust solution. Here’s how I did it on Ubuntu 9.10 (Karmic [...]
This will create a new user ‘gitosis’ and prepare a structure for repositories in /srv/gitosis. Now let’s initialize a gitosis-admin repo – it is used for managing repositories and access Of course there’s always an option to use github. And if you’re working on an open source project, or want to concentrate on coding and [...]
Wednesday, February 10, 2010
One of our development servers went down today. Problems started with deployment script that claimed that claimed “No space left on device”, although partition was not nearly full. If you ever run into such trouble – most likely you have too many small or 0-sized files on your disk, and while you have enough disk [...]
Wednesday, October 14, 2009
This was the second time I upgrade firmware on my iPhone, and second time I ran into the same problem. In the middle of the update iTunes reports “Unknown error” and iPhone dies (well, goes into recovery mode, but it is not much help). If that happened to you, don’t panic! To make this geeky [...]
The task is to have: – Redmine installation on redmine.mydomain.com – Several Git repositories on git.mydomain.com with different access rights to each one This proved to be a non-trivial task. There is a number of tutorials on the net, but none of them described the full solution. So after getting it all to work, I [...]
While performing some administrative tasks on one of the domains I maintain, I decided that the time has come to switch to a modern and reliable solution – Google Mail. If you have an IMAP mailbox hosted somewhere and you want to move it to Google, then do the following (example is set for migrating [...]
It was a fun weekend. I upgraded from Ubuntu 8.10 to 9.04 on my Lenovo T61 and installed it instead of Windows Vista on my wife’s new Dell Vostro 1510. Both upgrade and installation on both machines went without a single hickup, which was a positive surprise after my last experience with Ubuntu upgrade.
Last year I got involved in the development of a new social network – Moozement. There are plenty of social networks out there, there are even white label social networks. So why create another one? Jyri Engeström wrote some time ago about the case for object-centered sociality: “‘social networking’ makes little sense if we leave [...]
I should admit – I shamelessly borrowed part of the title for this post from Tyler. I had exactly same feeling after upgrading from Ubuntu 7.10 to 8.04. I’ve been meaning to write about this upgrade for almost two months now. Right after Ubuntu 8.04 was released I upgraded two of my laptops from Ubuntu [...]