KnowledgeTree speed on VPSes

KnowledgeTree speed on VPSes

I was trying out KnowledgeTree 3.7.0.2 (Community Edition) on 3 different virtual private servers just to see how they fare  with “heavy” websites, and here’s how they perform generating a page of 20 items. All VPSes are 512MB instances running on Ubuntu 10.04 LTS . APC Hosting (Virtuozzo) Request created in 17.190s Rackspace Cloud Server (Xen) Request created in 0.446s Club Uptime (OpenVZ) Request created in 0.299s The most ironic thing is that the above VPSes are listed in order of most expensive to least expensive. It seems here we do not get the best performance from the most  expensive service? In fact it performs much worse than the other two! At this point, the Rackspace offering is the most attractive with its built-in manual and...

Read More

Debian Lenny to Squeeze upgrade

Debian Lenny to Squeeze upgrade

Debian 6 i.e. “Squeeze” was released almost a month ago. Although there are still about 11 months more before Debian 5 “Lenny” is no longer supported, I figured I would upgrade one Debian Lenny Xen-based VPS hosted on a Rackspace Cloud,  currently functioning as an OpenLDAP server, as a weekend project. The upgrade steps were straightforward: 1. Edit /etc/apt/sources.list and change all instances of lenny to squeeze. 2. Run the following commands in succession in terminal sudo apt-get update sudo apt-get install apt dpkg aptitude sudo apt-get dist-upgrade Surprisingly enough the upgrade went well with Apache and even OpenLDAP migrated successfully. Just the following issues related to phpldapadmin were encountered: 1. The upgraded...

Read More

Backing up your Debian/Ubuntu VPS to Rackspace Cloud Files

Backing up your Debian/Ubuntu VPS to Rackspace Cloud Files

There are quite a number of tutorials available on backing up to Amazon S3, which is popular due to its redundancy and low cost (15cents per gigabyte). I prefer Rackspace Cloud Files though due to its lower upload fees (8cents vs 10cents per gigabyte of bandwidth).  We will use duplicity to create the backups because it is bandwidth efficient and also allows us to encrypt our backups. We will also be setting up the cloudcity script to make it easier to automate the backup and restore process. First set up build essential so that you can do necessary compiling later. apt-get install build-essential Install duplicity Debian Lenny and Ubuntu < 10.04 come with older versions of Duplicity. We need to add additional repositories to install a newer version of...

Read More