Difference between revisions of "Instalasi Elgg"

From OnnoWiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
  
 
  http://elgg.org/downloads.php
 
  http://elgg.org/downloads.php
 +
http://elgg.org/download/nightly/
  
 
Install elgg
 
Install elgg
  
  cp elgg1.6.1.zip /var/www/
+
  cp elgg20090819.zip /var/www/
 
  cd /var/www
 
  cd /var/www
  unzip elgg1.6.1.zip
+
  unzip elgg20090819.zip
  cd elgg1.6.1
+
  cd elgg
 
  mkdir /var/www/elggdata
 
  mkdir /var/www/elggdata
 
  chmod -Rf 777 /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/elggdata
  chown -Rf www-data.www-data /var/www/elgg1.6.1
+
  chown -Rf www-data.www-data /var/www/elgg
  
 
Buat [[database]] elgg pada [[MySQL]], siapkan user [[database]] untuk mengakses [[database]] elgg melalui perintah
 
Buat [[database]] elgg pada [[MySQL]], siapkan user [[database]] untuk mengakses [[database]] elgg melalui perintah
Line 42: Line 43:
 
Setup crontab
 
Setup crontab
  
  cd /var/www/elgg1.6.1
+
  cd /var/www/elgg
 
  cp crontab.example crontab.mine
 
  cp crontab.example crontab.mine
 
  vi crontab.mine
 
  vi crontab.mine
Line 50: Line 51:
 
Akses ke Web
 
Akses ke Web
  
  http://localhost/elgg1.6.1
+
  http://localhost/elgg
  
 
  Database user                           elgg
 
  Database user                           elgg

Latest revision as of 08:12, 6 November 2009

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