I’ve been using varnish throttling lately to mitigate attacks and crawlers, and thought I’d share how I was able to get the module implemented on my ubuntu hosts.
Continue reading “Varnish 3.x Throttling”
Most of the documentation for getting apache’s mod-auth-mysql modules to work under ubuntu are painfully short of at least a couple of configuration lines, so here’s my attempt to be helpful to others that have trouble with this.
Continue reading “Ubuntu Apache/MySQL Auth”
So you have an ubuntu server that you’d like to do LDAP authentication on. Here are the quick and dirty steps. Note that I’m leaving out a lot of additional options and tweaks as many will be situationally different.
Continue reading “Ubuntu LDAP Authentication”
Just a little cheat sheet for setting up multiple routes/interfaces on ubuntu servers. The file you’ll be making modifications to is “/etc/network/interfaces”.
Continue reading “Ubuntu Network Configuration”
lately i’ve been poking at vmware more as building kvm deployments is annoying and managing them sucks.
so i’ve played with the vmware ESX 3.5 and 4.1 deployments, which are pretty cool although a pain to manage as you have to run the thick client from a windows box, which gave me the opportunity to also mess with vmware fusion, which i’ll get to later. the ESX systems are pretty nice, but lacked some features that i thought would be givens; notably cloning/copying virtual machines. apparently you CAN do it, but it isn’t intuitive or quick, or at least not enough that building a template system and using that to spin up new servers was any better than my kvm method. and to be fair, it looks like the new versions they are rolling out can do exactly that.
other than that, the ESX stuff is pretty cool, and the hardware it runs on is pretty varied – i was able to use an couple of old dell servers that i had laying around.
i also tried setting up the non-ESX server that vmware puts out, but it refused to install at various points. further research showed that the installer scripts needed some fairly involved modifications to get past where i was stuck. i never was able to finish building that implementation out, but i’m still trying. honestly if building it is that hard, it might not be worth doing.
vmware fusion was pretty nice. i’ve used parallels in the past when i need to run a windows app, but that was a while back and i no longer have that setup. it was nice, but i usually don’t like having to jump into a VM just to run an app, so as much as i applaud vmware for making fusion work well, i have to criticize them for not having a mac version of their management software.
funny story : a day or so after i did all of that, i had to log into a machine that is only accessible by modem. i recently upgraded to os x lion, which apparently hates the apple modem i have, so i had to use my keyspan to connect to a USR hardware modem, and the windows environment i had from vmware was able to work great with that setup. so, yay.
a few years back i heard about http://code.google.com/p/surveillancesaver/ and loved it. so i patched a couple of things on it that i didn’t like, and in the process of playing with it decided to make an os x dashboard widget.
both the saver and the widget have the same problem in that the url list for the cameras is hardcoded, and while i keep meaning to make a feed for them to use, i never get around to it.
still, this thing was pretty quick, easy, and fun to make.
having floundered through this a couple of times now, i’ve decided to write the process down so that i don’t have to spend half a day doing this each time. note that this is based on a basic ubuntu 10.04 server system with normal updates as of 2010.6.7.
Continue reading “building an ubuntu 10.04 virtual server”
this is a quick and dirty little script to help 2 people play twister. it uses the ‘say’ command in OS X to call out the spins.
Continue reading “twister”