Elgg is an open source social networking engine which can be used to build all kinds of social environments. It is a PHP-based application and can easily be installed on a Linux VPS.
This install guide will help you install Elgg and it assumes that Apache, MySQL and PHP 5 are already installed and configured on one of our Linux virtual server hosting plans.