Instalasi Elgg

From OnnoWiki
Revision as of 12:07, 5 November 2009 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

Siapkan software pendukung

# apt-get install libsyncml0 libsyncml-dev libsyncml-utils \
opensync-plugin-syncml php-pear php5-gd php5-imap php5-odbc \
php5-pgsql apache2 mysql-server libmysqlclient15-dev libphp-adodb \
libgd2-xpm libgd2-xpm-dev php5-mysql php5-gd php5-curl php-pear \
php5-xmlrpc libnet-ssleay-perl

Ambil souce code elgg di

http://elgg.org/downloads.php

Install elgg

cp elgg1.6.1.zip /var/www/
cd /var/www
unzip elgg1.6.1.zip
cd elgg1.6.1
mkdir /var/www/elggdata
chmod -Rf 777 /var/www/elggdata
chown -Rf www-data.www-data /var/www/elggdata
chown -Rf www-data.www-data /var/www/elgg1.6.1

Buat database elgg pada MySQL, siapkan user database untuk mengakses database elgg melalui perintah

# mysql -u root -p
Enter password: (isi password root untuk MySQL)
mysql> create database elggdb;
mysql> grant ALL on elggdb.* to elgg@localhost identified by 'elggpass';
mysql> grant ALL on elggdb.* to elgg identified by 'elggpass';
mysql> exit

Bagi mereka yang sedang experimen / mencoba dapat menggunakan yang lebih sederhana

# mysql -u root -p
Enter password: (isi password root untuk MySQL)
create database elgg;
grant ALL on elgg.* to elgg@localhost identified by 'elgg';
grant ALL on elgg.* to elgg identified by 'elgg';
exit

Setup crontab

cd /var/www/elgg1.6.1
cp crontab.example crontab.mine
vi crontab.mine
   ELGG='http://www.example.com/'


Akses ke Web

http://localhost/elgg1.6.1
Database user	                           elgg
Database password	                   elgg
Elgg database	                           elgg
Database hostname (usually 'localhost')   localhost
Database table prefix (usually 'elgg')	   elgg_


isikan

 Nama Situs
 /var/www/elggdata



Pranala Menarik