SchoolOnffLine: Replikasi Database dan Image SpeedyWiki

From OnnoWiki
Revision as of 09:50, 16 July 2009 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

Ambil Image dan isi database SpeedyWiki dari http://opensource.telkomspeedy.com/speedyorari/ di folder datawiki

Buka dan extract seluruh data

# cd /usr/local/src
# tar zxvf images.tar.gz
# gunzip wikidb.sql.gz


Copy Image ke folder image di MediaWiki

# cd /usr/local/src
# cp -Rf /usr/local/src/var/www/html/wiki/images /var/www/wiki/
# chown -Rf www-data.www-data /var/www/wiki
# rm -Rf /usr/local/src/var

Masukan isi database Wiki dari SpeedyWiki ke MySQL

# mysql -u mediawiki -pmediawiki mediawiki < /usr/local/src/wikidb.sql


Restart Database MySQL

# /etc/init.d/mysql restart


Ubah Struktur Database untuk MediaWiki 1.11 ke atas

# cd /var/www/wiki/
# cp AdminSettings.sample AdminSettings.php
# vi AdminSettings.php

Pastikan ada isi

   $wgDBadminuser      = 'mediawiki';
   $wgDBadminpassword  = 'mediawiki';

lakukan ...

# cd /var/www/wiki/maintenance
# php update.php


Wiki Siap Digunakan

Silahkan akses ke situs Wiki Lokal anda di

 http://192.168.0.254/wiki/


Pranala Menarik