Instalasi Elgg

From OnnoCenterWiki
Jump to: navigation, 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
http://elgg.org/download/nightly/

Install elgg

cp elgg20090819.zip /var/www/
cd /var/www
unzip elgg20090819.zip
cd elgg
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/elgg

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/elgg
cp crontab.example crontab.mine
vi crontab.mine
   ELGG='http://www.example.com/'


Akses ke Web

http://localhost/elgg
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