Script Re-Install SpeedyWiki di Ubuntu 16.04
Revision as of 18:42, 13 June 2017 by Onnowpurbo (talk | contribs)
Asumsi
username root password 123456 database mediawiki Lokasi file images.tar.gz dan wikidb.sql.tar.gz di /usr/local/src
Buat Script misalnya
vi /usr/local/bin/reinstall-wiki.sh
isi dengan
rm -Rf /usr/local/src/var rm -Rf /usr/local/src/wikidb* cp -Rf /var/data/library/datawiki/* /usr/local/src cd /usr/local/src tar zxvf images.tar.gz tar zxvf wikidb.sql.tar.gz cp -Rf /usr/local/src/var/www/html/wiki/images /var/www/html/wiki/ & chown -Rf www-data.www-data /var/www/html/wiki & service mysql stop service mysql start /usr/bin/mysqladmin --user=root --password=123456 --force drop mediawiki /usr/bin/mysqladmin --user=root --password=123456 create mediawiki /usr/bin/mysql -u root -p123456 mediawiki < /var/www/html/wiki/maintenance/tables.sql /usr/bin/mysql -u root -p123456 mediawiki < /usr/local/src/var/www/html/pustaka/datawiki/wikidb.sql service mysql stop service mysql start cd /var/www/html/wiki/maintenance /usr/bin/php update.php service mysql stop service mysql start chown -Rf nobody.nogroup /var/data & chmod -Rf 777 /var/data &
Ijinkan untuk di jalankan
chmod -Rf 777 /usr/local/bin/reinstall-wiki.sh
Jalankan script
/usr/local/bin/reinstall-wiki.sh
Pastikan ke dua (2) halaman muka ini sama ..
http://localhost/wiki/index.php/Halaman_Utama http://localhost/wiki/index.php/Main_Page
Referensi
Pranala Menarik
- Mediawiki
- Instalasi MediaWiki
- Melihat Aktifitas dan Statistik Mediawiki
- Dumping Seluruh Database MediaWiki
- Replikasi Database dan Image MediaWiki
- Membuka Fasilitas Upload di MediaWiki
- Mengaktifkan Math di MediaWiki
- Mengubah Logo di MediaWiki
- Proteksi agar hanya registered member yang dapat menulis
- Proteksi Spammer Menggunakan reCAPTHCA
- MediaWiki - Proteksi Spammer Menggunakan ConfirmEdit
- MediaWiki - Proteksi Spammer Menggunakan wgSpamRegex
- Script Re-Install SpeedyWiki *PENTING*
- Script Re-Install SpeedyWiki di Ubuntu 10.04 *PENTING*
- Update SpeedyWiki lokal secara automatis
- Update database SpeedyWiki lokal secara automatis tanpa update Image
- Instalasi MediaWiki Cara menginstalasi MediaWiki
- Mediawiki Mereset Isi Database Mediawiki
- Mediawiki ganti IP address server
- Linux Howto