Difference between revisions of "SchoolOnffLine: Replikasi Database dan Image SpeedyWiki"

From OnnoWiki
Jump to navigation Jump to search
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
Ambil Image dan isi database [http://opensource.telkomspeedy.com/wiki SpeedyWiki]
+
Ambil data dari
dari http://opensource.telkomspeedy.com/speedyorari/ di folder datawiki
 
  
Buka dan extract seluruh data
+
http://125.160.17.21/speedyorari/index.php?dir=datawiki
  
# cd /usr/local/src
+
letakan di
# tar zxvf images.tar.gz
 
# gunzip wikidb.sql.gz
 
  
 +
/var/data/library/datawiki
  
Copy Image ke folder image di MediaWiki
+
Jalankan script
  
  # cd /usr/local/src
+
  /usr/local/bin/updatewikidb.sh
# 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
+
==Siapkan Wiki==
  
 
+
Akses ke situs Wiki Lokal anda di
Restart Database MySQL
 
 
 
# /etc/init.d/mysql restart
 
 
 
Buang source file yang tidak perlu
 
 
 
# rm images.tar.gz
 
# rm 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 ...
 
 
 
# cd /var/www/wiki/maintenance
 
# php update.php
 
 
 
 
 
Restart Database MySQL
 
 
 
# /etc/init.d/mysql restart
 
 
 
 
 
 
 
==Wiki Siap Digunakan==
 
 
 
Silahkan akses ke situs Wiki Lokal anda di
 
  
 
   http://192.168.0.254/wiki/
 
   http://192.168.0.254/wiki/
 
 
  
 
==Pranala Menarik==
 
==Pranala Menarik==
Line 66: Line 23:
 
* [[SchoolOnffLine: Server Berbasis Sabily 9.04]]
 
* [[SchoolOnffLine: Server Berbasis Sabily 9.04]]
 
* [[SchoolOnffLine: Server Berbasis Ubuntu 9.04]]
 
* [[SchoolOnffLine: Server Berbasis Ubuntu 9.04]]
 +
* [[SchoolOnffLine: Server Berbasis Ubuntu]]
 +
* [[SchoolOnffLine: Server Berbasis Ubuntu 9.04 Alternate]]
 +
* [[SchoolOnffLine: Server Berbasis Ubuntu 9.04 Server]]
 
* [[SchoolOnffLine: Server Wikipedia for School]]
 
* [[SchoolOnffLine: Server Wikipedia for School]]
 
* [[Remastering Ubuntu]]
 
* [[Remastering Ubuntu]]
 +
 +
[[Category: Linux]]
 +
[[Category: Distro Linux]]
 +
[[Category: SchoolOnffLine]]

Latest revision as of 14:41, 14 August 2011