Kev's Site
  • Home
  • Games
  • Categories
  • Tags
  • About

#Centos

How to set Centos to UK timezone

October 12, 2013

A quick’ cut and paste’ tip for setting the timezone on Centos / Red Hat Linux. To set it for the UK, as the root user, enter the following: ln -sf /usr/share/zoneinfo/Europe/London /etc/localtime All of the different timezones can be found in /usr/share/zoneinfo under various subdirectories, e.g. Europe, Africa etc. To set the appropriate timezone just replace the symbolic link at /etc/localtime to point the the relevant timezone file. In the example above the symbolic link, /etc/localtime is updated to point to the London timezone file.
Read More

Compiling bumptech Stud on Centos 6

March 17, 2013

Stud is the “Scalable TLS Unwrapping Daemon” written by bumptech and used by 85million bump users. I use it to offload SSL connections in front of haproxy for really scalable websites. It’s not so much that I need to scale massively, but it does allow me to run on really small (i.e. cheap) servers. I’m aware that the development branch of HAproxy now supports SSL directly, but as yet I have not seen any performance tests so for now I will stick with stud.

I have previously built stud on Debian Linux and the build process is really simple; make and then make install (once openssl-devel in installed and or course the utilities gcc and make too!)

But I’ve recently moved over to Centos as my server OS of choice and ran into some problems whilst building stud. The error reported when I ran make was file ev.h not found.

Read More

Compile node.js on Centos Linux

May 26, 2012

This is a quick how to with the steps used to compile Node.js on Centos Linux.

These steps were successfully executed on Centos 6.2 x86 with node 0.6.18

Read More

 © 2009 - 2025 Kevin Ellis