xterm-256color error in Fedora 18 and 19

After upgrading to the latest release of Fedora I started noticing an error when connecting to older RHEL and Solaris servers and getting an error. This change was implemented in Fedora 18 to allow for support of 256 color terminals. xterm-256color: Unknown terminal type I don’t know what kind of terminal you are on – all I have is ‘xterm-256color’ This was causing issues trying to... read more

Monitoring Filesystem Events with incron on RHEL 6

Have you ever wanted to know when a file is changed or accessed by the system or user? There is a program that does just that task called Inotify cron (incron). Incron is for monitoring filesystem activity. It consists of a daemon and a table manipulator. You can use it a similar way as the regular cron. The difference is that the inotify cron handles filesystem events rather than time periods incron... read more

Install Tomcat 7 and Java 1.7 on CentOS 6 RHEL 6

In this post we will cover how to install the Apache Tomcat 7 and jre 1.7 on CentOS 6 and RHEL 6. This process doesn’t use the rpm’s from the Redhat repositories, but uses the latest tar balls from Apache and Oracle. We will also be using service accounts to control Tomcat and its processes. Download latest Tomcat from Version 7.0.40 is the curent... read more

How To Fix RHEL / CentOS 6.4 LDAP MD5 Cert Error

Recently we updated to the latest RHEL 6.4 which caused LDAP to stop using our MD5 signed  certificate. This was due to the nss-3.14.0 update that now deems MD5 as unsecure. This change caused authentication of users using LDAP to fail. If the account had a local password (such as root), they were able to login. Since creating / updating the MD5 certificate was not an immediate solution for us we had to... read more

How To Change the default MySQL data directory on RHEL 6

You’ve been using MySQL for sometime now and the database has been growing and you are at the point where it is time to move to another location or to newly added storage that is in a different location. Stopping the MySQL server # service mysqld stop Create a new data diretory and move the content from the old one Creating a new data directory # mkdir /app/mysql/ # chown mysql:mysql /app/mysql... read more

« Previous Entries Next Entries »