Join our Discussion Boards - Here

How To Install Elgg 1.5 on Centos 5.2

You will need to update the repositories so you can get php 5.2

vi /etc/yum.repos.d/utterrambling.repo

Add

[utterramblings]

name=Jason’s Utter Ramblings Repo

baseurl=http://www.jasonlitka.com/media/EL5/i386/

enabled=1

gpgcheck=1

gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka

Change the baseurl to http://www.jasonlitka.com/media/EL5/x86_64 if 64 bit.

Install the necessary packages

yum install mysql-server httpd php php-mbstring gd php-gd php-mysql

Get Elgg

wget http://elgg.org/getelgg.php?forward=elgg1.5.tar.gz

untar it

tar xvfz . . . → Read More: How To Install Elgg 1.5 on Centos 5.2

How to Install ELGG on a Centos 5.2 Server

Intention

My intention is not to install a secure elgg server, i just want to get it up and running quickly so I can test it.

Install necessary packages by Yum

yum install httpd, php, php-mysql, mysql-server

Download Full Elgg packages

wget http://elgg.org/getelgg.php?forward=elgg1.1.zip

Unzip and move Elgg to /var/www/html

unzip elgg1.1.zip

mv elgg1.1/* . . . → Read More: How to Install ELGG on a Centos 5.2 Server

How to Install the Ldap plugin for Elgg with Active Directory

wget http://elgg.org/getplugin.php?forward=ldap_auth.zip

unzip ldap_auth.zip

cd ldap_auth

cp ldap_auth to /var/www/html/mod/

chown apache.apache /var/www/html/mod/ldap_auth

Goto Tool Administration in Elgg and Enable the plugin

If you get – “ldap_auth is a misconfigured plugin.” error then you probably have /var/www/html/mod/ldap_auth/ldap_auth, you should have /var/www/html/mod/ldap_auth, fix this by removing the extra level of directory folders.