Difference between revisions of "Kiwix-serve/ca"

Jump to navigation Jump to search
Updating to match new version of source page
(Created page with "Opcions")
(Updating to match new version of source page)
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
[[File:Two_kiwix-plugs.jpg|right|thumb|With [[Kiwix-plug]], kiwix-serve runs on pretty small hardwares]]
[[File:Two_kiwix-plugs.jpg|right|thumb|With [[Kiwix-plug]], kiwix-serve runs on pretty small hardwares]]


'''Kiwix-serve is a ZIM compatible Web server.''' With it's help you can deliver ZIM file content over your network.
'''Kiwix-serve is a ZIM compatible Web server.''' With its help you can deliver ZIM file content over your network.


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.
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.
Line 21: Line 21:


== Get it ==
== Get it ==
On Microsoft Windows, Apple Mac OSX 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]].
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]].


We also provide [//sourceforge.net/projects/kiwix/files/ pre-compiled binaries for ARM GNU/Linux].
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].


For other systems, you will have to [[compilation|download and compile kiwix-serve source code on your own]].
For other systems, you will have to [[compilation|download and compile kiwix-serve source code on your own]].
Line 32: Line 32:
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 user profile).
* A ZIM file or a library file (you can use the library.xml file available in your Kiwix data directory).


Unix command line (just use kiwix-serve.exe on Microsoft Windows) example to start kiwix-serve with a XML library file:
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>
</source>


Line 44: Line 44:
</source>
</source>


One time kiwix-serve is started, everybody, who has access to this computer per 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:
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 52: Line 52:
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)
* --index=foobar.ix to specify an fulltext index directory
* --index=foobar.idx to specify a fulltext index directory
* --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
Line 59: Line 59:
You can also run kiwix-serve without index, but in this case you won't have access to the fulltext search engine.
You can also run kiwix-serve without index, but in this case you won't have access to the fulltext search engine.


== See also ==
== Vegeu també ==
* [http://library.kiwix.org kiwix-serve demonstration instance]
* [[kiwix-index]]
* [[kiwix-index]]
* [[kiwix-manage]]
* [[kiwix-manage]]
* [[kiwix-plug]]
* [[kiwix-plug]]
* [http://kv5r.com/computers/offline-dictionary-server/ How-to setup kiwix.exe as a Windows service]
5,012

edits

Navigation menu