Upgrade from FreeBSD 8.1 to 8.2 REL
1. cd /usr/src 2. edit supfile to use RELENG_8_2 *default host=cvsup15.FreeBSD.org *default tag=RELENG_8_2 *default prefix=/usr *default base=/var/db *default release=cvs delete use-rel-suffix src-all...
View ArticleScreenshot Script to Put Image In Dropbox – Puts URL in Clipboard – For *nix
Here’s are two scripts to do what GrabBox does on OS X – they take screenshots and then place each in your public dropbox folder (edit the url to fit your id where xxxxxxx is). The first script snap.sh...
View ArticleScript to Easy-NSEC3RSASHA1 Sign DNSSEC Zones
DNSSEC has a lot of commands to learn and type when maintaining your system. Hopefully this simplifies it for you. Usage: sign_zone.sh <domain>. I verified this working with Bind 9.7.3 on Amazon...
View ArticleScript to Generate NSEC3 KSK and ZSK for DNSSEC
Here’s my script to generate keys in /var/named/dynamic for DNSSEC. Usage: generate_keys <domain> #!/bin/bash #this script is /usr/local/bin/generate_keys domain=$1 cd /var/named/dynamic/...
View ArticleCron to Re-Sign DNSSEC Zones Nightly
#!/bin/bash # this script uses sign_zone.sh from a previous blog post: # http://packetcloud.net/2011/10/13/script-to-easy-nsec3rsasha1-sign-dnssec-zones/ cd /var/named/dynamic/ for dir in `find ....
View ArticleArch Linux on Mac Pro with Luks Full Disk Encryption
You need: OS X Install CD (I used a copy of Snow Leopard), Arch Linux net install CD 1. Boot into Arch. Wipe hard drive, for example with #badblocks -c 10240 -wsvt random /dev/sda 2. #parted , set...
View ArticleInstalling Hadoop 1.0.x-stable On 10+ Nodes With HBase, ZooKeeper, Thrift,...
For more information about Hadoop, please watch https://www.youtube.com/watch?v=d2xeNpfzsYI. HBase on top of Hadoop provides powerful, extremely high throughput (Hadoop HDFS) with secondary indexing,...
View ArticleInstalling Hadoop 1.0.x-stable On 10+ Nodes With HBase, ZooKeeper, Thrift,...
We left off setting up the NameNode for HDFS. Let’s configure/install the JobTracker (www4) and rest of the slaves www5-www15. Set up the HDFS unix user on each node with the same gid/uid; In our case...
View ArticleThreaded Upload of PostgreSQL WAL Files to S3 Bucket
Bash script will spawn 10 separate parallel processes of s3-mp-upload.py, which itself is a multipart-parallelized python script that uses boto library to upload 16MB WAL files that are older than 8...
View ArticleUpdate on Hadoop
I have moved on to Hadoop 2 (Cloudera’s CDH4) — and I *definitely* suggest NOT manually maintaining hadoop nodes like I previously posted. It is much easier with Cloudera Manager. I also moved on to...
View Article