Elgg

From SME Server
Jump to navigationJump to search
Warning.png Work in Progress:
This page is a Work in Progress. The contents off this page may be in flux, please have a look at this page history the to see list of changes.


PythonIcon.png Skill level: Medium
The instructions on this page require a basic knowledge of linux.


About

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

Installation

Get the latest version of Elgg

Download the latest 1.8.x version from elgg.org

Create an Ibay

  • Create an ibay named 'elgg' with the following typical settings:
Information bay name -> elgg
Description -> elgg site
Group -> Admin
User access -> Write = group, Read = everyone
Public access via web -> Entire Internet (no password required)
Execution of dynamic content -> Enabled

Ibay PHP settings

Elgg requires some specific PHP settings. As root, issue the following commands:

db accounts setprop elgg PHPBaseDir /home/e-smith/files/ibays/elgg/:/tmp/
db accounts setprop elgg AllowOverride All
signal-event ibay-modify elgg


Create MySQL database

Elgg requires a database. As root, issue the following commands:

mysql
create database elgg;
grant all privileges on elgg.* to elgguser identified by 'mysecretpassword';
flush privileges;
exit

Unzip Elgg in the Elgg Ibay

TBA

chown html root:www
cd html
chown -R www:www *

Edit .htaccess

Replace

#RewriteBase /

with

RewriteBase /elgg

Finalize installation

Go to your Elgg Ibay:

http://YOURSERVER/elgg

and follow the instructions using the credentials you used above