Archive for the ‘System Administration’ Category

Installing ruby-xslt gem on CentOS 5.2

Friday, April 17th, 2009

Ruby-xlst is one of those gems that has been known to throw curve balls during the installation process. This is usually because the gem has dependencies on libraries that are typically not installed on a system by default. On CentoOS 5.2 the following sequence of commands should do the ...

Setting Global Environment Variables in CentOS

Thursday, April 16th, 2009

The easiest way to set an environment variable in CentOS is to use export as in $> export JAVA_HOME=/usr/java/jdk.1.5.0_12 $> export PATH=$PATH:$JAVA_HOME However, variables set in such a manner are transient i.e. they will disappear the moment you exit the shell. Obviously this is not helpful when setting environment variables that need to ...

Entries (RSS) and Comments (RSS) .