#!/bin/bash # Copied from: https://github.com/iiab/iiab-factory/blob/master/install.txt # To install Internet-in-a-Box (IIAB) 7.1 onto Raspberry Pi OS, Ubuntu 20.04 # or Debian 10, run this 1-line installer: # # curl d.iiab.io/7.1/install.txt | sudo bash # 1. WARNING: NOOBS IS *NOT* SUPPORTED, as its partitioning is very different. # On a Raspberry Pi, PLEASE INSTALL THE LATEST 32-BIT RASPBERRY PI OS: # https://www.raspberrypi.org/documentation/installation/installing-images/README.md # To attempt IIAB 7.1 on another Linux see the full/manual instructions: # https://github.com/iiab/iiab/wiki/IIAB-Installation#do-everything-from-scratch # 2. An Ethernet cable is HIGHLY RECOMMENDED during installation, as this is # more reliable than Wi-Fi (and faster!) # 3. Run 'sudo raspi-config' on RPi, to set LOCALISATION OPTIONS # 4. OPTIONAL: if you have slow/pricey Internet, pre-position KA Lite's # mandatory 0.9 GB English Pack (en.zip) within /tmp -- you can grab a copy # from http://pantry.learningequality.org/downloads/ka-lite/0.17/content/contentpacks/en.zip # 5. WHEN YOU RUN 1-LINE INSTALLER 'curl d.iiab.io/install.txt | sudo bash' # YOU THEN NEED TO TYPE IN YOUR PASSWORD IF ON UBUNTU/DEBIAN/ETC (for sudo) # ^^^ ^^^^ ^^^^ ^^ ^^^^ ^^ ^^^^ ^^^^^^^^ # 6. Follow on-screen instructions (TYPE 'sudo iiab' TO RESUME IF EVER NECESS!) # 7. About 1-2 hours later, it will announce that INTERNET-IN-A-BOX (IIAB) # SOFTWARE INSTALL IS COMPLETE, prompting you to reboot...TO ADD CONTENT! # Thanks For Building Your Own Library To Serve One & All # # IIAB 7.1 Release Notes: # https://github.com/iiab/iiab/wiki/IIAB-7.1-Release-Notes # # Write to bugs @ iiab.io if you find issues, Thank You! Special Thanks to the # countries+communities+volunteers who worked non-stop to bring about IIAB 7.1! # # IIAB Development Team # http://FAQ.IIAB.IO set -e # Exit on error (avoids snowballing) export DEBIAN_FRONTEND=noninteractive # Bypass (most!) interactive questions # Save script to /usr/sbin/iiab (easy resume/continue mnemonic 'sudo iiab') mv /usr/sbin/iiab /usr/sbin/iiab.old || true # Overrides 'set -e' curl http://d.iiab.io/7.1/iiab > /usr/sbin/iiab #curl https://raw.githubusercontent.com/iiab/iiab-factory/master/iiab > /usr/sbin/iiab chmod 0744 /usr/sbin/iiab # Run install script! /usr/sbin/iiab