8,236
edits
(Remove things about external index) |
|||
(9 intermediate revisions by 4 users not shown) | |||
Line 6: | Line 6: | ||
<translate><!--T:3--> | <translate><!--T:3--> | ||
'''Kiwix-serve is a ZIM compatible Web server.''' With | '''Kiwix-serve is a ZIM compatible Web server.''' With its help you can deliver ZIM file content over your network.</translate> | ||
<translate><!--T:4--> | <translate><!--T:4--> | ||
Based on the well known HTTP protocol, kiwix-serve allows you to share the [[Special:MyLanguage/Wikipedia_in_all_languages|ZIM files available]] on your computer easily with | Based on the well known HTTP protocol, kiwix-serve allows you to share the [[Special:MyLanguage/Wikipedia_in_all_languages|ZIM files available]] on your computer easily with others connected to your network. You simply need to start kiwix-serve and your content will be available for anybody through their own Web browser.</translate> | ||
<translate><!--T:5--> | <translate><!--T:5--> | ||
Line 30: | Line 30: | ||
Get it</translate> == | Get it</translate> == | ||
<translate><!--T:9--> | <translate><!--T:9--> | ||
On Microsoft Windows, Apple Mac | On Microsoft Windows, Apple Mac OS X and GNU/Linux, kiwix-serve is packaged and distributed with Kiwix. You simply need to [[Special:MyLanguage/Software|download the Kiwix installer corresponding to your Operating System]].</translate> | ||
<translate><!--T:10--> | <translate><!--T:10--> | ||
We | We newly provide kiwix-serve as part of the Kiwix tools and [https://download.kiwix.org/release/kiwix-tools/ pre-compiled binaries for many systems are available].</translate> | ||
<translate><!--T:11--> | <translate><!--T:11--> | ||
Line 46: | Line 46: | ||
Prerequisites: | Prerequisites: | ||
* kiwix-serve binary, available in the Kiwix application directory | * kiwix-serve binary, available in the Kiwix application directory | ||
* A ZIM file or a library file (you can use the library.xml file available in your Kiwix | * A ZIM file or a library file (you can use the library.xml file available in your Kiwix data directory).</translate> | ||
<translate><!--T:15--> | <translate><!--T:15--> | ||
Unix command line (just use kiwix-serve.exe on Microsoft Windows) example to start kiwix-serve with | Unix command line (just use kiwix-serve.exe on Microsoft Windows) example to start kiwix-serve with an XML library file: | ||
<source lang="bash"> | <source lang="bash"> | ||
kiwix-serve --library ~/.www.kiwix.org/kiwix/efrnsupg.default/library.xml | kiwix-serve --library ~/.www.kiwix.org/kiwix/efrnsupg.default/data/library/library.xml | ||
</source></translate> | </source></translate> | ||
Line 61: | Line 61: | ||
<translate><!--T:17--> | <translate><!--T:17--> | ||
Once kiwix-serve is started, anyone with access to this computer over the network, will be able to connect to it. You need to retrieve the IP (xxx.xxx.xxx.xxx) of your computer and remember the port (per default 80) you have used and then people will only have to type in their browser address bar: | |||
<source lang="bash"> | <source lang="bash"> | ||
http://xxx.xxx.xxx.xxx:80/ | http://xxx.xxx.xxx.xxx:80/ | ||
Line 71: | Line 71: | ||
Kiwix-serve provides a few options: | Kiwix-serve provides a few options: | ||
* --port=PORT to specify the port you want to open for listening (per default 80) | * --port=PORT to specify the port you want to open for listening (per default 80) | ||
* --daemon to execute the software in background | * --daemon to execute the software in background | ||
* --attachToProcess=PID to attach kiwix-serve process to other process | * --attachToProcess=PID to attach kiwix-serve process to other process | ||
* --verbose to get a few logs</translate> | * --verbose to get a few logs</translate> | ||
== <translate><!--T:21--> | == <translate><!--T:21--> | ||
See also</translate> == | See also</translate> == | ||
<translate><!--T:22--> | <translate><!--T:22--> | ||
* [[kiwix-manage]] | * [[kiwix-manage]] | ||
* [[kiwix-plug]]</translate> | * [[kiwix-plug]]</translate> | ||
* [http://kv5r.com/computers/offline-dictionary-server/ How-to setup kiwix.exe as a Windows service] |
edits