Kiwix-serve

From Kiwix
Revision as of 16:50, 3 April 2013 by Ale.salmo (talk | contribs) (Created page with "Forniamo anche [//sourceforge.net/projects/kiwix/files/ pacchetti pre-compilati per ARM GNU/Linux].")
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Other languages:
Bahasa Indonesia • ‎Bahasa Melayu • ‎Deutsch • ‎English • ‎Nederlands • ‎Türkçe • ‎azərbaycanca • ‎català • ‎español • ‎français • ‎galego • ‎italiano • ‎lietuvių • ‎magyar • ‎polski • ‎português • ‎русский • ‎فارسی • ‎বাংলা • ‎日本語
Kiwix-serve, implementato in Kiwix, su un sistema Microsoft Windows
Con Kiwix-plug, kiwix-serve può essere eseguito su hardware poco ingombrante

Kiwix-serve è un Web server compatibile con ZIM. Tramite il suo aiuto puoi distribuire file ZIM attraverso la tua rete.

Basato sul ben noto protocollo HTTP, kiwix-serve ti permette di condividere gli ZIM file disponibili sul tuo PC con i dispositivi connessi nella tua rete in modo semplice. Basta solo avviare kiwix-serve e i tuoi contenuti saranno disponibili per chiunque attraverso il loro Web browser.

Kiwix-serve è un'ottima soluzione se hai una rete LAN e non vuoi installare Kiwix su ogni computer. È un'ottima alternativa se non hai un disco condiviso in rete da cui ognuno può avviare Kiwix.

Caratteristiche

Kiwix-serve non ha tutte le caratteristiche di Kiwix, ma possiede le più importanti:

  • Motore di ricerca su tutto il testo
  • Suggerimenti nella ricerca
  • Molto leggero ed efficiente
  • Compatibile con quasi tutti i browser
  • Disponibile su tutte le piattaforme
  • Disponibile come eseguibile da riga di comando
  • Implementato nell'interfaccia di Kiwix
  • In grado di utilizzare file ZIM o XML

Come ottenerlo

Su MIcrosoft Windows, Apple Mac OSX e GNU/Linux, kiwix-serve è pacchettizzato e distribuito con Kiwix. Devi solamente scaricare l'installer di Kiwix per il tuo Sistema Operativo.

Forniamo anche pacchetti pre-compilati per ARM GNU/Linux.

For other systems, you will have to download and compile kiwix-serve source code on your own.

Come si usa

Kiwix-serve is directly available in the Kiwix menu "Tools > server", but for people wanting to use it from the command line, here is how it works.

Prerequisites:

  • 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).

Unix command line (just use kiwix-serve.exe on Microsoft Windows) example to start kiwix-serve with a XML library file:

kiwix-serve --library ~/.www.kiwix.org/kiwix/efrnsupg.default/library.xml

Unix command line example to start kiwix-serve with a ZIM file:

kiwix-serve --port=8080 wikipedia.zim

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:

http://xxx.xxx.xxx.xxx:80/

Options

Kiwix-serve provides a few options:

  • --port=PORT to specify the port you want to open for listening (per default 80)
  • --index=foobar.ix to specify an fulltext index directory
  • --daemon to execute the software in background
  • --attachToProcess=PID to attach kiwix-serve process to other process
  • --verbose to get a few logs

You can also run kiwix-serve without index, but in this case you won't have access to the fulltext search engine.

Altro