Skip to content

Instantly share code, notes, and snippets.

@AaronNBrock
Created March 7, 2019 17:02
Show Gist options
  • Save AaronNBrock/b001a65fa15875836c1c2afe7408a453 to your computer and use it in GitHub Desktop.
Save AaronNBrock/b001a65fa15875836c1c2afe7408a453 to your computer and use it in GitHub Desktop.
Script started on 2019-03-07 17:00:21+0000
aaron@box:~$ sudo iiab
[sudo] password for aaron:
Sorry, try again.
[sudo] password for aaron:
User 'iiab-admin' retains default password 'g0adm1n' per http://FAQ.IIAB.IO
This is for login to Internet-in-a-Box's Admin Console (http://box.lan/admin)
What password do you want for GNU/Linux user 'iiab-admin' ?
No password supplied
No password supplied
No password supplied
chpasswd: (user iiab-admin) pam_chauthtok() failed, error:
Authentication token manipulation error
chpasswd: (line 1, user iiab-admin) password not changed
EXISTING /etc/iiab/local_vars.yml is being used to install Internet-in-a-Box
πŸš‚ πŸšƒ πŸš„ πŸš… πŸš† πŸš‡ 🚈 πŸš‰ 🚊 πŸš‹ 🚌 🚍 🚎 🚏 🚐 πŸš‘ πŸš’ 🚚 πŸš› 🚜 🚞 🚟 🚠 🚑 🚲
Google 'local_vars.yml' to learn more!
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆ β–ˆβ–ˆ
β–ˆβ–ˆ RUN 'sudo iiab' IF THIS INSTALL SCRIPT EVER FAILS, TO TRY TO CONTINUE! β–ˆβ–ˆ
β–ˆβ–ˆ β–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
'apt update' is checking for OS updates...
All packages are up to date.
Hit [ENTER] to confirm you'll TRY TO RERUN 'sudo iiab' IF THERE IS A PROBLEM:
DOWNLOAD (CLONE) IIAB'S 3 KEY REPOS INTO /opt/iiab ...
Reading package lists... 0% Reading package lists... 100% Reading package lists... Done
Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree
Reading state information... 0% Reading state information... 0% Reading state information... Done
git is already the newest version (1:2.17.1-1ubuntu0.4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
REPO EXISTS? Consider 'cd /opt/iiab/iiab; git pull'
REPO EXISTS? Consider 'cd /opt/iiab/iiab-admin-console; git pull'
REPO EXISTS? Consider 'cd /opt/iiab/iiab-factory; git pull'
INSTALL ANSIBLE + CORE IIAB SOFTWARE + ADMIN CONSOLE / CONTENT PACK MENUS...
Install Ansible...
YOU ARE RUNNING: /opt/iiab/iiab/scripts/ansible (TO INSTALL ANSIBLE)
Alternative: /opt/iiab/iiab/scripts/ansible-2.6.x ("Slow Food")
RECOMMENDED PREREQUISITES:
(1) Verify you're online
(2) Remove all prior versions of Ansible using
'apt purge ansible' and/or 'pip uninstall ansible'
(3) Remove all lines containing 'ansible' from
/etc/apt/sources.list and /etc/apt/sources.list.d/*
COMPLETE INSTALL INSTRUCTIONS:
https://github.com/iiab/iiab/wiki/IIAB-Installation#do-everything-from-scratch
CURRENTLY INSTALLED ANSIBLE: 2.7.8 -- LET'S TRY TO UPGRADE IT!
(Internet-in-a-Box requests Ansible 2.7.8 or higher)
apt update; install dirmngr; PPA to /etc/apt/sources.list.d/iiab-ansible.list
 0% [Working] 0% [Working] 0% [Working] 0% [Working] 0% [Working] 0% [Working] 0% [Working] 0% [Working] 0% [Working] 0% [Working] 0% [Working] 0% [Working] 0% [Working] 0% [Working] 0% [Working] 0% [Working] 0% [Working] 0% [Working] 0% [Working] 0% [Working] 0% [Connecting to archive.ubuntu.com (91.189.88.161)] [Connecting to ppa.launchpad.net (91.189.95.83)] Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
 0% [Waiting for headers] Hit:2 http://ppa.launchpad.net/ansible/ansible/ubuntu xenial InRelease
 0% [Waiting for headers] 0% [1 InRelease gpgv 242 kB] [Waiting for headers] Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
 0% [1 InRelease gpgv 242 kB] 0% [Waiting for headers] 0% [2 InRelease gpgv 18.0 kB] [Waiting for headers] Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
 0% [2 InRelease gpgv 18.0 kB] [4 InRelease 2,601 B/74.6 kB 3%] 0% [4 InRelease 5,497 B/74.6 kB 7%] 0% [3 InRelease gpgv 88.7 kB] [4 InRelease 6,945 B/74.6 kB 9%] 0% [4 InRelease 28.7 kB/74.6 kB 38%] 0% [Working] 0% [4 InRelease gpgv 74.6 kB] [Waiting for headers] Get:5 http://archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
 0% [4 InRelease gpgv 74.6 kB] [5 InRelease 1,153 B/88.7 kB 1%] 0% [5 InRelease 20.0 kB/88.7 kB 23%] 0% [Working] 0% [5 InRelease gpgv 88.7 kB] 100% [Working] Fetched 163 kB in 11s (15.1 kB/s)
Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 5% Reading package lists... 5% Reading package lists... 8% Reading package lists... 8% Reading package lists... 8% Reading package lists... 8% Reading package lists... 8% Reading package lists... 8% Reading package lists... 55% Reading package lists... 55% Reading package lists... 80% Reading package lists... 80% Reading package lists... 81% Reading package lists... 81% Reading package lists... 81% Reading package lists... 81% Reading package lists... 85% Reading package lists... 85% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 87% Reading package lists... 92% Reading package lists... 92% Reading package lists... 94% Reading package lists... 94% Reading package lists... 94% Reading package lists... 94% Reading package lists... 94% Reading package lists... 94% Reading package lists... 94% Reading package lists... 94% Reading package lists... 94% Reading package lists... 94% Reading package lists... 96% Reading package lists... 96% Reading package lists... 97% Reading package lists... 97% Reading package lists... 97% Reading package lists... 97% Reading package lists... 97% Reading package lists... 97% Reading package lists... 98% Reading package lists... 98% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done
Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree
Reading state information... 0% Reading state information... 0% Reading state information... Done
All packages are up to date.
Reading package lists... 0% Reading package lists... 100% Reading package lists... Done
Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree
Reading state information... 0% Reading state information... 0% Reading state information... Done
dirmngr is already the newest version (2.2.4-1ubuntu1.2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
IF YOU FACE ERROR "signatures couldn't be verified because the public key is not available" THEN REPEATEDLY RE-RUN "sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367"
Executing: /tmp/apt-key-gpghome.mxVOsMyhNk/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367
gpg: keyserver receive failed: Server indicated a failure
aaron@box:~$ exit
Script done on 2019-03-07 17:02:01+0000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment