Difference between revisions of "SMEOnffLine: Replikasi Database dan Image SpeedyWiki"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (New page: Ambil Image dan isi database [http://opensource.telkomspeedy.com/wiki SpeedyWiki] dari http://opensource.telkomspeedy.com/speedyorari/ di folder datawiki Buka dan extract seluruh data, me...) |
Onnowpurbo (talk | contribs) |
||
Line 68: | Line 68: | ||
==Pranala Menarik== | ==Pranala Menarik== | ||
− | * [[SMEOnffLine: Server Berbasis Sabily | + | * [[SMEOnffLine: Server Berbasis Sabily]] |
− | * [[SMEOnffLine: Server Berbasis Ubuntu | + | * [[SMEOnffLine: Server Berbasis Ubuntu]] |
Revision as of 16:29, 12 November 2009
Ambil Image dan isi database SpeedyWiki dari http://opensource.telkomspeedy.com/speedyorari/ di folder datawiki
Buka dan extract seluruh data, melalui shell
cd /usr/local/src tar zxvf images.tar.gz gunzip wikidb.sql.gz
Copy Image ke folder image di MediaWiki, melalui shell
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, melalui shell
mysql -u mediawiki -pmediawiki mediawiki < /usr/local/src/wikidb.sql
Restart Database MySQL & buang file yang tidak di perlukan, melalui shell
/etc/init.d/mysql restart
rm /usr/local/src/images.tar.gz rm /usr/local/src/wikidb.sql
Penyesuaian 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 dari shell perintah berikuta
cd /var/www/wiki/maintenance php update.php
# /etc/init.d/mysql restart
Siapkan Wiki
Akses ke situs Wiki Lokal anda di
http://192.168.0.254/wiki/
Buat Halaman Utama
http://192.168.0.254/wiki/index.php/Halaman_Utama
Copy isi Main Page ke Halaman Utama
http://192.168.0.254/wiki/index.php/Main_Page
Klik Simpan Halaman