Linux

Installing SNMP on CentOS

Sunday, April 18th, 2010 | Linux | 2 Comments

Once again I am documenting this here for my own purposes. I tend to find little caveats like this but loose them by the next time I need them. So I’m documenting how to install SNMP on a CentOS box. So far I’ve tried this on several physical and will be trying it on some vmware and xen virtual boxes next. After do you this you need to start the service ans set it to load at root.

yum install net-snmp
yum install net-snmp-utils

snmpconf -i -g basic_setup

Converting MySQL to SQLite

Saturday, February 6th, 2010 | Linux | No Comments

I have begun playing around with SQLite and needed a way to convert a MySQL database into a SQLite database. After trying several different methods the one that I ended up going with was the script documented in this article.

Documenting it here so I can find it later myself.

Tags: ,

Disabling iptables Console Messages

Wednesday, December 9th, 2009 | Linux | No Comments

I’ve been searching for a solution to this and finally found one, so I’m posting it here just so I won’t have to search for it when I forget it again.

I initially thought the messages were coming from syslog-ng but it turned out that the messages kept coming even with syslog-ng turned off.

As it turns out, the kernel was printing those messages directly to the console. Fortunately, it’s possible to set the minimal level a message must have before it is printed to the console.

# dmesg -n 4

After executing this command, only messages having level “warning” (4) or higher will be printed. All message levels are still logged.

Search

 

September 2010
M T W T F S S
« Jul    
 12345
6789101112
13141516171819
20212223242526
27282930