Difference between revisions of "Instalasi Elgg"

From OnnoWiki
Jump to navigation Jump to search
(New page: 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 li...)
 
 
(2 intermediate revisions 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/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 38: Line 41:
 
  exit
 
  exit
  
 +
Setup crontab
  
Install elgg
+
  cd /var/www/elgg
 
+
cp crontab.example crontab.mine
  cd /var/www/OpenPNE-3.1.2
+
  vi crontab.mine
  ./symfony openpne:install
+
    ELGG='http://www.example.com/'
 
 
mysql
 
openpne
 
openpne
 
localhost
 
[tekan enter]
 
openpne
 
[tekan enter]
 
y
 
 
 
  
  
Chown
+
Akses ke Web
  
  chown -Rf www-data.www-data /var/www/OpenPNE-3.1.2
+
  http://localhost/elgg
  
Akses Web ke
+
Database user                           elgg
 +
Database password                   elgg
 +
Elgg database                           elgg
 +
Database hostname (usually 'localhost')  localhost
 +
Database table prefix (usually 'elgg')   elgg_
  
http://localhost/OpenPNE-3.1.2
 
  
 +
isikan
  
 +
  Nama Situs
 +
  /var/www/elggdata
  
  

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