Posts for: #Linux

Manage Multiple App URL in Local Development

These days we might have multiple local applications that are running on different ports (e.g: http://localhost:3000, http://localhost:3001 and so on). This is pretty troublesome as we have to remember which application is running on which port.

[Read more]

Rails, Unicorn and Nginx on Slackware

I was trying to deploy a Rails application using Apache and got into some problems when I tried to configure the app so that Apache will be the one that serves the precompiled assets (javascripts, css, images and others). Since I’m on tight deadline (yeah, I should’ve tested production mode much more earlier), I tried my luck with Nginx and it worked easily without any hassle. So, this is how I did it.

[Read more]

Corosync and Pacemaker in Slackware

This will be multi part post about high availability solution for Slackware. My first post will be about Corosync and Pacemaker.

You need to combine Corosync and Pacemaker with other distributed storage system such as DRBD/OCFS2/GFS. I’ll talk about these stacks in another post.

[Read more]