Difference between revisions of "Elgg"

From SME Server
Jump to navigationJump to search
m (Added some stuff, still a WIP)
Line 33: Line 33:
 
  flush privileges;
 
  flush privileges;
 
  exit
 
  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

Revision as of 05:19, 4 September 2014

!! WIP, not finished yet !!

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:

mysqlcreate 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