Entries from October 2009 ↓

Setting up pinax on Dreamhost Private Server

using apache, mysql, mod_wsgi, and virtualenv

Dreamhost provides free hosting to nonprofits, and for now they seem to have thrown in a virtual private server. This is hard not to take advantage of, and I’m hoping that the VPS is better performing than the shared hosting – but my concern is that they all share the same mysql servers. So here is how I got pinax up and running in its comfy and modern Python web stack.

Continue reading →

Restricting login to account based on IP address

At work we needed to have a standard local account that would work off campus, but not on campus. Here was my solution.

Continue reading →

Installing MySQL Python bindings on OS X Leopard server

Installing the mysql-python package on Leopard is relatively easy if you’ve installed MySQL from the mysql.org distribution – but installing on Leopard Server is a bit more problematic.

Continue reading →

Local editing of remote files

So found this buried under some dust. I had forgotten that I had ever set this up, but in adding some stuff to a .bash_profile on an older server found some code that I’ve spruced up bit for this post that lets you locally edit a remote file initiated via command in a remote SSH session.

Continue reading →