Posts Tagged ‘Linux’

Openfire – Does your company need a private Instant Messanger Server

June 15th, 2009 by admin

Installing Openfire on CentOS 5.5
The install process takes less than 15 minutes.

Do a basic install of CentOS with mySQL support and any other packages you want.
Installing Java:

If you don’t have Java install do the following:
Download Java from (java.com) and do the following:
mkdir /usr/java
cp jre-6u13-linux-i586-rpm.bin /usr/java
cd /usr/java
sh jre-6u13-linux-i586-rpm.bin
rpm -iv jre-6u13-linux-i586-rpm.bin

Installing Openfire 3.6.4:

(At the time of [...]

Learning Perl with SNMP Part I

March 31st, 2009 by admin

Ok my first stab at it was great (snmp.pl)
#!/usr/bin/perl
$SNMP_GET_CMD = “snmpget -v1 -c public -Ovq”;
$SNMP_TARGET = “1.1.1.2″;
chomp($model = `${SNMP_GET_CMD} ${SNMP_TARGET} 1.3.6.1.2.1.1.3.0`);
chomp($serial = `${SNMP_GET_CMD} ${SNMP_TARGET} 1.3.6.1.2.1.1.4.0`);
$model =~ s/\”//g;      # Ditch the quotes.
$serial =~ s/\”//g;
print <<END;
APC UPS                         ${SNMP_TARGET}
Model: ${model}         Serial No: ${serial}
END
The output:
APC UPS                         1.1.1.2
Model: 33:17:35:52.07         Serial No: NOC 555-555-5555
Basically I’m using snmp-get from a command line [...]

Diffrent Linux flavors

February 20th, 2009 by admin

This is what my buddy MikeRoo said about the different Linux flavors:
Thin (slack/debian), there’s normal (mint/cent), there’s thick (pclinuxos) then there’s obese (fedora/suse).

Using SNMPget or SNMPwalk witha vendor MIB file

February 19th, 2009 by admin

First, copy your .mib file into the directory where your script is located.
Then use snmpget in the following format:
snmpget [address] -c [community string] -v 1 -m [mib name] [object to scan]
Then use snmpwalk in the following format:
snmpwalk [address] -c [community string] -v 1 -m [mib name] [object to scan]

Installing BackTrack 3 on a USB

February 5th, 2009 by admin

I found this great clip on youtube.com from phait08
I followed the entire video and it work, so I decide to post it on my site.
Check to see which Drive Letter your USB HD/Stick is using.
Here are the steps:

QtParted

February 5th, 2009 by admin

QtParted is a great little program based on Parted(linux), it help me built my know bootable Knoppix USB Drive.
QTParted is a Partition Magic clone written in C++ using the Qt toolkit.