Can I install Reddit on a default Dreamhost VPS configuration

apps

#1

Hey folks,

I’m hoping to install my own copy of Reddit (http://code.reddit.com/) to play around with, and I know that I’ll need at least root access with a VPS. However, what I’m not sure about is if Dreamhost’s VPS would fulfill those needs, or if I need to look to a different hosting company.

The list of necessary packages and dependencies is here: http://code.reddit.com/wiki/RedditStartToFinish

However, I’m having a hard time finding out what exactly is running in a default Dreamhost VPS. Can anyone help me out? Bonus points if you’ve already installed reddit on a Dreamhost VPS and could give me a few pointers. Thanks!


#2

You can try, but it’ll be a real adventure.

First off, Reddit requires Python 2.6. This isn’t available at all in any released version of Debian Linux — it is available in Debian squeeze (experimental), but our local packages are not yet available for that release at all, so I cannot recommend attempting to upgrade to it. You can probably compile and install it in your home directory, though; see http://wiki.dreamhost.com/Python for details.

The other big requirement that isn’t normally available is a PostgreSQL server. You can, of course, just install one on your web PS, but if you do so it will not be managed like a MySQL PS is (in particular, we can’t guarantee the availability or viability of any backups).

Everything else looks like it’ll be either installed or easily installable with a PS admin account. Good luck.


#3

[quote=“andrewf, post:2, topic:52765”]
You can try, but it’ll be a real adventure.

First off, Reddit requires Python 2.6. This isn’t available at all in any released version of Debian Linux — it is available in Debian squeeze (experimental), but our local packages are not yet available for that release at all, so I cannot recommend attempting to upgrade to it. You can probably compile and install it in your home directory, though; see http://wiki.dreamhost.com/Python for details.[/quote]Well, it was installed by a programmer that I hired, although he had lots of difficulties as expected since the VPS is running Debian 4.0. It had generally worked ok, although with a bunch of strange errors that would always be solved by reloading the page, like memcached errors in Pylon, or random “internal server error” messages. I ended up breaking things by trying to upgrade memcached to 1.4.4.

Unfortunately, the newest version of Reddit is very poorly documented and apparently has lots of dependencies that don’t play well with this version of Debian, so he’s going to roll back to the previous version that we had running.