Kiwix: Download & Instal

From OnnoWiki
Revision as of 12:59, 17 December 2018 by Onnowpurbo (talk | contribs) (→‎Jalankan)
Jump to navigation Jump to search

Download

Download file

sudo su
cd /usr/local/src/
wget http://download.kiwix.org/bin/kiwix-server-arm.tar.bz2

Download zim file

https://download.kiwix.org/zim/wikipedia/
https://download.kiwix.org/zim/wikipedia/wikipedia_id_all_nopic_2018-07.zim
https://download.kiwix.org/zim/wikipedia/wikipedia_id_all_novid_2018-07.zim

Install

cd /usr/local/src
tar xvfj kiwix-server-arm.tar.bz2
mv kiwix* /usr/local/bin

atau

cp kiwix-server-0.9-linux-armv5tejl.tar.bz2 /usr/local/src
tar xvfj kiwix-server-0.9-linux-armv5tejl.tar.bz2 


Copy source wikipedia

cp wikipedia_id_all_nopic_2018-07.zim /usr/local/src
cp wikipedia_id_all_novid_2018-07.zim /usr/local/src

Jalankan

cd /usr/local/bin/
./kiwix-serve --port=8080 /usr/local/bin/wikipedia_id_all_novid_2018-07.zim &
./kiwix-serve --port=8081 /usr/local/bin/wiktionary_id_all_novid_2018-07.zim &


Script kiwixi-on.sh

echo 123456 | sudo -S killall kiwix-serve
echo 123456 | sudo -S killall kiwix-serve
echo 123456 | sudo -S killall kiwix-serve
echo 123456 | sudo -S killall kiwix-serve
cd /usr/local/src/kiwix-0.10-x86_84/bin/
/usr/local/bin/kiwix-serve --port=8080 /usr/local/bin/wikipedia_id_all_novid_2018-07.zim &
/usr/local/bin/kiwix-serve --port=8081 /usr/local//bin/wiktionary_id_all_novid_2018-07.zim &

Script kiwix-off.sh

echo 123456 | sudo -S killall kiwix-serve
echo 123456 | sudo -S killall kiwix-serve
echo 123456 | sudo -S killall kiwix-serve
echo 123456 | sudo -S killall kiwix-serve

Client

Akses melalui alamat

http://192.168.0.2:8080/wikipedia_id_all_novid_2018-07/A/Onno_W._Purbo.html

Pranala Menarik