Showing posts with label unix. Show all posts
Showing posts with label unix. Show all posts

Sunday, January 06, 2008

FreeBSD still rocks my world!

Over the weekend I tried to do some upgrades. Since I had been stuck for Windows (too bloated for package management) and Linux (RPM hell) land in the past few months, I had forgotten how mighty the simplicity "The Ports" package management in FreeBSD was. Back in the day, server farms were updated this way on a shared NFS drive, with each machine helping out via distcc.

Enough nostalgia, here is the rockin part on installing diablo-jdk-1.5 on a freshly installed FreeBSD machine.

> pkg_add -r w3m ; rehash
> w3m http://www.FreeBSDFoundation.org/downloads/java.shtml // (download diablo-jdk-1.5 binary)
> pkg_add -r xorg-libraries
> pkg_add -r javavmwrapper
> pkg_add diablo-jdk-freebsd6.i386.1.5.0.07.01.tbz ; rehash
> java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build diablo-1.5.0-b01)
Java HotSpot(TM) Server VM (build diablo-1.5.0_07-b01, mixed mode)


FreeBSD you rock!

Sunday, February 11, 2007

SysAd Musings

MRTG reporting something consuming the bandwidth at 80%. After checking the mailq, I have 6K plus deferred messages also holding the CPU hostage (almost 50% ).

One command to rule them all:

postsuper -d ALL deferred

Modern day digital surgery of a machine's electronic artery. They do rhyme, don't they?



sysad nox
-- loving one liners...

Wednesday, February 07, 2007

MTR

Yes, I had been slacking off my sysadmin required reading and only now discovered this wonderful little bugger. Better than traceroute and ping. I like the live latency updates, and its quite fun using this on a machine connected via GPRS and 3G.


sysad nox
-pingin' and tracin'...