Posts Categorized: red hat centos

Uptime 4 years

Since I like posting screeshots of uptime figures here is one of an anti-spam machine up for 1496 days (just over 4 years). The machine is running Red Hat 4.

Changing the hostname in CentOS

Background: I made a tar backup of one system and wanted to untar that onto different hardware. A bit like cloning. However I needed to make sure the hostname and network settings were those of the new machine and not the cloned machine. So for future reference … Change the Hostname vi /etc/hosts Change the… Read more »

Rsyslog and Log Analyzer

These are the steps I took to create a centralised location of system logs. In this scenario multiple servers (earth, venus, mars) send their system logs to a central server (sun 192.168.1.1). I’m not going to cover the configuration of Apache, MySql except were it applies to Log Analyzer. Most of the servers are running… Read more »

Dansguardian Randomise Rules

If you plan to use URLBlacklist.com or Shalla rules in Dansguardian you may suffer from very slow (or impossible) restarts of the daemon. Dansguardian prefers the rules randomized rather than in alphabetical order. I couldn’t find the randomize lines package in the repos so compiled it first e.g.: wget http://arthurdejong.org/rl/rl-0.2.7.tar.gztar xzf rl-0.2.7.tar.gzcd rl-0.2.7./configuremakemake install Then… Read more »

Building an RPM Package (DansGuardian 2.10)

After putting together an RPM for DansGuardian v2.10.1.1 I thought I would make a few notes. The version of DansGuardian in the repositories is currently version 2.8 and the only other repo or rpm I could find was a 32-bit 2.10.  Why DansGuardian 2.10? Content Scanning Support with Clamd or Kapersky Regular Expressions to enforce… Read more »

Justniffer Monitoring Network Traffic

Just read about Justniffer on UbuntuGeek and decided to give it a whirl. Downloaded deb installer from SourceForge and ran with:

I received the following output showing a few web connections and a telnet session to a mail server. 

Possibly of use and for future reference when troubleshooting network issues.

Red Hat CentOS Yum Repositories

This is my summary of Yum repositories for future reference. Yum (and apt on Debian systems) is an easy way to install software on Red Hat/CentOS systems and to keep those systems up-to-date. There are a variety of repositories with different software packages available which is why I like to use most of the following… Read more »

Troubleshooting Munin

Having given up on installing and using Munin once already I thought I would jot a few notes to help in future troubleshooting. Test the connection by telnet from the munin-server to the munin-nodetelnet mynode 4949list [you should get a list of services available]fetch vmstat [you should get some vmstat numbers] Firewall is the munin-node… Read more »