SMEOnffLine: Replikasi Database dan Image SpeedyWiki versi cepat

From OnnoWiki
Jump to navigation Jump to search
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
cd /var/www/wiki/
cp AdminSettings.sample AdminSettings.php
vi AdminSettings.php
   $wgDBadminuser      = 'mediawiki';
   $wgDBadminpassword  = 'mediawiki';
cd /var/www/wiki/maintenance
php update.php
/etc/init.d/mysql restart

Edit

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

Supaya sama dengan

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

Pranala Menarik