‘script’ing the login
Ever want to capture and record everything done on the command line from a ssh login without (a) the user knowing it and (b) them having to do anything to start the recording?
Interesting Quotes
Just some quotes I wanted to jot down.
Mysql Multi-Master
My notes on what I did to create a mysql multi-master setup w/ newly-install mysql servers.
Disable Auto-Open Of CD/DVD/USB in Ubuntu
Tired of gnome auto-opening your CD/DVD/USB just because you stuck a new one in? (gets on my nerves because I use pam usb for authentication).
OCFS2 over iSCSI on Ubuntu 10.10 (Maverick Meerkat)
I had a lot of fun figuring this out. I knew I needed OCFS2 for a clustering file system I was setting up, but none of the OCFS2 documentation tells you how to setup the underlying disk.
DRBD has a “do DRBD first, then OCFS2 on top of that” howto, but what if you wanted the underlying device to exist only on one box? (or in my case *had* to have the underlying device on only one box?)
GNBD looked like a good solution, but Ubuntu dropped support for gnbd a long time ago and there wasn’t a clearly documented “this is the gnbd replacement”.
I happened across an archived email in a kernel discussion group where they were discussing removing gnbd “now that we have iSCSI”, and that was my clue.
Turns out it’s dead simple to do, once you have the right steps. Here’s my documentation in case I ever need to come back and do this again (very likely).
ffmpeg screen capture
ffmpeg -y \
-f alsa \
-ac 2 \
-i pulse \
-f x11grab \
-r 25 \
-s 1354x768 \
-i :0.0 \
-vcodec libx264 \
-vpre lossless_ultrafast \
-crf 22 \
-acodec libmp3lame \
-ar 44100 \
-ab 126k \
-threads 3 \
~/Desktop/screencast.mkv
Resetting Mysql root password
Common enough, something that I really should record for myself…
Read the rest of this entry »
The Mark Of The Beast
Understanding the mark of the beast is pretty simple once you have a little knowledge. You always see a lot of hype at churches and in movies, etc over “THE MARK OF THE BEAST” where it’s made out to be some deep dark scary mystery. Let’s take a look a the scriptures to see exactly what the Bible says about it and dispel the myths and all the hype.
Read the rest of this entry »
Quick Port Scan
Down-and-dirty port scan:
Tripwire Notes
Had to setup tripwire a couple times on several redhat servers, decided I better take notes to make each install easier…