Slicehost: Difference between revisions

From EggeWiki
mNo edit summary
mNo edit summary
Line 49: Line 49:
     }
     }
</geshi>
</geshi>
== Munin ==
I've had my server run out of memory a few times since setting up mail services.  I've installed [[https://www.theeggeadventure.com/munin/localdomain/localhost.localdomain.html Munin]] to help monitor server performance.

Revision as of 19:08, 10 March 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.

Features which I've setup
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:

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>

Munin

I've had my server run out of memory a few times since setting up mail services. I've installed [Munin] to help monitor server performance.