Vim as Python IDE

I’m by no means a Python developer, but as a sysadmin, I’m constantly interacting with Python - my scripting language of choice. My preferred text editor is Vim, which I’ve been using for as long as I can remember. I’ve never been a fan of bloating applications with unnecessary plugins and modules, and Vim is no exception.

Installing Tesseract OCR 4.0 on CentOS 6

Tesseract OCR package is available for CentOS 6 via EPEL yum repository, but unfortunately, at the time of writing this article, the latest available Tesseract version in EPEL is 3.0.4. Installing Tesseract 4.0 from source is possible, but with some extra effort as CentOS 6 doesn’t come with Leptonica 1.

Solr full text search for Dovecot

Dovecot is great POP3/IMAP mail server but its internal search mechanism falls short when dealing with large mailboxes. Search is not only super slow, but also extremely resource intensive on both CPU and disk IO front. Offloading mail indexing and search to Apache Solr is not only recommended, but a must in such scenarios.

Dynamic HAProxy backends

HAProxy is one of very few pieces of software that are truly a joy to use. It’s written in C, it’s reliable, fast, secure and versatile. I’ve been using it for a number of years now for all kinds of purposes and its ability to inspect and manipulate HTTP requests is one of the features I use most often.

Rebuilding software RAID without mdadm.conf

Rebuilding software RAID array is very easy when you have your mdadm.conf file at hand, but when you find yourself in a situation without backup of that little config file, e.g. after reinstalling the system or when your migrate disks to the new server, it can be a bit daunting.