pig-monkey.com
Here are recorded many goings and comings, doings and beings; stories, symbols and meanings. Gossamer threads that may be woven into a larger web: a story of this Age of the World.

Tag: nginx

An Ubuntu VPS for Django

July 19, 2011

Three years ago I wrote a guide to building a VPS web server for serving sites in a PHP environment. That setup served me well for some time, but most of the sites I run now — including this one — are now written in Python. Earlier this year I built another web server to reflect this. It’s similar to before; I still use Ubuntu and I still like to serve pages with nginx. But PHP has been replaced with Python, and many of the packages used to build the environment have changed as a result. As with the last time, I decided to compile my notes into a guide, both for my own reference and in case anyone else would like to duplicate it. So far, the server has proven to be fast and efficient. It serves Python using uWSGI, uses a PostgreSQL database, and includes a simple mail server provided by Postfix. I think it’s a good setup for serving simple Django-based websites.

Continue reading »

An Ubuntu VPS on Slicehost: Wordpress

June 10, 2008

As mentioned previously, I’ve recently moved this domain over to Slicehost. What follows is Part Four of a guide, compiled from my notes, to setting up an Ubuntu Hardy VPS. See also Part One, Part Two, and Part Three.

I prefer to install Wordpress via Subversion, which makes updating easier. We’ll have to install Subversion on the server first:

$ sudo aptitude install subversion

Continue reading »

An Ubuntu VPS on Slicehost: Web Server

June 10, 2008

As mentioned previously, I’ve recently moved this domain over to Slicehost. What follows is Part Two of a guide, compiled from my notes, to setting up an Ubuntu Hardy VPS. See also Part One, Part Three, Part Four.

Now we’ve got a properly configured, but idle, box. Let’s do something with it.

Nginx is a small, lightweight web server that’s all the rage on some small corners of the Net. Apache is extremely overkill for a small personal web server like this and, since we’re limited to 256MB of RAM on this VPS, it quickly becomes a resource hog. Lighttpd is another small, lightweight web server, but I’m a fan of Nginx. Try it out.

Continue reading »

Recent Photos

  1. Field Message Pad Covers: Rear
  2. Field Message Pad Covers: Front
  3. Rhodia Installed
  4. Rhodia Installed: Open
  5. Rite in the Rain Installed
  6. Rite in the Rain Installed: Open
  7. Field Message Pad Covers: Inside
  8. Field Message Pads
  9. Field Message Pads: Open
More photos...

Recent Tweets

  1. Remember when the Linksys WRT54G was going to change the world? http://t.co/XmIZUuLu The good old days… posted 10 hours, 36 minutes ago
  2. @bfgreen I bought a hank of that Glowire after your review. Pretty nice stuff! posted 1 week, 5 days ago
  3. Currently reading: Eastern Approaches by Fitzroy Maclean http://t.co/OkPhTLJz posted 2 weeks, 1 day ago
  4. I need one of these bio security packages for my bike: http://t.co/Tts7EbuC posted 2 weeks, 3 days ago
More status updates...