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

From OnnoWiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 34: Line 34:
 
Buat Halaman Utama
 
Buat Halaman Utama
  
  http://localhost/wiki/index.php/Halaman_Utama
+
  http://127.0.0.1/wiki/index.php/Halaman_Utama
  
 
Copy isi Main Page ke Halaman Utama
 
Copy isi Main Page ke Halaman Utama
  
  http://localhost/wiki/index.php/Main_Page
+
  http://127.0.0.1/wiki/index.php/Main_Page
  
 
Klik '''Simpan Halaman'''
 
Klik '''Simpan Halaman'''
Line 46: Line 46:
 
* [[Distro ORARINux]]
 
* [[Distro ORARINux]]
 
* [[ORARINux: Desktop Berbasis Ubuntu]]
 
* [[ORARINux: Desktop Berbasis Ubuntu]]
 +
* [[ORARINux: Desktop Berbasis Xubuntu]]

Latest revision as of 11:47, 14 December 2009

Copy & siapkan semua gambar & database Wiki

cd /usr/local/src
tar zxvf images.tar.gz
gunzip wikidb.sql.gz
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
mysql -u mediawiki -pmediawiki mediawiki < /usr/local/src/wikidb.sql
/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

Buat Halaman Utama

http://127.0.0.1/wiki/index.php/Halaman_Utama

Copy isi Main Page ke Halaman Utama

http://127.0.0.1/wiki/index.php/Main_Page

Klik Simpan Halaman

Pranala Menarik