Difference between revisions of "Instalasi Elgg"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (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...) |
Onnowpurbo (talk | contribs) |
||
(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 | + | cp elgg20090819.zip /var/www/ |
cd /var/www | cd /var/www | ||
− | unzip | + | unzip elgg20090819.zip |
− | cd | + | 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 | ||
− | + | cd /var/www/elgg | |
− | + | cp crontab.example crontab.mine | |
− | cd /var/www/ | + | 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 | ||
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