greg donald

How-to build latest Linux kernel from Linus' git repo on Debian/Ubuntu

May 25, 2014

Here's a how-to for building a recent Linux kernel on your Debian GNU/Linux box: You will need to do all this as root. It's serious business building new Linux kernels :) su - The dash after the su command makes it behave as if you had logged in as root directly, a full login environment is applied. Make sure you have the required tools and libraries installed: apt-get install build-essential module-init-tools initramfs-tools procps libncurses5-dev kernel-package fakeroot git-core screen zlib1g-dev Use git to clone Linus' latest git repo: cd /usr/src git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git This will take a long time: Cloning into 'linux'... remote: Counting objects: 2725713, done. remote: Compressing objects: 100% (412816/412816), done. remote: Total 2725713 (delta 2286272), reused 2725359 (delta 2285962) Receiving objects: 100% (2725713/2725713), 559.28 MiB | 3.30 MiB/s, done. Resolving deltas: 100% (2286272/2286272), done. Once y...

debian, kernel, linux, ubuntu

The Microsoft/McAfee/Norton virus racket

February 4, 2014

Recently some guys from my flying club were circulating an email filled with FUD about the latest incoming Microsoft virus. Here is the response I sent them: Why not just use an operating system that doesn't require participation in the Microsoft/Norton/McAfee virus racket to start with? I've made a career out of replacing virus ridden Microsoft software with free open source Linux software. I don't have a "high up" Microsoft status like "Dave's brother", nor would I ever want one. In fact I'd imagine Microsoft thinks of me and my kind as enemies of the state. And that's fine.. meanwhile I never have virus infestations because I simply don't use broken M$ software that is vulnerable to virus attacks. Don't get me wrong, I do use some Windoze-only software.. RealFlight for example. But I only do this using Wine, a free open source Windoze emulator that runs on Linux. As a result I've never purchased or ran any Norton or McAfee products or participated in the virus protection racket at all. Un...

debian, freebsd, linux, microsoft, ubuntu, virus

MongoDB Data Durability

January 31, 2014

It doesn't seem you can lose data even when you might otherwise expect to ;) I setup a small replica set using mongod --fork --logpath a.log --smallfiles --oplogSize 50 --port 27001 --dbpath data/z1 --replSet z mongod --fork --logpath b.log --smallfiles --oplogSize 50 --port 27002 --dbpath data/z2 --replSet z mongod --fork --logpath c.log --smallfiles --oplogSize 50 --port 27003 --dbpath data/z3 --replSet z And initalized it: > rs.initiate( { _id:'z', members:[ { _id:1, host:'localhost:27001' }, { _id:2, host:'localhost:27002' }, { _id:3, host:'localhost:27003' } ] } ); Then I killed all three processes: kill -9 25542 25496 25483 Next I brought one of them back up mongod --fork --logpath c.log --smallfiles --oplogSize 50 --port 27003 --dbpath data/z3 and inserted a doc > db.foo.insert({a:1}) Then I killed that process kill -9 25885 and brought the replica set back online using mongod --for...

data, mongodb

waylon.photos

November 13, 2013

I started a photo gallery site for my grandson Waylon: http://waylon.photos/...

photos, waylon

CallProof Django Source

April 29, 2012

I made a gourse movie from CallProof src :) ...

callproof, gourse