Mohan Cheema's Online Diary

Site Just to Keep Track of My Day to Day Work.

August 18, 2011
by Mohan Cheema
0 comments

Linux Screen Shortcuts

Screen is a much under utilised program, which provides the following functionality:

  • Remote terminal session management (detaching or sharing terminal sessions)
  • unlimited windows (unlike the hard-coded number of Linux virtual consoles)
  • Scroll back buffer (not limited to video memory like Linux virtual consoles)
  • copy/paste between windows
Share
Share

November 1, 2010
by Mohan Cheema
0 comments

Postfix OpenLDAP Courier-imap Amavisd-new SpamAssassin and clamav HowTo

This is a step by step guide on how to configure GNU/Linux system with Postfix, OpenLDAP, Courier-imap, Amavisd-new, SpamAssassin and clamav. Even though this setup was configured on Centos 5, with minor tweaks you should get it working on any GNU/Linux distribution.

Building necessary software

Share
Share

October 6, 2010
by Mohan Cheema
0 comments

Apache connections dropped by Haproxy

Many times on RHEL, haproxy is not reliable it gives an errors while connecting to apache backend, at that time it logs the following errors into /var/log/messages

kernel: ip_conntrack: table full, dropping packet

this is related to ip_conntrack kernel module.

If found this error message into /var/log/messages need to apply following steps

Share
Share

September 8, 2010
by Mohan Cheema
1 Comment

Running Tomcat as Service

In previous post we have setup Tomcat to run its multiple instances now we want that tomcat should start automatically on server reboots. This can be achieved by adding tomcat service script.

Introduction

This document will teach us how to setup Tomcat to run as a service (startup when booted) on Linux.

Share
Share