Late as a Cygwin user…

… but hey, better late than never! So I was just complaining about how PuTTY doesn’t seem to handle SSH keys (e.g. AWS, Azure) very well, and then I came to (belated) realization that because rsync can be used in Windows via Cygwin, so can ssh. Now I don’t waste time in a UI managing […]

Read More Late as a Cygwin user…

CentOS: httpd invalid command

Was configuring a CentOS 6 server recently, and I decided to comment out all httpd (i.e. Apache) LoadModule directives. Upon restart, there were several invalid commands, so I took the time to note ’em down as it wasn’t obvious (to me, at least) which commands were provided by which modules. I liken this to a […]

Read More CentOS: httpd invalid command

Failed dependencies when installing rpmforge

Got this error today whilst trying to install collectd, which is kindly provided by RPMForge: $ sudo rpm -i rpmforge-release-0.5.2-2.el6.rf.i686.rpm error: Failed dependencies: rpmlib(FileDigests) <= 4.6.0-1 is needed by rpmforge-release-0.5.2-2.el6.rf.i686 rpmlib(PayloadIsXz) <= 5.2-1 is needed by rpmforge-release-0.5.2-2.el6.rf.i686 Googled about it for awhile, nothing forthcoming. Now, if you ‘rpm -qa | grep rpmlib’ no results will […]

Read More Failed dependencies when installing rpmforge

Skipping incompatible lclntsh

Received this error whilst make-ing oci8 for PHP. It was a fresh install of 64-bit CentOS 5.4 w/ Oracle XE 10g installed; e.g. $ sudo make . . . /usr/bin/ld: skipping incompatible /usr/lib/oracle/ when searching for -lclntsh /usr/bin/ld: cannot find -lclntsh $ So I checked for /usr/lib/oracle/ — it was there, but for some reason […]

Read More Skipping incompatible lclntsh

Using specific CentOS mirror

I wanted to have the server pull updates from a particular CentOS mirror. Set enabled=0 for fastestmirror.conf: $ cat /etc/yum/pluginconf.d/fastestmirror.conf [main] enabled=0 verbose=0 socket_timeout=3 hostfilepath=/var/cache/yum/timedhosts.txt maxhostfileage=10 maxthreads=15, facebook Set the mirrorlist, baseurl and failovermethod values for CentOS-Base.repo for base, updates, addons, extras, centosplus, contrib sections. Note that the baseurl is specific to each section, […]

Read More Using specific CentOS mirror

OCIEnvNlsCreate() failed again

So I’ve downloaded and installed Fedora 12 for the work laptop for awhile now. Previously it was Linux Mint 7/8, but I haven’t actually used the machine yet, as I encountered that darned OCIEnvNlsCreate() error message again. Same setup, just Oracle Express 10 on Linux, except the distro is Fedora this time. So I was […]

Read More OCIEnvNlsCreate() failed again