From e2120ef8aac277a896ba18628f5aea7c0b2f328a Mon Sep 17 00:00:00 2001 From: A Holt Date: Tue, 5 Feb 2019 12:56:51 -0500 Subject: [PATCH 01/64] Change iiab.j2 to rpi.j2 to fix #1452 dup route problem? --- roles/network/tasks/rpi_debian.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/network/tasks/rpi_debian.yml b/roles/network/tasks/rpi_debian.yml index 1161d0ca6..c5fcecb0c 100644 --- a/roles/network/tasks/rpi_debian.yml +++ b/roles/network/tasks/rpi_debian.yml @@ -39,7 +39,7 @@ - name: Copy the bridge script for RPi template: dest: /etc/network/interfaces.d/iiab - src: network/iiab.j2 + src: network/rpi.j2 when: iiab_lan_iface == "br0" - name: Stopping services From 3957891c36d64f3c4a57f03e374d072084c090ba Mon Sep 17 00:00:00 2001 From: A Holt Date: Tue, 5 Feb 2019 12:59:03 -0500 Subject: [PATCH 02/64] Update rpi_debian.yml --- roles/network/tasks/rpi_debian.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/network/tasks/rpi_debian.yml b/roles/network/tasks/rpi_debian.yml index c5fcecb0c..cb701f609 100644 --- a/roles/network/tasks/rpi_debian.yml +++ b/roles/network/tasks/rpi_debian.yml @@ -40,6 +40,7 @@ template: dest: /etc/network/interfaces.d/iiab src: network/rpi.j2 + #src: network/iiab.j2 caused iiab-network to fail attempting dup routes? #1452 when: iiab_lan_iface == "br0" - name: Stopping services From 9edce23829e7cc7249e068d4a7ba4b74e293cce1 Mon Sep 17 00:00:00 2001 From: A Holt Date: Tue, 5 Feb 2019 13:10:19 -0500 Subject: [PATCH 03/64] Update rpi_debian.yml --- roles/network/tasks/rpi_debian.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/network/tasks/rpi_debian.yml b/roles/network/tasks/rpi_debian.yml index cb701f609..883afcd79 100644 --- a/roles/network/tasks/rpi_debian.yml +++ b/roles/network/tasks/rpi_debian.yml @@ -40,7 +40,7 @@ template: dest: /etc/network/interfaces.d/iiab src: network/rpi.j2 - #src: network/iiab.j2 caused iiab-network to fail attempting dup routes? #1452 + #src: network/iiab.j2 2019-02-05: caused ./iiab-network to fail repeatedly in recent days on one particular RPi 3, even after reboot ("Unable to start service networking: Job for networking.service failed..." at "Restart the networking service if appropriate") ...leaving dnsmasq off (#1452) when: iiab_lan_iface == "br0" - name: Stopping services From b9b7261e8183618a5a6be0c2b74e67fc2088eeab Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 7 Feb 2019 11:02:06 -0500 Subject: [PATCH 04/64] Rename iiab.j2 to iiab.j2.deprecated --- roles/network/templates/network/{iiab.j2 => iiab.j2.deprecated} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename roles/network/templates/network/{iiab.j2 => iiab.j2.deprecated} (100%) diff --git a/roles/network/templates/network/iiab.j2 b/roles/network/templates/network/iiab.j2.deprecated similarity index 100% rename from roles/network/templates/network/iiab.j2 rename to roles/network/templates/network/iiab.j2.deprecated From 237547f9da31e0a0842b9ed50501a8b916dbeaae Mon Sep 17 00:00:00 2001 From: A Holt Date: Tue, 26 Feb 2019 13:05:10 -0500 Subject: [PATCH 05/64] exclude wired interface for RPi --- roles/network/tasks/detected_network.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/network/tasks/detected_network.yml b/roles/network/tasks/detected_network.yml index 8374de92f..11fb3bcfa 100644 --- a/roles/network/tasks/detected_network.yml +++ b/roles/network/tasks/detected_network.yml @@ -141,7 +141,7 @@ - name: Set iiab_wired_lan_iface if present set_fact: iiab_wired_lan_iface: "{{ discovered_wired_iface }}" - when: discovered_wired_iface is defined and discovered_wired_iface != "none" and discovered_wired_iface != iiab_wan_iface + when: discovered_wired_iface is defined and discovered_wired_iface != "none" and discovered_wired_iface != iiab_wan_iface and not is_rpi #unused #- name: Get a list of ifcfg files to delete From abafd34709d4e10db3a038837597931f0773fa8c Mon Sep 17 00:00:00 2001 From: A Holt Date: Tue, 26 Feb 2019 13:23:55 -0500 Subject: [PATCH 06/64] Sufficient b/c br0 exists thanks to /etc/network/interfaces.d/iiab --- roles/network/tasks/restart.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/network/tasks/restart.yml b/roles/network/tasks/restart.yml index 64dc0ba24..eb22b8e5a 100644 --- a/roles/network/tasks/restart.yml +++ b/roles/network/tasks/restart.yml @@ -74,5 +74,6 @@ systemd: name: "{{ dhcp_service2 }}" state: restarted - when: (iiab_network_mode != "Appliance") and (not no_net_restart) + when: (iiab_network_mode != "Appliance") # Sufficient b/c br0 exists thanks to /etc/network/interfaces.d/iiab + #when: (iiab_network_mode != "Appliance") and (not no_net_restart) #when: iiab_network_mode != "Appliance" and iiab_wan_iface != discovered_wireless_iface From 2c4d79f928168be1c167def54a415a51ad765b58 Mon Sep 17 00:00:00 2001 From: A Holt Date: Tue, 26 Feb 2019 13:27:49 -0500 Subject: [PATCH 07/64] isolate br0: restart networking if bridge exists --- roles/network/tasks/rpi_debian.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/network/tasks/rpi_debian.yml b/roles/network/tasks/rpi_debian.yml index 1161d0ca6..f6b8be569 100644 --- a/roles/network/tasks/rpi_debian.yml +++ b/roles/network/tasks/rpi_debian.yml @@ -60,4 +60,5 @@ name: networking enabled: yes state: restarted - when: not nobridge is defined and not no_net_restart + when: not nobridge is defined # less is better + #when: not nobridge is defined and not no_net_restart From 7ea0ba84da076664311183a0cdea53305bd639fb Mon Sep 17 00:00:00 2001 From: A Holt Date: Tue, 26 Feb 2019 14:03:02 -0500 Subject: [PATCH 08/64] dnsmasq needs to always be running --- roles/network/templates/network/iiab-hotspot-off | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/network/templates/network/iiab-hotspot-off b/roles/network/templates/network/iiab-hotspot-off index 59301a55b..ceaae55b1 100755 --- a/roles/network/templates/network/iiab-hotspot-off +++ b/roles/network/templates/network/iiab-hotspot-off @@ -2,8 +2,8 @@ sed -i -e "s/^denyinterfaces/#denyinterfaces/" /etc/dhcpcd.conf systemctl disable hostapd systemctl stop hostapd -systemctl disable dnsmasq -systemctl stop dnsmasq +#systemctl disable dnsmasq +#systemctl stop dnsmasq systemctl daemon-reload systemctl restart dhcpcd systemctl restart networking From b5d5e27079cb4e6fce79a08f69a0dc8455d78da2 Mon Sep 17 00:00:00 2001 From: A Holt Date: Tue, 26 Feb 2019 14:11:49 -0500 Subject: [PATCH 09/64] Update iiab-hotspot-on --- roles/network/templates/network/iiab-hotspot-on | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/network/templates/network/iiab-hotspot-on b/roles/network/templates/network/iiab-hotspot-on index 10cebc660..50bc74e9b 100755 --- a/roles/network/templates/network/iiab-hotspot-on +++ b/roles/network/templates/network/iiab-hotspot-on @@ -2,7 +2,7 @@ cp -f /etc/hostapd/hostapd.conf.iiab /etc/hostapd/hostapd.conf sed -i -e "s/^#denyinterfaces/denyinterfaces/" /etc/dhcpcd.conf systemctl enable hostapd -systemctl enable dnsmasq +#systemctl enable dnsmasq systemctl daemon-reload systemctl restart dhcpcd systemctl restart networking From ea7dabf6eeb4ab71b9a24ce0dd455651cc497a27 Mon Sep 17 00:00:00 2001 From: A Holt Date: Tue, 26 Feb 2019 19:59:40 -0500 Subject: [PATCH 10/64] Update README.rst --- roles/calibre-web/README.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/calibre-web/README.rst b/roles/calibre-web/README.rst index 72f9f8451..1270f8029 100644 --- a/roles/calibre-web/README.rst +++ b/roles/calibre-web/README.rst @@ -74,6 +74,8 @@ See also:: /library/calibre-web/metadata_db_prefs_backup.json +See the official docs on Calibre-Web's `Runtime Configuration Options `_. + Back Up Everything ------------------ From 63dc13144ee85cf71d9c4dd1525ca504db7265df Mon Sep 17 00:00:00 2001 From: A Holt Date: Tue, 26 Feb 2019 21:32:02 -0500 Subject: [PATCH 11/64] Update main.yml --- roles/munin/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/munin/tasks/main.yml b/roles/munin/tasks/main.yml index 4a5f0e565..4bcbe360b 100644 --- a/roles/munin/tasks/main.yml +++ b/roles/munin/tasks/main.yml @@ -1,4 +1,4 @@ -- name: Install 5 package for Munin (debuntu) +- name: 'Install 5 packages: munin, munin-node, munin-plugins-extra, libcgi-fast-perl, libapache2-mod-fcgid (debuntu)' package: name: - munin @@ -11,7 +11,7 @@ - download when: is_debuntu -- name: Install packages munin and munin-node (OS's other than debuntu) +- name: "Install 2 packages: munin, munin-node (OS's other than debuntu)" package: name: - munin From 206b0dd81cddd5f960c99a7d6b98503660a3a63e Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 28 Feb 2019 06:44:11 -0500 Subject: [PATCH 12/64] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b91f67ebd..f5213b435 100644 --- a/README.md +++ b/README.md @@ -12,9 +12,9 @@ FYI this community product is enabled by professional volunteers working [side-b ## Installation -Pre-releases of Internet-in-a-Box (IIAB) are available from http://download.iiab.io — click on the highest version number and then launch the 1-line installer. +Install Internet-in-a-Box (IIAB) from http://download.iiab.io -Please see "What are the best places for community support?" at http://FAQ.IIAB.IO which has 40+ questions and answers to help you along the way, as you put together the digital knowledge hotspot most suitable for your own community. +Please see http://FAQ.IIAB.IO which has 40+ questions and answers to help you along the way, as you put together the "learning hotspot" most suitable for your own community. The [Installation](https://github.com/iiab/iiab/wiki/IIAB-Installation) wiki page has more intricate details e.g. if you're trying to install Internet-in-a-Box (IIAB) on a [different platform](https://github.com/iiab/iiab/wiki/IIAB-Platforms) that has not yet been tried. From 4b7653d60b877b7a7407a34d66e69887c998ea57 Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 28 Feb 2019 08:03:35 -0500 Subject: [PATCH 13/64] Update README.md --- README.md | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index f5213b435..6c94feff0 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,25 @@ +*Sharing the World's Free Knowledge* + # Internet-in-a-Box (IIAB) -Welcome to the GitHub repository for [Internet-in-a-Box (IIAB)](http://internet-in-a-box.org). IIAB is a small and inexpensive device which provides essential Internet resources (Wikipedia, OpenStreetMap, Khan Academy and others) *usable even when offline!* +[Internet-in-a-Box (IIAB)](http://internet-in-a-box.org) is a "learning hotspot" that brings the Internet's crown jewels +(Wikipedia in any language, thousands of Khan Academy videos, zoomable OpenStreetMap, electronic books, WordPress journaling, Toys from Trash electronics projects, ETC) to those without Internet. -Create the digital library needed by your school, your medical clinic, your region and/or your very own family — accessible with any nearby smartphone, tablet or laptop. +You can build your own tiny, affordable server (offline digital library) as needed by your school, your medical clinic, your prison, your region and/or your very own family — accessible with any nearby smartphone, tablet or laptop. -Internet-in-a-Box provides you the tools to DIY (download and customize) a local content hotspot or server, using the Internet's crown jewels and the very best of the World’s Free Knowledge. +Internet-in-a-Box gives you the tools to: +1. DIY (download and customize) this "local learning hotspot" or server, using the [very best of the World’s Free Knowledge](http://internet-in-a-box.org/#quality-content). +2. Exchange local/indigenous knowledge with nearby communities, using out [Manage Content](https://github.com/iiab/iiab-admin-console/blob/master/roles/console/files/help/InstContent.rst#manage-content) interface and possible mesh networking. Schools can also choose among [30 powerful educational apps](http://wiki.laptop.org/go/IIAB/FAQ#What_services_.28IIAB_apps.29_are_suggested_during_installation.3F) for teachers and students, optionally with a complete LMS (learning management system). -FYI this community product is enabled by professional volunteers working [side-by-side](http://wiki.laptop.org/go/IIAB/FAQ#What_are_the_best_places_for_community_support.3F) with schools, clinics and libraries around the world. *Thank you for being a part of our grassroots technology movement!* +FYI this community product is enabled by professional volunteers working [side-by-side](http://wiki.laptop.org/go/IIAB/FAQ#What_are_the_best_places_for_community_support.3F) with schools, clinics and libraries around the world. *Thank you for being a part of our http://OFF.NETWORK grassroots technology movement!* ## Installation Install Internet-in-a-Box (IIAB) from http://download.iiab.io -Please see http://FAQ.IIAB.IO which has 40+ questions and answers to help you along the way, as you put together the "learning hotspot" most suitable for your own community. +Please see http://FAQ.IIAB.IO which has 40+ questions and answers to help you along the way, as you put together the "learning hotspot" most suitable for your own teaching/learning community. The [Installation](https://github.com/iiab/iiab/wiki/IIAB-Installation) wiki page has more intricate details e.g. if you're trying to install Internet-in-a-Box (IIAB) on a [different platform](https://github.com/iiab/iiab/wiki/IIAB-Platforms) that has not yet been tried. @@ -22,17 +27,15 @@ Then you [add content](https://github.com/iiab/iiab/wiki/IIAB-Installation#add-c Finally, you can [customize your Internet-in-a-Box home page](http://wiki.laptop.org/go/IIAB/FAQ#How_do_I_customize_my_Internet-in-a-Box_home_page.3F) (typically http://box or http://box.lan) using our drag-and-drop Admin Console (http://box/admin) — to arrange Content Packs and IIAB Apps (services) for your local community's needs. -#### Built with Ansible +## Community -FYI we use [Ansible](http://wiki.laptop.org/go/IIAB/FAQ#What_is_Ansible_and_what_version_should_I_use.3F) as the underlying technology to install, deploy, configure and manage the various software components. - -## Contributing - -We greatly welcome contributions from educators, librarians *and* IT/UX/QA people of all kinds! +Internet-in-a-Box (IIAB) greatly welcomes contributions from educators, librarians *and* IT/UX/QA people of all kinds! Please see "[How can I help?](http://wiki.laptop.org/go/IIAB/FAQ#How_can_I_help.3F)" at: http://FAQ.IIAB.IO -Check out our [Contributors Guide](https://github.com/iiab/iiab/wiki/IIAB-Contributors-Guide) to learn more about contributing directly to Internet-in-a-Box (IIAB) software and its open community architecture for education. +To learn about our open community architecture for "offline" education, start by reviewing "[What technical documentation exists?](http://wiki.laptop.org/go/IIAB/FAQ#What_technical_documentation_exists.3F)" + +To learn more about our software architecture, check out our [Contributors Guide](https://github.com/iiab/iiab/wiki/IIAB-Contributors-Guide). FYI we use [Ansible](http://wiki.laptop.org/go/IIAB/FAQ#What_is_Ansible_and_what_version_should_I_use.3F) to install, deploy, configure and manage the various software components. *Thank you for helping us enable offline access to the Internet's open knowledge jewels, as well as "Sneakernet-of-Alexandria" distribution of local/indigenous content, when mass media channels do not serve grassroots voices.* From 84839c6bbe3c3e778f50b3ace1268ce467bd4c47 Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 28 Feb 2019 08:07:39 -0500 Subject: [PATCH 14/64] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6c94feff0..b5dfda45b 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ You can build your own tiny, affordable server (offline digital library) as need Internet-in-a-Box gives you the tools to: 1. DIY (download and customize) this "local learning hotspot" or server, using the [very best of the World’s Free Knowledge](http://internet-in-a-box.org/#quality-content). -2. Exchange local/indigenous knowledge with nearby communities, using out [Manage Content](https://github.com/iiab/iiab-admin-console/blob/master/roles/console/files/help/InstContent.rst#manage-content) interface and possible mesh networking. +2. Exchange local/indigenous knowledge with nearby communities, using our [Manage Content](https://github.com/iiab/iiab-admin-console/blob/master/roles/console/files/help/InstContent.rst#manage-content) interface and possible mesh networking. Schools can also choose among [30 powerful educational apps](http://wiki.laptop.org/go/IIAB/FAQ#What_services_.28IIAB_apps.29_are_suggested_during_installation.3F) for teachers and students, optionally with a complete LMS (learning management system). From 056df5698e95e32a8aff01977802372db9e01df1 Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 28 Feb 2019 08:12:32 -0500 Subject: [PATCH 15/64] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b5dfda45b..8c8a256af 100644 --- a/README.md +++ b/README.md @@ -17,21 +17,21 @@ FYI this community product is enabled by professional volunteers working [side-b ## Installation -Install Internet-in-a-Box (IIAB) from http://download.iiab.io +Install Internet-in-a-Box (IIAB) from [download.iiab.io](http://download.iiab.io/) -Please see http://FAQ.IIAB.IO which has 40+ questions and answers to help you along the way, as you put together the "learning hotspot" most suitable for your own teaching/learning community. +Please see [FAQ.IIAB.IO](http://FAQ.IIAB.IO) which has 40+ questions and answers to help you along the way, as you put together the "learning hotspot" most suitable for your own teaching/learning community. The [Installation](https://github.com/iiab/iiab/wiki/IIAB-Installation) wiki page has more intricate details e.g. if you're trying to install Internet-in-a-Box (IIAB) on a [different platform](https://github.com/iiab/iiab/wiki/IIAB-Platforms) that has not yet been tried. Then you [add content](https://github.com/iiab/iiab/wiki/IIAB-Installation#add-content), which can of course take time when downloading multi-gigabyte Content Packs! -Finally, you can [customize your Internet-in-a-Box home page](http://wiki.laptop.org/go/IIAB/FAQ#How_do_I_customize_my_Internet-in-a-Box_home_page.3F) (typically http://box or http://box.lan) using our drag-and-drop Admin Console (http://box/admin) — to arrange Content Packs and IIAB Apps (services) for your local community's needs. +Finally, you can [customize your Internet-in-a-Box home page](http://wiki.laptop.org/go/IIAB/FAQ#How_do_I_customize_my_Internet-in-a-Box_home_page.3F) (typically http://box or http://box.lan) using our **drag-and-drop** Admin Console (http://box/admin) — to arrange Content Packs and IIAB Apps (services) for your local community's needs. ## Community Internet-in-a-Box (IIAB) greatly welcomes contributions from educators, librarians *and* IT/UX/QA people of all kinds! -Please see "[How can I help?](http://wiki.laptop.org/go/IIAB/FAQ#How_can_I_help.3F)" at: http://FAQ.IIAB.IO +Please see "[How can I help?](http://wiki.laptop.org/go/IIAB/FAQ#How_can_I_help.3F)" at: [FAQ.IIAB.IO](http://FAQ.IIAB.IO) To learn about our open community architecture for "offline" education, start by reviewing "[What technical documentation exists?](http://wiki.laptop.org/go/IIAB/FAQ#What_technical_documentation_exists.3F)" @@ -43,7 +43,7 @@ To learn more about our software architecture, check out our [Contributors Guide Pre-releases of Internet-in-a-Box (IIAB) undergo continuous QA / continuous deployment and are strongly recommended. -Install our latest pre-release using the 1-line installer at: http://download.iiab.io +Install our latest pre-release using the 1-line installer at: [download.iiab.io](http://download.iiab.io/) You can also consider the official releases at: [github.com/iiab/iiab/releases](https://github.com/iiab/iiab/releases) From 2776f23771c8ebf33cae7dd152726a969fe51f64 Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 28 Feb 2019 08:23:21 -0500 Subject: [PATCH 16/64] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8c8a256af..a80905553 100644 --- a/README.md +++ b/README.md @@ -21,9 +21,9 @@ Install Internet-in-a-Box (IIAB) from [download.iiab.io](http://download.iiab.io Please see [FAQ.IIAB.IO](http://FAQ.IIAB.IO) which has 40+ questions and answers to help you along the way, as you put together the "learning hotspot" most suitable for your own teaching/learning community. -The [Installation](https://github.com/iiab/iiab/wiki/IIAB-Installation) wiki page has more intricate details e.g. if you're trying to install Internet-in-a-Box (IIAB) on a [different platform](https://github.com/iiab/iiab/wiki/IIAB-Platforms) that has not yet been tried. +Our [HOW-TO videos](https://www.youtube.com/channel/UC0cBGCxr_WPBPa3IqPVEe3g) can be very helpful and the [Installation](https://github.com/iiab/iiab/wiki/IIAB-Installation) wiki page has more intricate details e.g. if you're trying to install Internet-in-a-Box (IIAB) on a [different platform](https://github.com/iiab/iiab/wiki/IIAB-Platforms) that has not yet been tried. -Then you [add content](https://github.com/iiab/iiab/wiki/IIAB-Installation#add-content), which can of course take time when downloading multi-gigabyte Content Packs! +After you've installed the software, you should [add content](https://github.com/iiab/iiab/wiki/IIAB-Installation#add-content), which can of course take time when downloading multi-gigabyte Content Packs! Finally, you can [customize your Internet-in-a-Box home page](http://wiki.laptop.org/go/IIAB/FAQ#How_do_I_customize_my_Internet-in-a-Box_home_page.3F) (typically http://box or http://box.lan) using our **drag-and-drop** Admin Console (http://box/admin) — to arrange Content Packs and IIAB Apps (services) for your local community's needs. @@ -33,9 +33,9 @@ Internet-in-a-Box (IIAB) greatly welcomes contributions from educators, libraria Please see "[How can I help?](http://wiki.laptop.org/go/IIAB/FAQ#How_can_I_help.3F)" at: [FAQ.IIAB.IO](http://FAQ.IIAB.IO) -To learn about our open community architecture for "offline" education, start by reviewing "[What technical documentation exists?](http://wiki.laptop.org/go/IIAB/FAQ#What_technical_documentation_exists.3F)" +To learn about our software architecture, check out our [Contributors Guide](https://github.com/iiab/iiab/wiki/IIAB-Contributors-Guide). FYI we use [Ansible](http://wiki.laptop.org/go/IIAB/FAQ#What_is_Ansible_and_what_version_should_I_use.3F) to install, deploy, configure and manage the various software components. -To learn more about our software architecture, check out our [Contributors Guide](https://github.com/iiab/iiab/wiki/IIAB-Contributors-Guide). FYI we use [Ansible](http://wiki.laptop.org/go/IIAB/FAQ#What_is_Ansible_and_what_version_should_I_use.3F) to install, deploy, configure and manage the various software components. +To learn more about our open community architecture for "offline" education, start by reviewing "[What technical documentation exists?](http://wiki.laptop.org/go/IIAB/FAQ#What_technical_documentation_exists.3F)" *Thank you for helping us enable offline access to the Internet's open knowledge jewels, as well as "Sneakernet-of-Alexandria" distribution of local/indigenous content, when mass media channels do not serve grassroots voices.* From 943d30f74453d4fed2cf21090b8bec2f8bdb1408 Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 28 Feb 2019 08:25:42 -0500 Subject: [PATCH 17/64] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a80905553..a601cc539 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Install Internet-in-a-Box (IIAB) from [download.iiab.io](http://download.iiab.io Please see [FAQ.IIAB.IO](http://FAQ.IIAB.IO) which has 40+ questions and answers to help you along the way, as you put together the "learning hotspot" most suitable for your own teaching/learning community. -Our [HOW-TO videos](https://www.youtube.com/channel/UC0cBGCxr_WPBPa3IqPVEe3g) can be very helpful and the [Installation](https://github.com/iiab/iiab/wiki/IIAB-Installation) wiki page has more intricate details e.g. if you're trying to install Internet-in-a-Box (IIAB) on a [different platform](https://github.com/iiab/iiab/wiki/IIAB-Platforms) that has not yet been tried. +Our [HOW-TO videos](https://www.youtube.com/channel/UC0cBGCxr_WPBPa3IqPVEe3g) can be very helpful and the [Installation](https://github.com/iiab/iiab/wiki/IIAB-Installation) wiki page has more intricate details e.g. if you're trying to install Internet-in-a-Box (IIAB) onto a [different Linux](https://github.com/iiab/iiab/wiki/IIAB-Platforms) that has not yet been tried. After you've installed the software, you should [add content](https://github.com/iiab/iiab/wiki/IIAB-Installation#add-content), which can of course take time when downloading multi-gigabyte Content Packs! From 69f5ed9a5d6496669ecd116a005f949939b0cec7 Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 28 Feb 2019 08:49:05 -0500 Subject: [PATCH 18/64] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a601cc539..4b94812ae 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Our [HOW-TO videos](https://www.youtube.com/channel/UC0cBGCxr_WPBPa3IqPVEe3g) ca After you've installed the software, you should [add content](https://github.com/iiab/iiab/wiki/IIAB-Installation#add-content), which can of course take time when downloading multi-gigabyte Content Packs! -Finally, you can [customize your Internet-in-a-Box home page](http://wiki.laptop.org/go/IIAB/FAQ#How_do_I_customize_my_Internet-in-a-Box_home_page.3F) (typically http://box or http://box.lan) using our **drag-and-drop** Admin Console (http://box/admin) — to arrange Content Packs and IIAB Apps (services) for your local community's needs. +Finally, you can [customize your Internet-in-a-Box home page](http://wiki.laptop.org/go/IIAB/FAQ#How_do_I_customize_my_Internet-in-a-Box_home_page.3F) (typically http://box or http://box.lan) using our **drag-and-drop** Admin Console (http://box.lan/admin) — to arrange Content Packs and IIAB Apps (services) for your local community's needs. ## Community From 5db3f042345dc659270e7607b6c4d4f131ae57aa Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 28 Feb 2019 08:51:02 -0500 Subject: [PATCH 19/64] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4b94812ae..678cf6be9 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ To learn about our software architecture, check out our [Contributors Guide](htt To learn more about our open community architecture for "offline" education, start by reviewing "[What technical documentation exists?](http://wiki.laptop.org/go/IIAB/FAQ#What_technical_documentation_exists.3F)" -*Thank you for helping us enable offline access to the Internet's open knowledge jewels, as well as "Sneakernet-of-Alexandria" distribution of local/indigenous content, when mass media channels do not serve grassroots voices.* +*Thank you for helping us enable offline access to the Internet's free/open knowledge jewels, as well as "Sneakernet-of-Alexandria" distribution of local/indigenous content, when mass media channels do not serve grassroots voices.* ## Versions From b85f179ba7c9ea3c8fdd09064ef48c45af14d494 Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 28 Feb 2019 08:53:36 -0500 Subject: [PATCH 20/64] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 678cf6be9..3e6b21d8f 100644 --- a/README.md +++ b/README.md @@ -47,4 +47,4 @@ Install our latest pre-release using the 1-line installer at: [download.iiab.io] You can also consider the official releases at: [github.com/iiab/iiab/releases](https://github.com/iiab/iiab/releases) -Finally, older versions are here: [github.com/xsce](http://github.com/xsce), [schoolserver.org](http://schoolserver.org) +For older versions, see: [github.com/xsce](http://github.com/xsce), [schoolserver.org](http://schoolserver.org) From e4d4afb2b15c32d9a8e7bfcc674a33bb81da63e6 Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 28 Feb 2019 15:37:03 -0500 Subject: [PATCH 21/64] Update README.md --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 3e6b21d8f..58b54a256 100644 --- a/README.md +++ b/README.md @@ -5,13 +5,12 @@ [Internet-in-a-Box (IIAB)](http://internet-in-a-box.org) is a "learning hotspot" that brings the Internet's crown jewels (Wikipedia in any language, thousands of Khan Academy videos, zoomable OpenStreetMap, electronic books, WordPress journaling, Toys from Trash electronics projects, ETC) to those without Internet. -You can build your own tiny, affordable server (offline digital library) as needed by your school, your medical clinic, your prison, your region and/or your very own family — accessible with any nearby smartphone, tablet or laptop. +You can build your own tiny, affordable server (an offline digital library) for your school, your medical clinic, your prison, your region and/or your very own family — accessible with any nearby smartphone, tablet or laptop. -Internet-in-a-Box gives you the tools to: -1. DIY (download and customize) this "local learning hotspot" or server, using the [very best of the World’s Free Knowledge](http://internet-in-a-box.org/#quality-content). +Internet-in-a-Box gives you the DIY tools to: +1. Download and present the [very best of the World’s Free Knowledge](http://internet-in-a-box.org/#quality-content). 2. Exchange local/indigenous knowledge with nearby communities, using our [Manage Content](https://github.com/iiab/iiab-admin-console/blob/master/roles/console/files/help/InstContent.rst#manage-content) interface and possible mesh networking. - -Schools can also choose among [30 powerful educational apps](http://wiki.laptop.org/go/IIAB/FAQ#What_services_.28IIAB_apps.29_are_suggested_during_installation.3F) for teachers and students, optionally with a complete LMS (learning management system). +3. Choose among [30 powerful educational apps](http://wiki.laptop.org/go/IIAB/FAQ#What_services_.28IIAB_apps.29_are_suggested_during_installation.3F) for learning/teaching communities, optionally with a complete LMS (learning management system). FYI this community product is enabled by professional volunteers working [side-by-side](http://wiki.laptop.org/go/IIAB/FAQ#What_are_the_best_places_for_community_support.3F) with schools, clinics and libraries around the world. *Thank you for being a part of our http://OFF.NETWORK grassroots technology movement!* From f2c97aa54e157d7dea48921933d63f846b795cdd Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 28 Feb 2019 15:47:17 -0500 Subject: [PATCH 22/64] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 58b54a256..1e4c4638a 100644 --- a/README.md +++ b/README.md @@ -9,16 +9,16 @@ You can build your own tiny, affordable server (an offline digital library) for Internet-in-a-Box gives you the DIY tools to: 1. Download and present the [very best of the World’s Free Knowledge](http://internet-in-a-box.org/#quality-content). -2. Exchange local/indigenous knowledge with nearby communities, using our [Manage Content](https://github.com/iiab/iiab-admin-console/blob/master/roles/console/files/help/InstContent.rst#manage-content) interface and possible mesh networking. -3. Choose among [30 powerful educational apps](http://wiki.laptop.org/go/IIAB/FAQ#What_services_.28IIAB_apps.29_are_suggested_during_installation.3F) for learning/teaching communities, optionally with a complete LMS (learning management system). +2. Choose among [30 powerful educational apps](http://wiki.laptop.org/go/IIAB/FAQ#What_services_.28IIAB_apps.29_are_suggested_during_installation.3F) for your school or learning/teaching community, optionally with a complete LMS (learning management system). +3. Exchange local/indigenous knowledge with nearby communities, using our [Manage Content](https://github.com/iiab/iiab-admin-console/blob/master/roles/console/files/help/InstContent.rst#manage-content) interface and possible mesh networking. -FYI this community product is enabled by professional volunteers working [side-by-side](http://wiki.laptop.org/go/IIAB/FAQ#What_are_the_best_places_for_community_support.3F) with schools, clinics and libraries around the world. *Thank you for being a part of our http://OFF.NETWORK grassroots technology movement!* +FYI this [community product](https://en.wikipedia.org/wiki/Internet-in-a-Box) is enabled by professional volunteers working [side-by-side](http://wiki.laptop.org/go/IIAB/FAQ#What_are_the_best_places_for_community_support.3F) with schools, clinics and libraries around the world. *Thank you for being a part of our http://OFF.NETWORK grassroots technology [movement](https://meta.wikimedia.org/wiki/Internet-in-a-Box)!* ## Installation Install Internet-in-a-Box (IIAB) from [download.iiab.io](http://download.iiab.io/) -Please see [FAQ.IIAB.IO](http://FAQ.IIAB.IO) which has 40+ questions and answers to help you along the way, as you put together the "learning hotspot" most suitable for your own teaching/learning community. +Please see [FAQ.IIAB.IO](http://FAQ.IIAB.IO) which has 40+ questions and answers to help you along the way, as you put together the "local learning hotspot" most suitable for your own teaching/learning community. Our [HOW-TO videos](https://www.youtube.com/channel/UC0cBGCxr_WPBPa3IqPVEe3g) can be very helpful and the [Installation](https://github.com/iiab/iiab/wiki/IIAB-Installation) wiki page has more intricate details e.g. if you're trying to install Internet-in-a-Box (IIAB) onto a [different Linux](https://github.com/iiab/iiab/wiki/IIAB-Platforms) that has not yet been tried. From 2a103d0f1088a9991b6f0156165f76abccc252ec Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 28 Feb 2019 15:57:07 -0500 Subject: [PATCH 23/64] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1e4c4638a..f753d407f 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ You can build your own tiny, affordable server (an offline digital library) for your school, your medical clinic, your prison, your region and/or your very own family — accessible with any nearby smartphone, tablet or laptop. Internet-in-a-Box gives you the DIY tools to: -1. Download and present the [very best of the World’s Free Knowledge](http://internet-in-a-box.org/#quality-content). +1. Download then drag-and-drop to arrange the [very best of the World’s Free Knowledge](http://internet-in-a-box.org/#quality-content). 2. Choose among [30 powerful educational apps](http://wiki.laptop.org/go/IIAB/FAQ#What_services_.28IIAB_apps.29_are_suggested_during_installation.3F) for your school or learning/teaching community, optionally with a complete LMS (learning management system). 3. Exchange local/indigenous knowledge with nearby communities, using our [Manage Content](https://github.com/iiab/iiab-admin-console/blob/master/roles/console/files/help/InstContent.rst#manage-content) interface and possible mesh networking. From bfb9a704ab9617eb0009bbe5bdc8d289869de48a Mon Sep 17 00:00:00 2001 From: A Holt Date: Sat, 2 Mar 2019 12:45:55 -0500 Subject: [PATCH 24/64] Update README.rst --- roles/calibre-web/README.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/calibre-web/README.rst b/roles/calibre-web/README.rst index 1270f8029..28ea2b38b 100644 --- a/roles/calibre-web/README.rst +++ b/roles/calibre-web/README.rst @@ -151,5 +151,9 @@ Known Issues occasionally arise, when upstream developers change its master branch without warning. +* Imagemagick policy prevents generating thumbnails for PDF's during upload: `#1530 `_ `janeczku/calibre-web#827 `_ + +* Upload of not supported file formats gives no feedback to the user: `janeczku/calibre-web#828 `_ + * *Please assist us in reporting serious issues here:* https://github.com/janeczku/calibre-web/issues From 5efdb1061455bac212debc7456bd94a5a0eb5ec8 Mon Sep 17 00:00:00 2001 From: A Holt Date: Mon, 4 Mar 2019 22:27:10 -0500 Subject: [PATCH 25/64] Update default_vars.yml --- vars/default_vars.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vars/default_vars.yml b/vars/default_vars.yml index a760af4b3..83b3cfb3b 100644 --- a/vars/default_vars.yml +++ b/vars/default_vars.yml @@ -331,7 +331,7 @@ kolibri_http_port: 8009 kiwix_install: True kiwix_enabled: True kiwix_port: 3000 -iiab_zim_path: /library/zims +iiab_zim_path: "{{ content_base }}/zims" # /library moodle_install: False moodle_enabled: False From fb704afe864f10e5a9daa70a9ed44746f51fc543 Mon Sep 17 00:00:00 2001 From: A Holt Date: Mon, 4 Mar 2019 22:31:13 -0500 Subject: [PATCH 26/64] Update main.yml --- roles/kiwix/defaults/main.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/roles/kiwix/defaults/main.yml b/roles/kiwix/defaults/main.yml index 70e2f72d5..a2a5ad98f 100644 --- a/roles/kiwix/defaults/main.yml +++ b/roles/kiwix/defaults/main.yml @@ -1,3 +1,12 @@ +#kiwix_install: True +#kiwix_enabled: True + +#kiwix_port: 3000 +#iiab_zim_path: "{{ content_base }}/zims" # /library + +# All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml +# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing! + # Which kiwix-tools to download from http://download.iiab.io/packages/ # As obtained from http://download.kiwix.org/release/kiwix-tools/ or http://download.kiwix.org/nightly/ @@ -14,21 +23,16 @@ kiwix_src_file_armhf: "{{ kiwix_version_armhf }}.tar.gz" kiwix_src_file_linux64: "{{ kiwix_version_linux64 }}.tar.gz" kiwix_src_file_i686: "{{ kiwix_version_i686 }}.tar.gz" -kiwix_port: 3000 # Used for Kiwix proxy http://box/kiwix/ kiwix_url: /kiwix/ kiwix_alias_url: /kiwix -kiwix_path: "{{ iiab_base }}/kiwix" +kiwix_path: "{{ iiab_base }}/kiwix" # /opt/iiab # /library/zims contains 3 important things: # - library.xml # - content directory for all *.zim's # - index directory for legacy *.zim.idx's -iiab_zim_path: "{{ content_base }}/zims" kiwix_library_xml: "{{ iiab_zim_path }}/library.xml" -# Installation Variables -kiwix_install: True -kiwix_enabled: True # MOVE FILE /opt/iiab/kiwix/bin/kiwix-serve TO FORCE A REINSTALL OF kiwix-tools kiwix_force_install: False From 04158a0e929c6a8de0f35a0dc7521d41b8c6bfe4 Mon Sep 17 00:00:00 2001 From: A Holt Date: Mon, 4 Mar 2019 22:36:38 -0500 Subject: [PATCH 27/64] Update main.yml --- roles/wordpress/defaults/main.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/roles/wordpress/defaults/main.yml b/roles/wordpress/defaults/main.yml index fd8fbcfcb..0f2681b6e 100644 --- a/roles/wordpress/defaults/main.yml +++ b/roles/wordpress/defaults/main.yml @@ -1,5 +1,8 @@ -wordpress_install: True -wordpress_enabled: True +# wordpress_install: False +# wordpress_enabled: False + +# All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml +# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing! # If using WordPress intensively, consider setting apache_high_php_limits in: # /etc/iiab/local_vars.yml From fbf7ac75a9f9ea6c0a7affdc167569d6b7999ec2 Mon Sep 17 00:00:00 2001 From: A Holt Date: Mon, 4 Mar 2019 22:43:13 -0500 Subject: [PATCH 28/64] Update main.yml --- roles/mediawiki/defaults/main.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/roles/mediawiki/defaults/main.yml b/roles/mediawiki/defaults/main.yml index ee1b624bc..975f9f219 100644 --- a/roles/mediawiki/defaults/main.yml +++ b/roles/mediawiki/defaults/main.yml @@ -1,3 +1,9 @@ +# mediawiki_install: False +# mediawiki_enabled: False + +# All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml +# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing! + mediawiki_major_version: "1.32" mediawiki_minor_version: "0" mediawiki_version: "{{ mediawiki_major_version }}.{{ mediawiki_minor_version }}" @@ -14,11 +20,8 @@ mediawiki_admin_user_password: changeme mediawiki_site_name: Community Wiki -mediawiki_install: True -mediawiki_enabled: True - -mediawiki_install_path: "{{ content_base }}" +mediawiki_install_path: "{{ content_base }}" # /library mediawiki_abs_path: "{{ mediawiki_install_path }}/mediawiki-{{ mediawiki_version }}" mediawiki_url: /mediawiki -mediawiki_full_url: "http://{{ iiab_hostname }}.{{ iiab_domain }}/{{ mediawiki_url }}" +mediawiki_full_url: "http://{{ iiab_hostname }}.{{ iiab_domain }}{{ mediawiki_url }}" # http://box.lan/mediawiki From bd4b991afdbfe3df25c730012599d87b36d9fa5e Mon Sep 17 00:00:00 2001 From: A Holt Date: Mon, 4 Mar 2019 22:44:32 -0500 Subject: [PATCH 29/64] Update main.yml --- roles/kiwix/defaults/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/kiwix/defaults/main.yml b/roles/kiwix/defaults/main.yml index a2a5ad98f..636aa8c87 100644 --- a/roles/kiwix/defaults/main.yml +++ b/roles/kiwix/defaults/main.yml @@ -1,8 +1,8 @@ -#kiwix_install: True -#kiwix_enabled: True +# kiwix_install: True +# kiwix_enabled: True -#kiwix_port: 3000 -#iiab_zim_path: "{{ content_base }}/zims" # /library +# kiwix_port: 3000 +# iiab_zim_path: "{{ content_base }}/zims" # /library # All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml # If nec, change them by editing /etc/iiab/local_vars.yml prior to installing! From 7f60809490c3c360ef5a95348747ecaf03494ae2 Mon Sep 17 00:00:00 2001 From: A Holt Date: Mon, 4 Mar 2019 22:48:37 -0500 Subject: [PATCH 30/64] 0.1.38 -> 0.1.39 --- roles/lokole/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/lokole/defaults/main.yml b/roles/lokole/defaults/main.yml index 91271f72a..02e245d81 100644 --- a/roles/lokole/defaults/main.yml +++ b/roles/lokole/defaults/main.yml @@ -5,7 +5,7 @@ # If nec, change them by editing /etc/iiab/local_vars.yml prior to installing! # Info needed to install Lokole -lokole_version: "0.1.38" +lokole_version: "0.1.39" lokole_admin_user: admin # lowercase seems nec here (even though uppercase Admin/changeme is IIAB's OOB recommendation!) lokole_admin_password: changeme lokole_install_path: "{{ content_base }}/lokole" # /library/lokole From 8f555becdd2587c4eef796d12543d734dc56441f Mon Sep 17 00:00:00 2001 From: A Holt Date: Tue, 5 Mar 2019 12:56:11 -0500 Subject: [PATCH 31/64] Update main.yml --- roles/captive-portal/defaults/main.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/roles/captive-portal/defaults/main.yml b/roles/captive-portal/defaults/main.yml index fab470665..20923cdd8 100644 --- a/roles/captive-portal/defaults/main.yml +++ b/roles/captive-portal/defaults/main.yml @@ -1 +1,7 @@ -captive_portal_port: 9090 +# captive_portal_install: False +# captive_portal_enabled: False + +# captive_portal_port: 9090 + +# All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml +# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing! From 67bb8e2336e3648bdd61c49cf23e1edb21f61d44 Mon Sep 17 00:00:00 2001 From: A Holt Date: Tue, 5 Mar 2019 12:56:46 -0500 Subject: [PATCH 32/64] Update main.yml --- roles/kolibri/defaults/main.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/roles/kolibri/defaults/main.yml b/roles/kolibri/defaults/main.yml index a05e107d3..17956e28e 100644 --- a/roles/kolibri/defaults/main.yml +++ b/roles/kolibri/defaults/main.yml @@ -1,14 +1,14 @@ -# The values here are defaults. -# To override them edit /etc/iiab/local_vars.yml +# kolibri_install: False +# kolibri_enabled: False -# Installation Variables -kolibri_install: False -kolibri_enabled: False +# kolibri_http_port: 8009 + +# All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml +# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing! # Kolibri folder to store its data and configuration files. kolibri_home: "{{ content_base }}/kolibri" -kolibri_http_port: 8009 kolibri_url: /kolibri kolibri_venv_path: /usr/local/kolibri # 2018-07-16: IIAB recommends /usr/bin but @arky says this isn't yet possible, due to pip From a3c1af1322cc1d22cae46e6614b8164cfcdfe1ff Mon Sep 17 00:00:00 2001 From: A Holt Date: Tue, 5 Mar 2019 12:58:52 -0500 Subject: [PATCH 33/64] kalite_enabled: True fixed to align with MIN-sized --- vars/default_vars.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vars/default_vars.yml b/vars/default_vars.yml index 83b3cfb3b..bcfe00f71 100644 --- a/vars/default_vars.yml +++ b/vars/default_vars.yml @@ -315,7 +315,7 @@ wordpress_enabled: False # KA Lite - SEE THE "Transmission" BITTORRENT DOWNLOADER FURTHER BELOW, TO INSTALL THOUSANDS OF VIDEOS kalite_install: True -kalite_enabled: False +kalite_enabled: True kalite_server_port: 8008 kalite_root: "/library/ka-lite" # Unused in 2018; but remain as placeholders for Fedora 18 legacy (XO laptops) From dc399f1fbf0dacbc203f8ec55d128aa04035144c Mon Sep 17 00:00:00 2001 From: A Holt Date: Tue, 5 Mar 2019 13:05:35 -0500 Subject: [PATCH 34/64] Update default_vars.yml --- vars/default_vars.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vars/default_vars.yml b/vars/default_vars.yml index bcfe00f71..b04a7dc37 100644 --- a/vars/default_vars.yml +++ b/vars/default_vars.yml @@ -317,7 +317,7 @@ wordpress_enabled: False kalite_install: True kalite_enabled: True kalite_server_port: 8008 -kalite_root: "/library/ka-lite" +kalite_root: "{{ content_base }}/ka-lite" # /library # Unused in 2018; but remain as placeholders for Fedora 18 legacy (XO laptops) kalite_cron_enabled: False kalite_user: kalite From eece5e6656c19b2ed94d3fc64fc4b6d223abb463 Mon Sep 17 00:00:00 2001 From: A Holt Date: Tue, 5 Mar 2019 13:06:48 -0500 Subject: [PATCH 35/64] Update main.yml --- roles/kalite/defaults/main.yml | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/roles/kalite/defaults/main.yml b/roles/kalite/defaults/main.yml index 3d4683c0f..fa793bcd6 100644 --- a/roles/kalite/defaults/main.yml +++ b/roles/kalite/defaults/main.yml @@ -1,8 +1,18 @@ -# The values here are defaults. -# To override them edit /etc/iiab/local_vars.yml +# kalite_install: True +# kalite_enabled: True -kalite_install: True -kalite_enabled: False +# kalite_server_port: 8008 +# kalite_root: "{{ content_base }}/ka-lite" # /library + +# Unused in 2018; but remain as placeholders for Fedora 18 legacy (XO laptops) +# kalite_cron_enabled: False +# kalite_user: kalite +# Obtain a password hash with - python -c 'import crypt; print crypt.crypt("", "$6$<salt>")' +# kalite_password_hash: $6$<salt>$KHET0XRRsgAY.wOWyTOI3W7dyDh0ESOr48uI5vtk2xdzsU7aw0TF4ZkNuM34RmHBGMJ1fTCmOyVobo0LOhBlJ/ +# kalite_password: kalite + +# All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml +# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing! kalite_version: "0.17.5" kalite_repo_url: "https://github.com/learningequality/ka-lite.git" @@ -12,18 +22,5 @@ kalite_venv: "/usr/local/kalite/venv" kalite_program: "{{ kalite_venv }}/bin/kalite" kalite_root: "/library/ka-lite" -kalite_server_port: 8008 kalite_admin_user: Admin kalite_admin_password: changeme - -# Unused in 2018; but remain as placeholders for Fedora 18 legacy (XO laptops) -kalite_cron_enabled: False -kalite_user: kalite -# obtain a password hash with - python -c 'import crypt; print crypt.crypt("<plaintext>", "$6$<salt>")' -kalite_password_hash: $6$<salt>$KHET0XRRsgAY.wOWyTOI3W7dyDh0ESOr48uI5vtk2xdzsU7aw0TF4ZkNuM34RmHBGMJ1fTCmOyVobo0LOhBlJ/ -kalite_password: kalite - -# Unused in 2018 -# kalite_server_name: kalite -# khan_assessment_install: True -# khan_assessment_url: "http://pantry.learningequality.org/downloads/ka-lite/0.16/content/khan_assessment.zip" From 60eef9a5f3a88947c2cd51959a8f75ad935e35bd Mon Sep 17 00:00:00 2001 From: A Holt <holta@users.noreply.github.com> Date: Tue, 5 Mar 2019 13:08:54 -0500 Subject: [PATCH 36/64] Update main.yml --- roles/mongodb/defaults/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/mongodb/defaults/main.yml b/roles/mongodb/defaults/main.yml index 73dd0c0c9..e9a4e0410 100644 --- a/roles/mongodb/defaults/main.yml +++ b/roles/mongodb/defaults/main.yml @@ -1,5 +1,6 @@ # mongodb_install: False # mongodb_enabled: False + # mongodb_port: 27018 # All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml From 9dab41be3437a88b01c7f33f640d90ad0dee343e Mon Sep 17 00:00:00 2001 From: A Holt <holta@users.noreply.github.com> Date: Tue, 5 Mar 2019 13:10:24 -0500 Subject: [PATCH 37/64] Update main.yml --- roles/moodle/defaults/main.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/roles/moodle/defaults/main.yml b/roles/moodle/defaults/main.yml index 46cdb8c59..467d2c47d 100644 --- a/roles/moodle/defaults/main.yml +++ b/roles/moodle/defaults/main.yml @@ -1,5 +1,8 @@ -#moodle_install: True -#moodle_enabled: False +# moodle_install: False +# moodle_enabled: False + +# All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml +# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing! # If using Moodle intensively, consider setting apache_high_php_limits in: # /etc/iiab/local_vars.yml @@ -7,7 +10,7 @@ moodle_version: 35 #moodle_repo_url: "https://github.com/moodle/moodle.git" moodle_repo_url: "git://git.moodle.org/moodle.git" -moodle_base: "{{ iiab_base }}/moodle" +moodle_base: "{{ iiab_base }}/moodle" # /opt/iiab #moodle_user: moodle -moodle_data: '{{ content_base }}/moodle' +moodle_data: "{{ content_base }}/moodle" # /library moodle_database_name: moodle From 848c07492b991fa18643a38da8a7bbc973c866f4 Mon Sep 17 00:00:00 2001 From: A Holt <holta@users.noreply.github.com> Date: Tue, 5 Mar 2019 13:11:18 -0500 Subject: [PATCH 38/64] Update main.yml --- roles/mosquitto/defaults/main.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/roles/mosquitto/defaults/main.yml b/roles/mosquitto/defaults/main.yml index c27c3a538..0b7d33f5e 100644 --- a/roles/mosquitto/defaults/main.yml +++ b/roles/mosquitto/defaults/main.yml @@ -1,5 +1,10 @@ -mosquitto_install: False -mosquitto_enabled: False +# mosquitto_install: False +# mosquitto_enabled: False + +# mosquitto_port: 1883 + +# All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml +# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing! mosquitto_user: Admin mosquitto_password: changeme From 9abf9050eee5a5d457c6f5476b4620303983f4c4 Mon Sep 17 00:00:00 2001 From: A Holt <holta@users.noreply.github.com> Date: Tue, 5 Mar 2019 13:13:14 -0500 Subject: [PATCH 39/64] Update main.yml --- roles/dokuwiki/defaults/main.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/roles/dokuwiki/defaults/main.yml b/roles/dokuwiki/defaults/main.yml index b56141f4a..f55e8affb 100644 --- a/roles/dokuwiki/defaults/main.yml +++ b/roles/dokuwiki/defaults/main.yml @@ -1,4 +1,8 @@ -dokuwiki_url: /wiki -dokuwiki_install: True -dokuwiki_enabled: False +# dokuwiki_install: False +# dokuwiki_enabled: False + +# All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml +# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing! + dokuwiki_version: "dokuwiki-2018-04-22b" +dokuwiki_url: /wiki From 2e8bea921c54d5f76e08d3769aa1ece080030db4 Mon Sep 17 00:00:00 2001 From: A Holt <holta@users.noreply.github.com> Date: Tue, 5 Mar 2019 13:18:21 -0500 Subject: [PATCH 40/64] Update main.yml --- roles/elgg/defaults/main.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/roles/elgg/defaults/main.yml b/roles/elgg/defaults/main.yml index 642ae0c00..67c778bff 100644 --- a/roles/elgg/defaults/main.yml +++ b/roles/elgg/defaults/main.yml @@ -1,11 +1,18 @@ +# elgg_install: False +# elgg_enabled: False + +# # elgg_mysql_password: $6$iiab51$jeTwnATcbaa92xo0QBTgjLBU.5aVDDrbKeNyyC99R/TAWz6pvfzj.L7lfnOVVjD78nxqT.gkNn6XZmuRV0W3o1 +# elgg_mysql_password: elgg4kids + +# All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml +# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing! + elgg_xx: elgg elgg_version: "2.3.10" # elgg_mysql_password: defined in default_vars elgg_url: /elgg -elgg_upload_path: /library/elgg -elgg_install: True -elgg_enabled: False +elgg_upload_path: {{ content_base }}/elgg # /library # Variables used by template to create /opt/elgg/elgg-config/settings.php dbuser: Admin @@ -16,7 +23,7 @@ dbprefix: elgg_ # The following variables must be in sync with template/elggdb.sql.j2 # If you change them, you will probably have to rebuild the database. -# They can be changed from the administrative interface once elgg is installed. +# They can be changed from the administrative interface once Elgg is installed. elgg_admin_user: Admin elgg_admin_password: changeme From 1b69eaf8f211e79bdd21c1ebd60479031939e5a6 Mon Sep 17 00:00:00 2001 From: A Holt <holta@users.noreply.github.com> Date: Tue, 5 Mar 2019 13:23:59 -0500 Subject: [PATCH 41/64] Update default_vars.yml --- vars/default_vars.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vars/default_vars.yml b/vars/default_vars.yml index b04a7dc37..31a676cbb 100644 --- a/vars/default_vars.yml +++ b/vars/default_vars.yml @@ -317,7 +317,7 @@ wordpress_enabled: False kalite_install: True kalite_enabled: True kalite_server_port: 8008 -kalite_root: "{{ content_base }}/ka-lite" # /library +kalite_root: "{{ content_base }}/ka-lite" # /library/ka-lite # Unused in 2018; but remain as placeholders for Fedora 18 legacy (XO laptops) kalite_cron_enabled: False kalite_user: kalite @@ -331,7 +331,7 @@ kolibri_http_port: 8009 kiwix_install: True kiwix_enabled: True kiwix_port: 3000 -iiab_zim_path: "{{ content_base }}/zims" # /library +iiab_zim_path: "{{ content_base }}/zims" # /library/zims moodle_install: False moodle_enabled: False From 6d2f206231e01ccd8dd286b18e05284422a19a8a Mon Sep 17 00:00:00 2001 From: A Holt <holta@users.noreply.github.com> Date: Tue, 5 Mar 2019 13:24:56 -0500 Subject: [PATCH 42/64] Update main.yml --- roles/elgg/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/elgg/defaults/main.yml b/roles/elgg/defaults/main.yml index 67c778bff..8aeef0fe6 100644 --- a/roles/elgg/defaults/main.yml +++ b/roles/elgg/defaults/main.yml @@ -12,7 +12,7 @@ elgg_version: "2.3.10" # elgg_mysql_password: defined in default_vars elgg_url: /elgg -elgg_upload_path: {{ content_base }}/elgg # /library +elgg_upload_path: "{{ content_base }}/elgg" # /library/elgg # Variables used by template to create /opt/elgg/elgg-config/settings.php dbuser: Admin From 27afd61df60558bcd38fb360cb581354600ec87b Mon Sep 17 00:00:00 2001 From: A Holt <holta@users.noreply.github.com> Date: Tue, 5 Mar 2019 13:25:41 -0500 Subject: [PATCH 43/64] Update main.yml --- roles/mongodb/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/mongodb/defaults/main.yml b/roles/mongodb/defaults/main.yml index e9a4e0410..e1269e9d8 100644 --- a/roles/mongodb/defaults/main.yml +++ b/roles/mongodb/defaults/main.yml @@ -7,5 +7,5 @@ # If nec, change them by editing /etc/iiab/local_vars.yml prior to installing! mongodb_conf: /etc/mongod.conf -mongodb_db_path: "{{ content_base }}/dbdata/mongodb" # i.e. /library/dbdata/mongodb/ +mongodb_db_path: "{{ content_base }}/dbdata/mongodb" # /library/dbdata/mongodb mongodb_db_lock_file: "{{ mongodb_db_path }}/mongod.lock" From 8b546a03bd8b23080e207be91ddd0eb1f6540228 Mon Sep 17 00:00:00 2001 From: A Holt <holta@users.noreply.github.com> Date: Tue, 5 Mar 2019 13:26:09 -0500 Subject: [PATCH 44/64] Update main.yml --- roles/moodle/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/moodle/defaults/main.yml b/roles/moodle/defaults/main.yml index 467d2c47d..282ea5db0 100644 --- a/roles/moodle/defaults/main.yml +++ b/roles/moodle/defaults/main.yml @@ -12,5 +12,5 @@ moodle_version: 35 moodle_repo_url: "git://git.moodle.org/moodle.git" moodle_base: "{{ iiab_base }}/moodle" # /opt/iiab #moodle_user: moodle -moodle_data: "{{ content_base }}/moodle" # /library +moodle_data: "{{ content_base }}/moodle" # /library/moodle moodle_database_name: moodle From 51ecebed7aff5b1f427beb143f0aa2e47742fcaa Mon Sep 17 00:00:00 2001 From: A Holt <holta@users.noreply.github.com> Date: Tue, 5 Mar 2019 13:26:43 -0500 Subject: [PATCH 45/64] Update main.yml --- roles/kalite/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/kalite/defaults/main.yml b/roles/kalite/defaults/main.yml index fa793bcd6..0580e4096 100644 --- a/roles/kalite/defaults/main.yml +++ b/roles/kalite/defaults/main.yml @@ -2,7 +2,7 @@ # kalite_enabled: True # kalite_server_port: 8008 -# kalite_root: "{{ content_base }}/ka-lite" # /library +# kalite_root: "{{ content_base }}/ka-lite" # /library/ka-lite # Unused in 2018; but remain as placeholders for Fedora 18 legacy (XO laptops) # kalite_cron_enabled: False From 8535bb221c908809104f9e83d1b8cd36d195dd01 Mon Sep 17 00:00:00 2001 From: A Holt <holta@users.noreply.github.com> Date: Tue, 5 Mar 2019 13:26:58 -0500 Subject: [PATCH 46/64] Update main.yml --- roles/kiwix/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/kiwix/defaults/main.yml b/roles/kiwix/defaults/main.yml index 636aa8c87..4ff81da90 100644 --- a/roles/kiwix/defaults/main.yml +++ b/roles/kiwix/defaults/main.yml @@ -2,7 +2,7 @@ # kiwix_enabled: True # kiwix_port: 3000 -# iiab_zim_path: "{{ content_base }}/zims" # /library +# iiab_zim_path: "{{ content_base }}/zims" # /library/zims # All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml # If nec, change them by editing /etc/iiab/local_vars.yml prior to installing! From 219accbe99b1de53be77226166e1d25afe1b81b9 Mon Sep 17 00:00:00 2001 From: A Holt <holta@users.noreply.github.com> Date: Tue, 5 Mar 2019 13:28:05 -0500 Subject: [PATCH 47/64] Update main.yml --- roles/kolibri/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/kolibri/defaults/main.yml b/roles/kolibri/defaults/main.yml index 17956e28e..94e1067c7 100644 --- a/roles/kolibri/defaults/main.yml +++ b/roles/kolibri/defaults/main.yml @@ -7,7 +7,7 @@ # If nec, change them by editing /etc/iiab/local_vars.yml prior to installing! # Kolibri folder to store its data and configuration files. -kolibri_home: "{{ content_base }}/kolibri" +kolibri_home: "{{ content_base }}/kolibri" # /library/kolibri kolibri_url: /kolibri kolibri_venv_path: /usr/local/kolibri From e5e1157a8fd0ef556f2019d1c03388e1e578d872 Mon Sep 17 00:00:00 2001 From: A Holt <holta@users.noreply.github.com> Date: Tue, 5 Mar 2019 13:29:02 -0500 Subject: [PATCH 48/64] Update main.yml --- roles/awstats/defaults/main.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/roles/awstats/defaults/main.yml b/roles/awstats/defaults/main.yml index 0fb92113a..78a5fc868 100644 --- a/roles/awstats/defaults/main.yml +++ b/roles/awstats/defaults/main.yml @@ -1,3 +1,7 @@ -awstats_install: True -awstats_enabled: False -awstats_data_dir: /library/awstats/ +# awstats_install: True +# awstats_enabled: True + +# All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml +# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing! + +awstats_data_dir: "{{ content_base }}/awstats/" # /library/awstats From d15a766c7a816434a88a30f2bb07093a70fa2ac5 Mon Sep 17 00:00:00 2001 From: A Holt <holta@users.noreply.github.com> Date: Tue, 5 Mar 2019 13:45:08 -0500 Subject: [PATCH 49/64] Update main.yml --- roles/calibre-web/defaults/main.yml | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/roles/calibre-web/defaults/main.yml b/roles/calibre-web/defaults/main.yml index 8ad670c08..1ac25be74 100644 --- a/roles/calibre-web/defaults/main.yml +++ b/roles/calibre-web/defaults/main.yml @@ -1,17 +1,20 @@ -# The values here are defaults. -# To override them edit /etc/iiab/local_vars.yml +# Calibre-Web alternative to Calibre, offers a clean/modern UX -# Installation Variables -calibreweb_install: False -calibreweb_enabled: False +# calibreweb_install: False +# calibreweb_enabled: False + +# calibreweb_port: 8083 # PORT VARIABLE HAS NO EFFECT (as of January 2019) + +# calibreweb_url: /books # FOR SHORT URL http://box/books -- add {box/libros, box/livres, box/livros, box/liv} etc? + +# calibreweb_home: "{{ content_base }}/calibre-web" # /library/calibre-web for books, metadata.db & config/app.db + +# All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml +# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing! -calibreweb_port: 8083 # PORT VARIABLE HAS NO EFFECT (as of January 2019) -calibreweb_url: /books calibreweb_venv_path: /usr/local/calibre-web calibreweb_exec_path: "{{ calibreweb_venv_path }}/cps.py" -# calibre-web folder to store its data files. -calibreweb_home: "{{ content_base }}/calibre-web" # /library/calibre-web # calibre-web folder to store configuration files. calibreweb_config: "{{ calibreweb_home }}/config" @@ -24,6 +27,6 @@ calibreweb_database: metadata.db # calibre-web system user calibreweb_user: root -# calibre-web admin account +# UNUSED variables, as of March 2019: # calibreweb_admin_user: Admin # calibreweb_admin_password: changeme From b14f0e5fb378d7b84535d10d07d25130f7400329 Mon Sep 17 00:00:00 2001 From: A Holt <holta@users.noreply.github.com> Date: Tue, 5 Mar 2019 13:58:16 -0500 Subject: [PATCH 50/64] Update default_vars.yml --- vars/default_vars.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/vars/default_vars.yml b/vars/default_vars.yml index 31a676cbb..7fcc07327 100644 --- a/vars/default_vars.yml +++ b/vars/default_vars.yml @@ -431,9 +431,10 @@ calibre_unstable_debs: False calibre_via_python: False # Change calibre_port to 8010 if you're using XO laptops needing above idmgr ? calibre_port: 8080 -# Change calibre to XYZ add your own mnemonic URL like: http://box/XYZ -calibre_web_path: calibre #NEEDS WORK: https://github.com/iiab/iiab/issues/529 -# Avoid collisions with calibreweb_url: below! +# http://box:8080 & http://box:8080/mobile WORK FOR NOW, but short/mnemonic +# URL's like http://box/calibre DON'T YET WORK -- BOOKS RARELY DISPLAY: +calibre_web_path: calibre # NEEDS WORK: https://github.com/iiab/iiab/issues/529 +# Avoid URL collisions with calibreweb_url: below! # WARNING: Calibre-Web (below) depends on Calibre's own /usr/bin/ebook-convert # program, so we recommend you also install Calibre (above!) From 5bd1550667f638d7ba3096b15821058038e1afb2 Mon Sep 17 00:00:00 2001 From: A Holt <holta@users.noreply.github.com> Date: Tue, 5 Mar 2019 14:00:07 -0500 Subject: [PATCH 51/64] Update main.yml --- roles/calibre/defaults/main.yml | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/roles/calibre/defaults/main.yml b/roles/calibre/defaults/main.yml index 44ed043e6..aad43da11 100644 --- a/roles/calibre/defaults/main.yml +++ b/roles/calibre/defaults/main.yml @@ -1,8 +1,27 @@ -calibre_port: 8080 +# Calibre E-Book Library +# WARNING: CALIBRE INSTALLS GRAPHICAL LIBRARIES SIMILAR TO X WINDOWS & OPENGL +# ON (HEADLESS, SERVER, LITE) OS'S THAT DON'T ALREADY HAVE THESE INSTALLED. -# http://box:8080 & http://box:8080/mobile WORK BUT THESE OTHER URL'S ARE A MESS (BOOKS RARELY DISPLAY) -calibre_web_path: calibre -# In addition to: http://box:8080 http://box/books box/libros box/livres box/livros box/liv +# calibre_install: False +# calibre_enabled: False + +# vars/raspbian-9.yml tries the .deb upgrade of Calibre, overriding this default: +# calibre_via_debs: False +# calibre_unstable_debs: False + +# vars/<most-OS's>.yml use Calibre's python installer/upgrader (x86_64), overriding this default: +# calibre_via_python: False + +# Change calibre_port to 8010 if you're using XO laptops needing above idmgr ? +# calibre_port: 8080 + +# http://box:8080 & http://box:8080/mobile WORK FOR NOW, but short/mnemonic +# URL's like http://box/calibre DON'T YET WORK -- BOOKS RARELY DISPLAY: +# calibre_web_path: calibre # NEEDS WORK: https://github.com/iiab/iiab/issues/529 +# Avoid URL collisions with calibreweb_url ! + +# All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml +# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing! calibre_dbpath: "{{ content_base }}/calibre" # i.e. /library/calibre (holds metadata.db + book directories + our users.sqlite) From c96de99a0031c407cb819c6ea1e06fab6c966398 Mon Sep 17 00:00:00 2001 From: A Holt <holta@users.noreply.github.com> Date: Tue, 5 Mar 2019 14:00:21 -0500 Subject: [PATCH 52/64] Update main.yml --- roles/cups/defaults/main.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/roles/cups/defaults/main.yml b/roles/cups/defaults/main.yml index 4d9d5227e..2276cfd44 100644 --- a/roles/cups/defaults/main.yml +++ b/roles/cups/defaults/main.yml @@ -1,2 +1,7 @@ -cups_install: True -cups_enabled: False +# cups_install: False +# cups_enabled: False + +# cups_port: 631 + +# All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml +# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing! From 903454dbc52e6f52fa4c624e44f485c0a142f729 Mon Sep 17 00:00:00 2001 From: A Holt <holta@users.noreply.github.com> Date: Tue, 5 Mar 2019 14:02:06 -0500 Subject: [PATCH 53/64] Update main.yml --- roles/sugarizer/defaults/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/sugarizer/defaults/main.yml b/roles/sugarizer/defaults/main.yml index ce2d1e36a..a049fe066 100644 --- a/roles/sugarizer/defaults/main.yml +++ b/roles/sugarizer/defaults/main.yml @@ -3,6 +3,7 @@ # sugarizer_install: False # sugarizer_enabled: False + # sugarizer_port: 8089 # All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml From bba7f9455f719abd9d21369918dbb2138eff3dba Mon Sep 17 00:00:00 2001 From: A Holt <holta@users.noreply.github.com> Date: Tue, 5 Mar 2019 14:05:01 -0500 Subject: [PATCH 54/64] Update default_vars.yml --- vars/default_vars.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vars/default_vars.yml b/vars/default_vars.yml index 7fcc07327..0bc92c457 100644 --- a/vars/default_vars.yml +++ b/vars/default_vars.yml @@ -225,7 +225,7 @@ cups_install: False cups_enabled: False cups_port: 631 -# Samba. Take a security audit seriously before deploying this. +# Samba. Do a security audit seriously before deploying this. samba_install: False samba_enabled: False From 9bdff6a9a66f2d9caa32322480c6af50f0bd21bb Mon Sep 17 00:00:00 2001 From: A Holt <holta@users.noreply.github.com> Date: Tue, 5 Mar 2019 14:06:48 -0500 Subject: [PATCH 55/64] Update main.yml --- roles/samba/defaults/main.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/roles/samba/defaults/main.yml b/roles/samba/defaults/main.yml index 7de2c790a..e647c8567 100644 --- a/roles/samba/defaults/main.yml +++ b/roles/samba/defaults/main.yml @@ -1,6 +1,13 @@ ---- - smbuser : smbuser - smbpassword : $6$51iiab$VXzRJK88k9k8SXd5sjs37bEbVQ9x4ob1ng7A5PSGyoVXTKQrhu.89BRuXZAgn8a2DPqZkKDcCpqCZVOs.cieT/ +# Samba: do a security audit seriously before deploying this. + +# samba_install: False +# samba_enabled: False + +# shared_dir : "{{ content_base }}/public" # /library/public + +# All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml +# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing! + +smbuser : smbuser +smbpassword : $6$51iiab$VXzRJK88k9k8SXd5sjs37bEbVQ9x4ob1ng7A5PSGyoVXTKQrhu.89BRuXZAgn8a2DPqZkKDcCpqCZVOs.cieT/ # python -c 'import crypt; print crypt.crypt("smbpw", "$6$51iiab")' - shared_dir : /library/public - samba_enabled : false From 7af12f3cdf1d0665b6bc2ca2dda5c8612caeb6f8 Mon Sep 17 00:00:00 2001 From: A Holt <holta@users.noreply.github.com> Date: Tue, 5 Mar 2019 14:07:36 -0500 Subject: [PATCH 56/64] Update default_vars.yml --- vars/default_vars.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/vars/default_vars.yml b/vars/default_vars.yml index 0bc92c457..f489923fd 100644 --- a/vars/default_vars.yml +++ b/vars/default_vars.yml @@ -228,6 +228,7 @@ cups_port: 631 # Samba. Do a security audit seriously before deploying this. samba_install: False samba_enabled: False +shared_dir : "{{ content_base }}/public" # /library/public # usb-lib usb_lib_install: True From 706c0c19d451cb5d3df4049fdb8d9a73e7321e51 Mon Sep 17 00:00:00 2001 From: A Holt <holta@users.noreply.github.com> Date: Tue, 5 Mar 2019 14:08:51 -0500 Subject: [PATCH 57/64] Update main.yml --- roles/usb-lib/defaults/main.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/roles/usb-lib/defaults/main.yml b/roles/usb-lib/defaults/main.yml index d4a297bbb..fdfd389cc 100644 --- a/roles/usb-lib/defaults/main.yml +++ b/roles/usb-lib/defaults/main.yml @@ -1,2 +1,8 @@ -usb_lib_install: True -usb_lib_enabled: True +# usb_lib_install: True +# usb_lib_enabled: True + +# Show entire contents of USB sticks/drives (at http://box/usb) +# iiab_usb_lib_show_all: True + +# All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml +# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing! From d92e22f792e0d88d4ddf2b9a485e1940bfb293ec Mon Sep 17 00:00:00 2001 From: A Holt <holta@users.noreply.github.com> Date: Tue, 5 Mar 2019 14:17:18 -0500 Subject: [PATCH 58/64] Update main.yml --- roles/transmission/defaults/main.yml | 40 ++++++++++++++-------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/roles/transmission/defaults/main.yml b/roles/transmission/defaults/main.yml index 9e964accf..20918340c 100644 --- a/roles/transmission/defaults/main.yml +++ b/roles/transmission/defaults/main.yml @@ -1,27 +1,24 @@ -# The values here are defaults. -# To override them edit /etc/iiab/local_vars.yml - -# Installation Variables -transmission_install: False -transmission_enabled: False +# Transmission is a BitTorrent downloader for large Content Packs etc +# transmission_install: False +# transmission_enabled: False # Transmission download directory & general owner/group -transmission_download_dir: "{{ content_base }}/transmission/" # /library/transmission/ -transmission_user: debian-transmission -transmission_group: root +# transmission_download_dir: "{{ content_base }}/transmission/" # /library/transmission/ +# transmission_user: debian-transmission +# transmission_group: root # Monitor downloads at http://box:9091 or http://box:9091/transmission using Admin/changeme -transmission_http_port: 9091 -transmission_url : "/transmission/" -transmission_peer_port: 51413 +# transmission_http_port: 9091 +# transmission_url : "/transmission/" +# transmission_peer_port: 51413 # Provision Transmission with torrent(s) from http://pantry.learningequality.org/downloads/ka-lite/0.17/content/ -transmission_provision: True -transmission_kalite_version: 0.17 +# transmission_provision: True +# transmission_kalite_version: 0.17 -# A. Uncomment language(s) in /etc/iiab/local_vars.yml to download KA Lite videos to /library/transmission -transmission_kalite_languages: - - english +# A. UNCOMMENT LANGUAGE(S) IN /etc/iiab/local_vars.yml TO DOWNLOAD KA Lite VIDEOS TO /library/transmission +# transmission_kalite_languages: + #- english #- french #- hindi #- portugal-portuguese @@ -29,7 +26,7 @@ transmission_kalite_languages: #- spanish #- swahili # B. Monitor BitTorrent downloads at http://box:9091 using Admin/changeme -# until the download is confirmed complete (can take hours or days!) +# until the download is confirmed complete (can take hours if not days!) # C. Carefully move all videos/thumbnails into /library/ka-lite/content # (DO NOT OVERWRITE SUBFOLDERS assessment, locale, srt !) # D. Log in to KA Lite at http://box:8008/updates/videos/ using Admin/changeme @@ -37,5 +34,8 @@ transmission_kalite_languages: # E. READ "KA Lite Administration: What tips & tricks exist?" AT http://FAQ.IIAB.IO # Transmission administrative account -transmission_username: Admin -transmission_password: changeme +# transmission_username: Admin +# transmission_password: changeme + +# All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml +# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing! From 802fa51a6a4f3c1a59a3b39162017854e89eed3c Mon Sep 17 00:00:00 2001 From: A Holt <holta@users.noreply.github.com> Date: Tue, 5 Mar 2019 14:18:35 -0500 Subject: [PATCH 59/64] Update default_vars.yml --- vars/default_vars.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vars/default_vars.yml b/vars/default_vars.yml index f489923fd..4e3732b56 100644 --- a/vars/default_vars.yml +++ b/vars/default_vars.yml @@ -373,7 +373,7 @@ transmission_peer_port: 51413 transmission_provision: True transmission_kalite_version: 0.17 -# A. Uncomment language(s) in /etc/iiab/local_vars.yml to download KA Lite videos to /library/transmission +# A. UNCOMMENT LANGUAGE(S) IN /etc/iiab/local_vars.yml TO DOWNLOAD KA Lite VIDEOS TO /library/transmission transmission_kalite_languages: #- english #- french From c6e47ac913f586d435c051e507c48fc7402dde3c Mon Sep 17 00:00:00 2001 From: A Holt <holta@users.noreply.github.com> Date: Tue, 5 Mar 2019 14:21:30 -0500 Subject: [PATCH 60/64] Update local_vars_min.yml --- vars/local_vars_min.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vars/local_vars_min.yml b/vars/local_vars_min.yml index bbab412b4..f246f8424 100644 --- a/vars/local_vars_min.yml +++ b/vars/local_vars_min.yml @@ -236,7 +236,7 @@ sugarizer_enabled: False # BitTorrent downloader for large Content Packs etc transmission_install: False transmission_enabled: False -# A. Uncomment language(s) to download KA Lite videos to /library/transmission +# A. UNCOMMENT LANGUAGE(S) TO DOWNLOAD KA Lite VIDEOS TO /library/transmission # using http://pantry.learningequality.org/downloads/ka-lite/0.17/content/ transmission_kalite_languages: #- english From f73df43fc905d285c501872037c1e7ad109e67b4 Mon Sep 17 00:00:00 2001 From: A Holt <holta@users.noreply.github.com> Date: Tue, 5 Mar 2019 14:22:07 -0500 Subject: [PATCH 61/64] Update local_vars_medium.yml --- vars/local_vars_medium.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vars/local_vars_medium.yml b/vars/local_vars_medium.yml index fa40d5ca0..f8a6199aa 100644 --- a/vars/local_vars_medium.yml +++ b/vars/local_vars_medium.yml @@ -236,7 +236,7 @@ sugarizer_enabled: True # BitTorrent downloader for large Content Packs etc transmission_install: True transmission_enabled: True -# A. Uncomment language(s) to download KA Lite videos to /library/transmission +# A. UNCOMMENT LANGUAGE(S) TO DOWNLOAD KA Lite VIDEOS TO /library/transmission # using http://pantry.learningequality.org/downloads/ka-lite/0.17/content/ transmission_kalite_languages: #- english From c6e316179fd5e0df18455821296a3fa25d50a3f6 Mon Sep 17 00:00:00 2001 From: A Holt <holta@users.noreply.github.com> Date: Tue, 5 Mar 2019 14:22:37 -0500 Subject: [PATCH 62/64] Update local_vars_big.yml --- vars/local_vars_big.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vars/local_vars_big.yml b/vars/local_vars_big.yml index ba6614808..37c818730 100644 --- a/vars/local_vars_big.yml +++ b/vars/local_vars_big.yml @@ -236,7 +236,7 @@ sugarizer_enabled: True # BitTorrent downloader for large Content Packs etc transmission_install: True transmission_enabled: True -# A. Uncomment language(s) to download KA Lite videos to /library/transmission +# A. UNCOMMENT LANGUAGE(S) TO DOWNLOAD KA Lite VIDEOS TO /library/transmission # using http://pantry.learningequality.org/downloads/ka-lite/0.17/content/ transmission_kalite_languages: #- english From 9acfc05aac46ee7360282fa07c76da4496857de5 Mon Sep 17 00:00:00 2001 From: A Holt <holta@users.noreply.github.com> Date: Tue, 5 Mar 2019 14:35:12 -0500 Subject: [PATCH 63/64] Update main.yml --- roles/nodered/defaults/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/nodered/defaults/main.yml b/roles/nodered/defaults/main.yml index 2bbe417aa..f68a595d3 100644 --- a/roles/nodered/defaults/main.yml +++ b/roles/nodered/defaults/main.yml @@ -1,5 +1,6 @@ # nodered_install: False # nodered_enabled: False + # nodered_port: 1880 # For http://box/nodered reverse proxy of http://box:1880/nodered From 9ec46793878b9e9f3c2d72463822728f59fac9c9 Mon Sep 17 00:00:00 2001 From: A Holt <holta@users.noreply.github.com> Date: Tue, 5 Mar 2019 14:37:17 -0500 Subject: [PATCH 64/64] Update main.yml --- roles/pbx/defaults/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/pbx/defaults/main.yml b/roles/pbx/defaults/main.yml index 5c5da4892..6b012f098 100644 --- a/roles/pbx/defaults/main.yml +++ b/roles/pbx/defaults/main.yml @@ -1,6 +1,11 @@ +# A full-featured PBX (for rural telephony, etc) based on Asterisk and FreePBX. +# Works on Ubuntu 18.04, Debian 9. Experimental on Rasp/RPi 3. Uses Node.js 10.x + # pbx_install: False # pbx_enabled: False + # asterisk_chan_dongle: False + # pbx_signaling_ports_chan_sip: "5160:5161" # pbx_signaling_ports_chan_pjsip: "5060" # pbx_data_ports: "10000:20000"