Category Archives: Linux/UNIX

How to install Xapian 1.2.5 PHP bindings on Ubuntu Lucid Lynx

Starting from version 1.2.x, Xapian repository on Ubuntu does not contain php5-xapian package apparently due to the license incompatability between GPL and PHP license(great…) Issue is discussed somewhat at length here. But in the meantime, folks suggesting to build PHP … Continue reading

Posted in Linux/UNIX, Notes For Myself, PHP, System Administration | Leave a comment

Build OpenLDAP 2.3.x from sources on Ubuntu

It happened so that I needed to build a particular version of OpenLDAP on Ubuntu and use that instead of the one in Ubuntu’s repository. Here is a quick guide as to how it worked for me: 1. Get BDB … Continue reading

Posted in Linux/UNIX, Notes For Myself, System Administration | Tagged , , , , | 5 Comments

Gnome Do, Docky, upgrade to Ubuntu 10.10 and an odd case of /var/lib/dpkg/tmp.ci/md5sums

So I finally upgraded to 10.10, a bit behind the curve but whatever. For the most part it went surprisingly swimmingly. I only had 2 issues First one – gnome-do docky theme was gone. And apprently it’s gone for good … Continue reading

Posted in Just messing..., Linux/UNIX | Tagged | 1 Comment

How to install Mono on RedHat/Plesk 8.6.x

Mono is a savior if you’re migrating Windows sites to Linux/Apache stack. I had to do this just recently and had to setup Mono on RHEL box with Plesk 8.6. It was relatively straighforward process and here is quick log … Continue reading

Posted in Linux/UNIX, System Administration | Tagged , , | Leave a comment

How to move MySQL storage to RamFS or TmpFS partition

Whether moving all MySQL storage to a tmpfs helps with speeding it up or not is questionable but I needed to do for some testing purposes, so this is a short overview of how I did that hopefully will be … Continue reading

Posted in 4QuickLookUp, Just messing..., Linux/UNIX | Tagged , , , | 2 Comments

Apache 2 and HTTP Authentication with PAM

There are 2 ways(at least that I know of) to get Apache 2 to use PAM for http auth: Old mod_auth_pam, which I believe is not developed anymore and also posses some security risks Newer mod_authnz_external and pwauth This little … Continue reading

Posted in 4QuickLookUp, Linux/UNIX | Tagged , , | 1 Comment

Installing Mercurial 1.5, 1.6 or 1.7 on Ubuntu Lucid Lynx 10.04

Lycid Lynx’ repository by default set to install Mercurial 1.4.x, which is great, but as of today that’s already 3 major releases behind To get yourself on the latest and greatest version of Mercurial there are 2 options: build from … Continue reading

Posted in 4QuickLookUp, Linux/UNIX | Tagged , | 12 Comments

XDebug doesn’t show local variables in Komodo, NetBeans or Eclipse PDT

Lovely surprise that came sometime after upgrading Lucid Lynx(and thus to PHP 5.3.2) – Xdebug doesn’t show local variables. Fortunately that’s a known issue that is fixed in Xdebug 2.1.0RC, but since it’s not released, it is not yet in … Continue reading

Posted in Linux/UNIX, PHP | Tagged , , | 12 Comments

Advanced Web Ranking on Ubuntu: Fixing “SQLite Could Not Be Found” Issue

“SQLite Could Not Be Found Issue” that you see when running AWR on 64bit Linux(in my case Ubuntu 10.04 ) is caused by the fact that AWR relies on 32bit JRE(you can read about this on AWR’s forum). Problem could … Continue reading

Posted in 4QuickLookUp, Linux/UNIX | 3 Comments

Remove all .svn folders recursively

From the inside of the working copy: Linux, Mac OS X, *BSD: find . -name .svn -exec ‘rm -rf {}\;’ Solaris, AIX: rm -rf `find . -name .svn` Remove .svn folders from Mercurial repository: find . -iname .svn | xargs … Continue reading

Posted in Linux/UNIX | Tagged , , | Leave a comment