mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Merge pull request #2565 from holta/maps_from_internet_archive-var-etc
maps_from_internet_archive & tidying of iiab-network, default_vars.yml, local_vars.yml, iiab-admin/README.rst, osm-vector-maps/README.md [Aside: iiab_home_url clarif ongoing, recommend ansible-base 2.10.2]
This commit is contained in:
commit
1d76f14903
9 changed files with 91 additions and 62 deletions
|
|
@ -56,9 +56,11 @@
|
|||
name: samba
|
||||
when: samba_install | bool
|
||||
|
||||
# 2020-02-17: what was roles/homepage lives in roles/www_options. Eventually
|
||||
# softcoding of iiab_home_url should happen everywhere (incl Admin Console) for
|
||||
# more field options, e.g. changing /library/www/html/home even when offline...
|
||||
# 2020-02-17: What was roles/homepage lives in roles/www_options
|
||||
# 2020-10-08: Softcoded iiab_home_url should work (e.g. using local_vars.yml or
|
||||
# Admin Console) for more field options, e.g. changing /library/www/html/home
|
||||
# to WordPress or Moodle even when offline? @tim-moody cautions that this is
|
||||
# untested for several years, so let's keep an eye on it! iiab/iiab#2560
|
||||
|
||||
- name: WWW_OPTIONS (WWW_BASE should have been installed earlier)
|
||||
include_role:
|
||||
|
|
|
|||
|
|
@ -13,16 +13,25 @@
|
|||
iiab-admin README
|
||||
=================
|
||||
|
||||
This role is home to a number of administrative playbooks. Those implemented are:
|
||||
This role is home to a number of administrative (Ansible) playbooks:
|
||||
|
||||
Add Administrative User
|
||||
-----------------------
|
||||
|
||||
* Add the iiab-admin user and password
|
||||
* N.B. to create password hash use python -c 'import crypt; print crypt.crypt("<plaintext>", "$6$<salt>")'
|
||||
* Make a sudoer
|
||||
* |ss| Add /root/.ssh and dummy authorized_keys file as placeholder |se| |nbsp| (moved to playbook roles/sshd)
|
||||
* Force password for sudoers
|
||||
* Adds the Linux user that will allow you access to IIAB's Admin Console (http://box.lan/admin) if this has not already been done for you by IIAB's 1-line installer (http://download.iiab.io).
|
||||
* By default this is ``iiab-admin`` with password ``g0adm1n``
|
||||
* *Do change the default password if you haven't yet, by running:* **sudo passwd iiab-admin**
|
||||
* After IIAB is installed, you can also change the password by logging into Admin Console (http://box.lan/admin) > Utilities > Change Password
|
||||
* If you prefer using a pre-existing user like ``pi`` or ``ubuntu`` etc, consider customizing variables ``iiab_admin_user_install``, ``iiab_admin_user`` and ``iiab_admin_user_group`` in your `/etc/iiab/local_vars.yml <http://wiki.laptop.org/go/IIAB/FAQ#What_is_local_vars.yml_and_how_do_I_customize_it.3F>`_ (please do this prior to installing IIAB !)
|
||||
* Please read more about what escalated (root) actions are authorized when you log into IIAB's Admin Console, and how this works: https://github.com/iiab/iiab-admin-console/blob/master/Authentication.md
|
||||
|
||||
Desiderata, for the historical record:
|
||||
|
||||
* Auto-checking for the default password is implemented in `/etc/profile.d <https://github.com/iiab/iiab/blob/master/roles/iiab-admin/templates/sshpwd-profile-iiab.sh>`_ (and `/etc/xdg/lxsession/LXDE-pi <https://github.com/iiab/iiab/blob/master/roles/iiab-admin/templates/sshpwd-lxde-iiab.sh>`_ when it exists).
|
||||
* |ss| N.B. to create password hash use python -c 'import crypt; print crypt.crypt("<plaintext>", "$6$<salt>")' |se| |nbsp| (not recommended as of October 2020)
|
||||
* |ss| Make a sudoer |se| |nbsp| (likely going away in October 2020, as group 'iiab-admin' should be recommended instead of group 'sudo')
|
||||
* |ss| Add /root/.ssh and dummy authorized_keys file as placeholder |se| |nbsp| (moved to `roles/openvpn/tasks/install.yml <https://github.com/iiab/iiab/blob/master/roles/openvpn/tasks/install.yml>`_)
|
||||
* |ss| Force password for sudoers |se| |nbsp| (sudo flag ``NOPASSWORD:`` and the ``wheel`` group will no longer being used as of October 2020)
|
||||
|
||||
Add Packages for Remote Access
|
||||
------------------------------
|
||||
|
|
@ -33,4 +42,4 @@ Add Packages for Remote Access
|
|||
Admin Console
|
||||
-------------
|
||||
|
||||
Has been moved to separate git repo: https://github.com/iiab/iiab-admin-console
|
||||
Has been moved to this separate git repo: https://github.com/iiab/iiab-admin-console
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
1. If you install [IIAB 7.2](https://github.com/iiab/iiab/wiki/IIAB-7.2-Release-Notes) with [IIAB Maps](https://github.com/iiab/iiab/wiki/IIAB-Maps), a new **Install IIAB Maps** page is available (http://box/osm-vector-maps/installer/) with [instructions](https://github.com/iiab/iiab/wiki/IIAB-Maps#how-do-i-install-map-packs-and-satellite-photo-regions-on-iiab-72-), separate from IIAB's Admin Console:
|
||||
1. This [very visual page](https://user-images.githubusercontent.com/2458907/94740848-46c4eb00-0341-11eb-93ea-e3e4758dce48.png) facilitates selecting/downloading/installing of Map Pack(s) for your favorite "continent(s)". (SEE 2. BELOW)
|
||||
2. If you've installed at least one Map Pack, you can then use this same page to select/download/install Hi-Res Satellite Photo Region(s) for your local communities. (SEE 3. BELOW)
|
||||
3. All these downloads can now happen 10X to 100X faster, thanks to [PR #38](https://github.com/iiab/maps/pull/38) !
|
||||
|
||||
2. **Map Packs** no longer bundle both data and program in a .zip file. All Map Packs are really now just a collection of 3 .mbtiles files:
|
||||
1. The main focus of a Map Pack remains Hi-Res Vector Map data from OpenStreetMap, for your selected "continent" — but Lo-Res vector map tiles (1.74GB .mbtiles) and Lo-Res satellite photos (932MB .mbtiles) are also included for the entire planet. Read more at: https://github.com/iiab/iiab/wiki/IIAB-Maps
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue