Difference between revisions of "Elgg: Instalasi"

From OnnoWiki
Jump to navigation Jump to search
Line 62: Line 62:
  
  
==WARNING==
+
==ERROR==
  
    We think your server is running the Apache web server.
+
Jika keluar
  
    The rewrite test failed and the most likely cause is that AllowOverride is not set to All for Elgg's directory. This prevents Apache from processing the .htaccess file which contains the rewrite rules.
+
The rewrite test failed and the most likely cause is that AllowOverride
 +
is not set to All for Elgg's directory. This prevents Apache from processing
 +
the .htaccess file which contains the rewrite rules.
  
    A less likely cause is Apache is configured with an alias for your Elgg directory and you need to set the RewriteBase in your .htaccess. There are further instructions in the .htaccess file in your Elgg directory.
+
A less likely cause is Apache is configured with an alias for your Elgg
 +
directory and you need to set the RewriteBase in your .htaccess.
 +
There are further instructions in the .htaccess file in your Elgg directory.
 +
 
 +
Kita harus memperbaiki
  
 
==Pranala Menarik==
 
==Pranala Menarik==

Revision as of 10:30, 26 March 2012

Enable mod_rewrite di apache

sudo a2enmod rewrite

Alternatif lain

vi /etc/apache2/sites-enabled/000-default
DocumentRoot /var/www
<Directory />
     Options FollowSymLinks
     AllowOverride all
</Directory>
<Directory /var/www/>
     Options Indexes FollowSymLinks MultiViews
     AllowOverride all
     Order allow,deny
     allow from all
</Directory>

Restart Apache

/etc/init.d/apache2 restart

Download dari

http://www.elgg.org/download.php

Instalasi aplikasi pendukung

apt-get install apache2 mysql-server libmysqlclient15-dev libphp-adodb \
libgd2-xpm libgd2-xpm-dev php5-mysql php5-gd php5-curl php-pear \
unzip mysql-doc-5.0

Siapkan database

# mysql -u root -p123456
create database elgg;
grant INSERT,SELECT on root.* to elgg@localhost;
grant CREATE, INSERT, SELECT, DELETE, UPDATE on elgg.* to elgg@localhost identified by 'elgg';
grant CREATE, INSERT, SELECT, DELETE, UPDATE on elgg.* to elgg identified by 'elgg';
exit

lakukan copy & extract

scp elgg-1.8.3.zip onno@192.168.0.63:
ssh onno@192.168.0.63
sudo su
cp elgg-1.8.3.zip /var/www/
cd /var/www/
unzip elgg-1.8.3.zip
mv /var/www/elgg-1.8.3 /var/www/elgg
mkdir /var/www/data
chown -Rf www-data.www-data /var/www

Web ke

http://192.168.0.63/elgg/install.php


ERROR

Jika keluar

The rewrite test failed and the most likely cause is that AllowOverride
is not set to All for Elgg's directory. This prevents Apache from processing
the .htaccess file which contains the rewrite rules.
A less likely cause is Apache is configured with an alias for your Elgg
directory and you need to set the RewriteBase in your .htaccess.
There are further instructions in the .htaccess file in your Elgg directory.

Kita harus memperbaiki

Pranala Menarik