Difference between revisions of "Kiwix: Install Ubuntu 20.04"

From OnnoWiki
Jump to navigation Jump to search
(Created page with "==Install== cd /usr/local/src wget http://download.kiwix.org/bin/0.10/kiwix-0.10-linux-x86_64.tar.bz2 tar xvjf kiwix-0.10-linux-x86_64.tar.bz2 cd /usr/local/src/kiwix-0.1...")
 
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==Install==
 
==Install==
  
 +
sudo
 
  cd /usr/local/src
 
  cd /usr/local/src
  wget http://download.kiwix.org/bin/0.10/kiwix-0.10-linux-x86_64.tar.bz2
+
  wget https://download.kiwix.org/release/kiwix-tools/kiwix-tools_linux-x86_64-3.1.2-5.tar.gz
  tar xvjf kiwix-0.10-linux-x86_64.tar.bz2
+
  tar zxvf kiwix-tools_linux-x86_64-3.1.2-5.tar.gz
cd /usr/local/src/kiwix-0.10-x86_84/bin
 
  
 +
==Download zim backup wikipedia dan wikitionary==
  
==Compile (NOT RECOMMENDED)==
+
sudo
 +
cd /usr/local/src/kiwix-tools_linux-x86_64-3.1.2-5/
 +
wget https://download.kiwix.org/zim/wikipedia/wikipedia_id_top_maxi_2021-11.zim
 +
wget https://download.kiwix.org/zim/wiktionary/wiktionary_id_all_maxi_2021-08.zim
  
Susah kayanya ...
+
==Run==
 +
sudo
 +
cd /usr/local/src/kiwix-tools_linux-x86_64-3.1.2-5/
 +
./kiwix-serve --port=8080 wikipedia_id_top_maxi_2021-11.zim &
 +
./kiwix-serve --port=8081 wiktionary_id_all_maxi_2021-08.zim &
 +
 
 +
atau
  
  sudo su
+
  sudo
  apt update
+
  /usr/local/src/kiwix-tools_linux-x86_64-3.1.2-5/kiwix-serve --port=8080 /usr/local/src/kiwix-tools_linux-x86_64-3.1.2-5/wikipedia_id_top_maxi_2021-11.zim &
  apt -y install python3
+
  /usr/local/src/kiwix-tools_linux-x86_64-3.1.2-5/kiwix-serve --port=8081 /usr/local/src/kiwix-tools_linux-x86_64-3.1.2-5/wiktionary_id_all_maxi_2021-08.zim &
apt -y install libssl-dev build-essential curl unzip
 
apt -y install python3-pip virtualenv
 
  
 
cd /usr/local/src
 
wget https://github.com/mattrude/wikix/archive/master.zip
 
unzip master.zip
 
cd wikix-master/
 
make
 
  
==apt install?(NOT RECOMMENDED)==
 
  
Tampaknya kiwix tidak ada di repo ubuntu, karena xulrunner tidak ada
 
  
sudo add-apt-repository ppa:kiwixteam/ppa
 
sudo apt update
 
sudo apt install kiwix
 
  
==Run==
 
  
cd /usr/local/src/kiwix-0.10-x86_84/bin
 
./kiwix-serve --port=8080 wikipedia_id_all_novid_2018-07.zim &
 
./kiwix-serve --port=8081 wiktionary_id_all_novid_2018-07.zim &
 
  
 
==Pranala Menarik==
 
==Pranala Menarik==
  
 
* [[Kiwix]]
 
* [[Kiwix]]

Latest revision as of 08:48, 23 November 2021

Install

sudo
cd /usr/local/src
wget https://download.kiwix.org/release/kiwix-tools/kiwix-tools_linux-x86_64-3.1.2-5.tar.gz
tar zxvf kiwix-tools_linux-x86_64-3.1.2-5.tar.gz 

Download zim backup wikipedia dan wikitionary

sudo
cd /usr/local/src/kiwix-tools_linux-x86_64-3.1.2-5/
wget https://download.kiwix.org/zim/wikipedia/wikipedia_id_top_maxi_2021-11.zim
wget https://download.kiwix.org/zim/wiktionary/wiktionary_id_all_maxi_2021-08.zim

Run

sudo 
cd /usr/local/src/kiwix-tools_linux-x86_64-3.1.2-5/
./kiwix-serve --port=8080 wikipedia_id_top_maxi_2021-11.zim &
./kiwix-serve --port=8081 wiktionary_id_all_maxi_2021-08.zim &

atau

sudo
/usr/local/src/kiwix-tools_linux-x86_64-3.1.2-5/kiwix-serve --port=8080 /usr/local/src/kiwix-tools_linux-x86_64-3.1.2-5/wikipedia_id_top_maxi_2021-11.zim &
/usr/local/src/kiwix-tools_linux-x86_64-3.1.2-5/kiwix-serve --port=8081 /usr/local/src/kiwix-tools_linux-x86_64-3.1.2-5/wiktionary_id_all_maxi_2021-08.zim &




Pranala Menarik