Install Elgg social network on Centos

Elgg is a social network web application that could e nice as intranet for companies.
Well Its a PHP application so its easy to install


First some yum packages

yum install mysql mysql-server httpd php php-mysql php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring wget unzip

Setup an apache config

<VirtualHost *:80>
 DocumentRoot /var/www/html/
ErrorLog /var/log/httpd/elgg.log
<Directory /var/www/html/elgg>
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all

Setup mysql

Create database elgg;
CREATE USER 'elgg_user'@'localhost' IDENTIFIED BY 'some_pass';
GRANT ALL PRIVILEGES ON *.* TO 'elgg_user'@'localhost';
flush privileges;

Download and install elgg

mv elgg-1.8.16 elgg
chown apache:apache -R elgg
chown 774 -R elgg

Time to surf in and setup your elgg


Then your done

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.