Difference between revisions of "Kiwix: Download & Instal"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 5: | Line 5: | ||
sudo su | sudo su | ||
cd /usr/local/src/ | cd /usr/local/src/ | ||
− | wget http://download.kiwix.org/bin/kiwix-server-arm.tar.bz2 | + | # wget http://download.kiwix.org/bin/kiwix-server-arm.tar.bz2 |
+ | wget https://download.kiwix.org/release/kiwix-tools/kiwix-tools_linux-armhf.tar.gz | ||
Download zim file | Download zim file |
Revision as of 07:47, 13 June 2020
Download
Download file
sudo su cd /usr/local/src/ # wget http://download.kiwix.org/bin/kiwix-server-arm.tar.bz2 wget https://download.kiwix.org/release/kiwix-tools/kiwix-tools_linux-armhf.tar.gz
Download zim file
https://download.kiwix.org/zim/wikipedia/ https://download.kiwix.org/zim/wikipedia//wikipedia_id_all_mini_2020-06.zim https://download.kiwix.org/zim/wikipedia//wikipedia_id_all_nopic_2020-06.zim
Install
cd /usr/local/src tar xvfj kiwix-server-arm.tar.bz2 mv kiwix* /usr/local/bin chmod -Rf 777 /usr/local/bin chown -Rf nobody: /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