Difference between revisions of "USB OFFLINE: Ubuntu 22.04 Install KIWIX"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 1: | Line 1: | ||
==Install== | ==Install== | ||
− | sudo | + | sudo su |
− | + | apt -y install kiwix-tools | |
− | |||
− | |||
==Download zim backup wikipedia dan wikitionary== | ==Download zim backup wikipedia dan wikitionary== | ||
sudo | sudo | ||
− | cd /usr/local/src/kiwix | + | mkdir -p /usr/local/src/kiwix |
− | wget https://download.kiwix.org/zim/wikipedia/ | + | cd /usr/local/src/kiwix |
− | wget https://download.kiwix.org/zim/wikipedia/ | + | wget https://download.kiwix.org/zim/wikipedia/wikipedia_id_all_nopic_2022-12.zim |
+ | wget https://download.kiwix.org/zim/wikipedia/wikipedia_id_top_maxi_2023-06.zim | ||
==Run== | ==Run== | ||
sudo | sudo | ||
− | cd /usr/local/src/kiwix | + | cd /usr/local/src/kiwix |
− | + | /usr/bin/kiwix-serve --port=8080 wikipedia_id_all_nopic_2022-12.zim & | |
− | + | /usr/bin/kiwix-serve --port=8081 wikipedia_id_top_maxi_2023-06.zim & | |
atau | atau | ||
sudo | sudo | ||
− | /usr/ | + | /usr/bin/kiwix-serve --port=8080 /usr/local/src/kiwix/wikipedia_id_all_nopic_2022-12.zim & |
− | /usr/ | + | /usr/bin/kiwix-serve --port=8081 /usr/local/src/kiwix/wikipedia_id_top_maxi_2023-06.zim & |
Line 33: | Line 32: | ||
Contoh: | Contoh: | ||
− | /usr/ | + | /usr/bin/kiwix-serve --port=8080 /usr/local/src/kiwix/wikipedia_id_all_nopic_2022-12.zim & |
− | /usr/ | + | /usr/bin/kiwix-serve --port=8081 /usr/local/src/kiwix/wikipedia_id_top_maxi_2023-06.zim & |
Contoh: | Contoh: | ||
− | /usr/ | + | /usr/bin/kiwix-serve --port=8080 /usr/local/src/kiwix/wikipedia_en_computer_maxi_2022-08.zim & |
− | /usr/ | + | /usr/bin/kiwix-serve --port=8082 /usr/local/src/kiwix/wikipedia_id_all_maxi_2022-05.zim & |
− | + | /usr/bin/kiwix-serve --port=8083 /usr/local/src/kiwix/wikipedia_id_top_maxi_2022-07.zim & | |
− | /usr/ | + | /usr/bin/kiwix-serve --port=8084 /usr/local/src/kiwix/wikipedia_id_all_nopic_2022-05.zim & |
− | /usr/ | + | /usr/bin/kiwix-serve --port=8085 /usr/local/src/kiwix/wikipedia_id_top_mini_2022-09.zim & |
− | /usr/ | + | /usr/bin/kiwix-serve --port=8086 /usr/local/src/kiwix/wiktionary_id_all_maxi_2021-08.zim & |
− | /usr/ | ||
==Pranala Menarik== | ==Pranala Menarik== | ||
* [[Kiwix]] | * [[Kiwix]] |
Revision as of 05:32, 18 June 2023
Install
sudo su apt -y install kiwix-tools
Download zim backup wikipedia dan wikitionary
sudo mkdir -p /usr/local/src/kiwix cd /usr/local/src/kiwix wget https://download.kiwix.org/zim/wikipedia/wikipedia_id_all_nopic_2022-12.zim wget https://download.kiwix.org/zim/wikipedia/wikipedia_id_top_maxi_2023-06.zim
Run
sudo cd /usr/local/src/kiwix /usr/bin/kiwix-serve --port=8080 wikipedia_id_all_nopic_2022-12.zim & /usr/bin/kiwix-serve --port=8081 wikipedia_id_top_maxi_2023-06.zim &
atau
sudo /usr/bin/kiwix-serve --port=8080 /usr/local/src/kiwix/wikipedia_id_all_nopic_2022-12.zim & /usr/bin/kiwix-serve --port=8081 /usr/local/src/kiwix/wikipedia_id_top_maxi_2023-06.zim &
Script start-kiwix.sh
vi /home/offline/start-kiwix.sh
Contoh:
/usr/bin/kiwix-serve --port=8080 /usr/local/src/kiwix/wikipedia_id_all_nopic_2022-12.zim & /usr/bin/kiwix-serve --port=8081 /usr/local/src/kiwix/wikipedia_id_top_maxi_2023-06.zim &
Contoh:
/usr/bin/kiwix-serve --port=8080 /usr/local/src/kiwix/wikipedia_en_computer_maxi_2022-08.zim & /usr/bin/kiwix-serve --port=8082 /usr/local/src/kiwix/wikipedia_id_all_maxi_2022-05.zim & /usr/bin/kiwix-serve --port=8083 /usr/local/src/kiwix/wikipedia_id_top_maxi_2022-07.zim & /usr/bin/kiwix-serve --port=8084 /usr/local/src/kiwix/wikipedia_id_all_nopic_2022-05.zim & /usr/bin/kiwix-serve --port=8085 /usr/local/src/kiwix/wikipedia_id_top_mini_2022-09.zim & /usr/bin/kiwix-serve --port=8086 /usr/local/src/kiwix/wiktionary_id_all_maxi_2021-08.zim &