Archive for the 'Linux' Category

Installing java on CentOS

You’d think it would be harder, but it’s not. Not that it’s documented well anywhere, which is why I’m writing this.

  1. Go to java.com.
  2. Download the linux RPM installer for your cpu type.
  3. sh /path/to/downloaded.rpm.bin
  4. follow the bouncing ball.

And that’s it.


[mycentosvm:~] root# java -version
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) 64-Bit Server VM (build 10.0-b22, mixed mode)

Radmind Wizardry

How to add support for new hardware to an existing base load

These directions describe how to add support for new hardware into an
existing base load

cat a binary and screw up your terminal?

via unixtips.org
When your term can’t display the correct char after you cat a binary file try the following command to reset it:
echo CTRL-V ESC c

crib sheet: ssh single-login/no password

via: Robert Citek - crib sheet: ssh single-login/no password ( was Re: ssh-keygen )
How to set up a no-password ssh connection from A to B, where A && B == trusted machines Continue reading ‘crib sheet: ssh single-login/no password’

deleting files with find

To delete files matching *searchstring*, use the following:

user# find . -name "*searchstring*" -exec rm {} ;

Probably a good idea to run it without

-exec rm {} ;

first to see what you’d be deleting.

Oh, and the space after the {} really is important – the command won’t do anything unless it’s there…

Rebuilding Ethernet drivers on a DL360 GL2

Quick notes for updating the bcm5700 driver on RedHat EL3 after updating the kernel… Continue reading ‘Rebuilding Ethernet drivers on a DL360 GL2′

Fedora Myth(TV)ology :: Welcome

Fedora Myth(TV)ology :: Welcome

Getting MythTV running on Fedora – couldn’t get much more focused than that, huh? Pretty cool…

new vlan setup on redhat el3

1. create a startup script in /etc/sysconfig/network-scripts, using another vlan’d interface as a template (ifcfg-ethX.vlan)
2. create a routing table in /etc/sysconfig/network-scripts, using another vlan’d route as a template (route-ethX.vlan)
3. add the new route to /etc/iproute2/rt_tables using an unused table number (name needs to match what you specified your routing table)
4. ifup the interface and ping it to be sure everything works (hint: make sure your switch has tagged the packets for the new vlan)
See more info here…

Setting MAC address on a VLAN interface, source-based routing, and kernel set routes

here’s a synopsis of what I’ve found, and how I got things working as desired (I know there are others in similar situations with VLAN that might find this useful) Continue reading ‘Setting MAC address on a VLAN interface, source-based routing, and kernel set routes’