vCenter Syslog setup

I was recently asked if it was possible to forward vCenter Server logs to a regular syslog server and if so, how difficult would it be to setup? I had researched this topic several years back, but did not find an ideal solution as vCenter Server was only available on the Windows platform and vCenter […]

Easy Install PHP Mcrypt Extension on Ubuntu Linux

Most of web-based application development todays were developed using database. The most popular one is using PHP and MySQL. When developing using MySQL most of beginners were using phpMyAdmin as their power tools in database CRUD (Create-Read-Update-Delete) as well as databases/tables creation and manipulation. PhpMyAdmin supports encryption feature which enables database developers to raise their […]

Tailing Log files in Colour

grc will execute command command with optional parameters [args] piping its stdout or stderr into grcat, with apropriate configuration file. Configuration file for grc is determined by /etc/grc.conf file. Format of /etc/grc.conf: each entry consists of 2 lines, between entries there can be any number of empty lines or lines beginning with # (comments)

SSH Tunnel and Port Forwarding

There are two ways to create an SSH tunnel, local and remote port forwarding (there’s also dynamic forwarding, but we won’t cover that here). The best way to understand these is by an example, let’s start with local port forwarding. Imagine you’re on a private network which doesn’t allow connections to a specific server. Let’s […]

Oracle Yum Repo – Setup

Developed and tested to support demanding workloads, such as Oracle Database. Allows features such as Btrfs, DTrace, OCFS2, and Linux Containers to be used across multiple major releases (Oracle Linux 6.4 and later). Able to parallelize network and disk IO and Efficiently runs on systems with many cores and threads and NUMA nodes. Optimized for solid state drives. Supports data […]

Qmail OpenLdap On Ubuntu

This guide will help you easily set up a email server On Ubuntu using Qmail as MTA, OpenLDAP as a back-end for users, and Courier IMAP for IMAP server. Qmail is a secure, reliable, efficient, simple message transfer agent. It is designed for typical Internet-connected UNIX hosts. As of October 2001, qmail is the second […]

Cassandra on Ubuntu

Cassandra is a distributed database with a BigTable data model running on a Dynamo like infrastructure. It is column-oriented and allows for the storage of relatively structured data. It has a fully decentralized model; every node is identical and there is no single point of failure. It’s also extremely fault tolerant; data is replicated to […]

Monitoring Linux with Dstat

Dstat is a versatile replacement for vmstat, iostat, netstat and ifstat. Dstat overcomes some of their limitations and adds some extra features, more counters and flexibility. Dstat is handy for monitoring systems during performance tuning tests, benchmarks or troubleshooting. Dstat allows you to view all of your system resources in real-time, you can eg. compare […]

ISO Image Creation

Previously I used the CAT command and recently came across READOM command that supports error correction from a cdrom device. #cat /dev/cdrom > /home/username/test.iso can be replaced with the right tool for the job #readom dev=/dev/cdrom f=/home/username/test.iso You can also write that image using the #wodim -v -eject /home/username/test.iso