Whoo Hoo! Just had to say thanks. I've been struggling trying to figure this out from a plethora of misinformation. Thank you for your guide. Works no problem, no need to compile or get confused. The save link as was the thing that was holding me up lol. Using wget and the link address worked like a charm. Thanks for alleviating my frustration. I was about to give up. Now on to indexing. How to I add multiple zim files to serve up? Thanks for all the help.
If I remember correctly, you just add more zim files after kiwix-serve. You just put a space between each zim file name/path. Last I checked, you unfortunately can't just do something like *.zim to select a directory of zim files.
You can do this install on a desktop version of Raspberry Pi. It would probably be best on a Pi4 but might work on older Pis. I think you could then open " localhost" (remove the space) in the Pi's web browser to open Kiwix. If not, use the IP address of the Pi. I do have a video on creating a locked down Wikipedia Kiosk if that is something you are interested in: ruclips.net/video/gtlydT6Lumg/видео.html
i have a apache2 running that influence in something, because en mi raspberry pi doesn't work, can you help my, the idea is to have a LMS page running on the apache, this proyect is a school that doesn´t have access to internet and electricity and we want to donate 10 raspberry pi 3, but i have problem with the kiwix
If you follow my instructions exactly, the Kiwix server will conflict with Apache. To make it work, change the port 80 to something like 8080 when you set up the Kiwix service. The line would look similar to this "ExecStart=/usr/local/bin/kiwix-serve /var/local/wikipedia_en_simple_all_nopic_2020-02.zim -p 8080". Note the 8080 at the end instead of 80. You would then access the Kiwix server by going to ip_address_of_server:8080. Does that help your situation? If you have questions or need clarification, please let me know.
Do you know how to add a bunch of zim files? Everything I've found online talks about running the kiwix-manage executable, but I can't get that to work. I figured I could just add more zim files by name after the wikipedia example, but I can't get that to work. Any hints?
Nevermind, I figured out how to make a library.xml file, add all of my zim files to the xml, and then call the xml in the script you provide instead of calling just one zim file.
Hi thanks for a video, it works great. Could you please explain config from /etc/systemd/system/kiwix.service little bit? Or at least Restart and RestartSec? What does it do and why?
"Restart" restarts the service if it fails for some reason. "RestartSec" is the amount of time to wait before restarting. Ideally the service doesn't fail.
Good question. I use automatic dark mode on my tablet and phone. I haven't even tried it on my desktop computers. I probably keep it bright since I don't seem to get much sun these days. :) I do use the "Night Shift" feature on my Mac to adjust the color temperature to a warmer tone in the evening.
@@Rickmakes same its getting depressing with the lockdown, there is an inside joke among developers regarding that darkmode: www.reddit.com/r/ProgrammerHumor/comments/8exci9/he_doesnt_antialias_either/
4:59 lol literally watching this jan 2025 (5 years from then)
Whoo Hoo! Just had to say thanks. I've been struggling trying to figure this out from a plethora of misinformation. Thank you for your guide. Works no problem, no need to compile or get confused. The save link as was the thing that was holding me up lol. Using wget and the link address worked like a charm. Thanks for alleviating my frustration. I was about to give up.
Now on to indexing. How to I add multiple zim files to serve up? Thanks for all the help.
If I remember correctly, you just add more zim files after kiwix-serve. You just put a space between each zim file name/path. Last I checked, you unfortunately can't just do something like *.zim to select a directory of zim files.
Great video, thank a lot!
Thanks! Awesome video. Any tips for being able to access the files on the raspberry pi itself (not on a separate network device)?
You can do this install on a desktop version of Raspberry Pi. It would probably be best on a Pi4 but might work on older Pis. I think you could then open " localhost" (remove the space) in the Pi's web browser to open Kiwix. If not, use the IP address of the Pi. I do have a video on creating a locked down Wikipedia Kiosk if that is something you are interested in: ruclips.net/video/gtlydT6Lumg/видео.html
@@Rickmakes wow i really appreciate the reply! Totally subscribing! Thanks
@@Rickmakes this worked perfectly. Thanks again.
i have a apache2 running that influence in something, because en mi raspberry pi doesn't work, can you help my, the idea is to have a LMS page running on the apache, this proyect is a school that doesn´t have access to internet and electricity and we want to donate 10 raspberry pi 3, but i have problem with the kiwix
If you follow my instructions exactly, the Kiwix server will conflict with Apache. To make it work, change the port 80 to something like 8080 when you set up the Kiwix service. The line would look similar to this "ExecStart=/usr/local/bin/kiwix-serve /var/local/wikipedia_en_simple_all_nopic_2020-02.zim -p 8080". Note the 8080 at the end instead of 80. You would then access the Kiwix server by going to ip_address_of_server:8080. Does that help your situation? If you have questions or need clarification, please let me know.
Do you know how to add a bunch of zim files? Everything I've found online talks about running the kiwix-manage executable, but I can't get that to work. I figured I could just add more zim files by name after the wikipedia example, but I can't get that to work. Any hints?
Nevermind, I figured out how to make a library.xml file, add all of my zim files to the xml, and then call the xml in the script you provide instead of calling just one zim file.
I was able to add mulitple zim files after the executable but it looks like you found a better way.
thank you for this!
Just trying to learn here: why not sudo wget the .zar derectly into /var/lovcal/?
You can do that. I just try to break the steps down for my tutorials but there are definitely steps that could be optimized.
@@Rickmakes super fair. this video was fantastic for a beginner to get this up and running with relitive ease
Hi thanks for a video, it works great. Could you please explain config from /etc/systemd/system/kiwix.service little bit? Or at least Restart and RestartSec? What does it do and why?
"Restart" restarts the service if it fails for some reason. "RestartSec" is the amount of time to wait before restarting. Ideally the service doesn't fail.
Off topic, why aren't you using a dark theme everything is SUPER BRIGHT!
Good question. I use automatic dark mode on my tablet and phone. I haven't even tried it on my desktop computers. I probably keep it bright since I don't seem to get much sun these days. :) I do use the "Night Shift" feature on my Mac to adjust the color temperature to a warmer tone in the evening.
@@Rickmakes same its getting depressing with the lockdown, there is an inside joke among developers regarding that darkmode: www.reddit.com/r/ProgrammerHumor/comments/8exci9/he_doesnt_antialias_either/