8/12/2023 0 Comments Kiwix files list![]() ![]() This will start a webserver on the Pi, by default on port 8000. Run kiwix-serve with the path to your ZIM file. To try Kiwix in server mode, download the precompiled code and unzip it. After you've got it going you can index the file to make full-text search available. You also need a ZIM file containing some Wikipedia pages (I used Simple English Wikipedia as it's relatively small at 730Mb). To try the actual Kiwix program you need to download the rc2 source and compile it as I described. You can try it out for yourself quite quickly, using the pre-compiled kiwix server rc1 was quite slow, so rc2 appeared to be much faster. Nothing special, and 'fast' is all relative. People interested in hacking with Kiwix can join us on #Kiwix Freenode IRC channel. Our biggest problem is that it seems that the Ethernet NIC "does not works well" We are also pretty interested by the Raspberry Pi for our kiwix-plug project. So you just have to download and use them. We also release (see on Sourceforge) precompiled static version of these console tools for ARM/Linux. You may have a look of how it looks in a browser there. Kiwix-serve allows to start from the console a HTTP daemon which could be both more interesting and less resource intensive than the Desktop application. We have released a new version of Kiwix (0.9rc2) with pretty much improvements regarding the Kiwix HTTP server (kiwix-serve) and other console tools. If you have time to publish a small video about that, this would be awesome. I have to admit that I never have seen Kiwix running on a ARM/Linux ! So, this is great to read you have achieved to do that. Thank you Andrew for this really interesting post. 16Gb), to leave the two USB ports free for a keyboard and a mouse. I think if you wanted to make a standalone Wikipedia reader you'd have to install the OS and zim file on a larger SD card (e.g. The zim file, containing the Wikipedia data, is on a 4Gb USB drive. The OS (Raspian from December 2012) and kiwix is on a 4Gb SD card. Compilation takes a while.įor testing I downloaded the Simple English Wikipedia (because it's relatively small) from the bottom of the page here: configure and make (and optionally make install). Then I installed the necessary support libraries as described under GNU/Linux here: I am pleased to say that kiwix can be compiled from source on the Pi and it works. ![]() I found it because I was looking for anything to do with running kiwix on the Pi for offline Wikipedia browsing. This thread seems to come to an abrupt halt. config.subĪny help would be much appreciated Also I can't be sure if this will help but: yesĬonfigure: error: cannot run /bin/bash. GNUĬhecking whether we are using the GNU C compiler. ![]() none neededĬhecking for style of include used by make. yesĬhecking for gcc option to accept ISO C89. noĬhecking whether we are using the GNU C compiler. a.outĬhecking whether we are cross compiling. yesĬhecking for C compiler default output file name. yesĬhecking whether to enable maintainer-specific portions of Makefiles. bin/mkdir -pĬhecking whether make sets $(MAKE). usr/bin/install -cĬhecking whether build environment is sane. configureĬhecking for a BSD-compatible install. I wrote this about a year ago so my methods might be out of date, but maybe seeing a full example will help you figure out why your setup is failing.Code: Select all ~ $ cd ~/kiwix $. Mv "$xml/library_new.xml" "$xml/library.xml"Īnd of course your systemd service file needs to also specify the same library location: ĮxecStart=/usr/bin/kiwix-serve -p 3004 -library /etc/kiwix/library.xml Kiwix-manage "$xml/library_new.xml" add "$zim" IFS=$'\n' read -d '' -r -a oldlog > "$xml/library.log" Log=($(find $library -name 'archive' -prune -o -name '*.zim' | sort)) Library="/pub/Documents/kiwix" # location of zim files Xml="/etc/kiwix" # location of library.xml This basically builds a new library.xml file then restarts kiwix to use the new file. Make sure to change the directories in the first two lines, and rename "" near the end as appropriate. Here's a bash script I wrote to update the local list of zim files.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |