Slicehost: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 27: | Line 27: | ||
== awstats == | === awstats === | ||
I had to create a couple of tiny scripts. The first to process my historical log files, and the second to run all configs by cron. | I had to create a couple of tiny scripts. The first to process my historical log files, and the second to run all configs by cron. | ||
Line 34: | Line 34: | ||
<geshi lang="bash" source="file">../../bin/runstats.sh</geshi> | <geshi lang="bash" source="file">../../bin/runstats.sh</geshi> | ||
=== Gallery2 === | |||
I enabled the rss module, which seemed to work, but I started getting all sorts of 500 errors from Google. | |||
Example: | |||
* http://www.theeggeadventure.com/gallery/srss/12392 = 500 Not permitted to view comments for this item | |||
To fix this, I edited '''gallery/modules/rss/classes/RssGenerator.class''' and disabled the check for comments. | |||
<geshi lang="php> | |||
if (false || isset($item['comments'])) { | |||
$data .= ' <comments>' . GalleryUtilities::markup($item['comments']) . | |||
'</comments>' . $lf; | |||
} | |||
</geshi> |
Revision as of 12:17, 27 February 2008
I've finally moved off from my shared hosting provider to a VPS. I'm using Slicehost and couldn't be happier. I'm paying $20 a month for VPS with 256MB and 10GB of storage. I do miss some of what cPanel had to offer, but I'm learning how to do the same sorts of things as what cPanel does for you.
Feature | Shared | Ubuntu VPS ! |
---|---|---|
Apache2 / Php | Yes, but only a very restrictive Php was allowed to run | Latest Apache, full Php |
MySQL | Yes - limited to 20 databases | Had to modify MySQL to run with less memory |
Awstats | Works well | http://www.theeggeadventure.com/awstats/awstats.pl it took a bit to get setup, but it's working now. I had to install cronlog, as well as schedule the update to run |
mailman | installed | It'll be quite a bit of work to get mailman installed for just a couple of mailing lists |
an MTA | worked, but not configurable | installed postfix, courier-imap-ssl, saslauth - a real pain, but I have what I want. IMAP with SSL only, courier with SPF check |
awstats
I had to create a couple of tiny scripts. The first to process my historical log files, and the second to run all configs by cron.
<geshi lang="bash" source="file">../../logs/rerun.sh</geshi>
<geshi lang="bash" source="file">../../bin/runstats.sh</geshi>
Gallery2
I enabled the rss module, which seemed to work, but I started getting all sorts of 500 errors from Google.
Example:
- http://www.theeggeadventure.com/gallery/srss/12392 = 500 Not permitted to view comments for this item
To fix this, I edited gallery/modules/rss/classes/RssGenerator.class and disabled the check for comments. <geshi lang="php>
if (false || isset($item['comments'])) { $data .= ' <comments>' . GalleryUtilities::markup($item['comments']) . '</comments>' . $lf; }
</geshi>