IIAB/local vars.yml: Difference between revisions
No edit summary |
No edit summary |
||
Line 45: | Line 45: | ||
# Make this False to disable http://box/common/services/power_off.php button: |
# Make this False to disable http://box/common/services/power_off.php button: |
||
allow_apache_sudo: True |
allow_apache_sudo: True |
||
⚫ | |||
squid_install: False |
squid_install: False |
||
Line 54: | Line 52: | ||
dansguardian_enabled: False |
dansguardian_enabled: False |
||
# Unmaintained as of October 2017: https://github.com/iiab/iiab/pull/382 |
|||
⚫ | |||
# wondershaper_install: False |
# wondershaper_install: False |
||
# wondershaper_enabled: False |
# wondershaper_enabled: False |
||
⚫ | |||
# MySQL & PostgreSQL are auto-installed around here as necessary. |
|||
# 4-SERVER-OPTIONS |
# 4-SERVER-OPTIONS |
||
Line 66: | Line 68: | ||
# openvpn_cron_enabled: True |
# openvpn_cron_enabled: True |
||
# If changing the above, remember to run "cd /opt/iiab/iiab; ./runtags openvpn" |
# If changing the above, remember to run "cd /opt/iiab/iiab; ./runtags openvpn" |
||
⚫ | |||
# authserver_install: False |
|||
# authserver_enabled: False |
|||
# Common UNIX Printing System |
# Common UNIX Printing System |
||
Line 74: | Line 80: | ||
samba_install: False |
samba_install: False |
||
samba_enabled: False |
samba_enabled: False |
||
⚫ | |||
⚫ | |||
⚫ | |||
# 5-XO-SERVICES |
# 5-XO-SERVICES |
||
Line 84: | Line 86: | ||
# http://lists.laptop.org/pipermail/server-devel/ if you're able to help test. |
# http://lists.laptop.org/pipermail/server-devel/ if you're able to help test. |
||
# |
# xo_services_install: False |
||
# |
# xo_services_enabled: False |
||
# activity_server_install: False |
# activity_server_install: False |
||
Line 94: | Line 96: | ||
# idmgr_enabled: False |
# idmgr_enabled: False |
||
# |
# ejabberd_xs_install: False |
||
# |
# ejabberd_xs_enabled: False |
||
⚫ | |||
# xo_services_install: False |
|||
# xo_services_enabled: False |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
dokuwiki_install: False |
|||
dokuwiki_enabled: False |
|||
⚫ | |||
⚫ | |||
⚫ | |||
ejabberd_install: False |
|||
ejabberd_enabled: False |
|||
nextcloud_install: True |
nextcloud_install: True |
||
Line 114: | Line 121: | ||
wordpress_enabled: True |
wordpress_enabled: True |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
dokuwiki_install: False |
|||
⚫ | |||
dokuwiki_enabled: False |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
moodle_install: False |
|||
⚫ | |||
# OpenStreetMap: renamed from {iiab_install, iiab_enabled} in June 2017 |
# OpenStreetMap: renamed from {iiab_install, iiab_enabled} in June 2017 |
||
Line 126: | Line 138: | ||
osm_enabled: True |
osm_enabled: True |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
# Might stall MongoDB on Power Failure: github.com/xsce/xsce/issues/879 |
# Might stall MongoDB on Power Failure: github.com/xsce/xsce/issues/879 |
||
Line 140: | Line 149: | ||
# https://github.com/iiab/iiab/issues/240 Sugarizer 0.8 to 0.9 ongoing issues |
# https://github.com/iiab/iiab/issues/240 Sugarizer 0.8 to 0.9 ongoing issues |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
monit_enabled: False |
|||
⚫ | |||
⚫ | |||
munin_install: True |
munin_install: True |
||
munin_enabled: True |
munin_enabled: True |
||
⚫ | |||
⚫ | |||
⚫ | |||
# Unmaintained (better to install from http://teamviewer.com) |
|||
teamviewer_install: False |
|||
teamviewer_enabled: False |
|||
vnstat_install: True |
vnstat_install: True |
||
vnstat_enabled: True |
vnstat_enabled: True |
||
# Unmaintained |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
# Unmaintained |
|||
⚫ | |||
# xovis_install: False |
|||
# xovis_enabled: False |
|||
# Unmaintained |
# Unmaintained |
Revision as of 11:13, 27 October 2017
This IIAB XSCE content does not reflect the opinion of OLPC. These pages were created by members of a volunteer community supporting OLPC and deployments.
Below is an EXAMPLE /opt/iiab/iiab/vars/local_vars.yml including a suite of about a dozen Internet-in-a-Box (IIAB) server apps — that have been well-tested on Raspberry Pi 3 and similar computers.
WARNING: on small Internet-in-a-Box devices, it's common to want a "Rapid Power Off" button clickable by all users in a clinic or home. Conversely, schoolteachers commonly want to disable this Power Off button, changing the "allow_apache_sudo" flag below to "False".
COMPARE: local_vars_min.yml (~6 apps), local_vars_big.yml (~20 apps)
Please see FAQ.IIAB.IO, specifically: "What is local_vars.yml and how do I customize it?"
# Put variables here to override /opt/iiab/iiab/vars/default_vars.yml # PLEASE READ http://wiki.laptop.org/go/IIAB/local_vars.yml # SEE EXAMPLE http://download.iiab.io/6.5/rpi/local_vars_big.yml # SEE EXAMPLE http://download.iiab.io/6.5/rpi/local_vars_min.yml # Original Idea: branch github.com/xsce/xsce-local for your deployment iiab_admin_user: iiab-admin # Obtain a password hash with: python -c 'import crypt; print crypt.crypt("<plaintext>", "$6$<salt>")' # iiab_admin_passw_hash: iiab_hostname: box iiab_domain: lan # Set to /home or /wordpress or /wiki (for DokuWiki or MediaWiki) iiab_home_url: /home host_ssid: "Internet in a Box" host_wifi_mode: g host_channel: 6 hostapd_secure: False hostapd_password: changeme dns_jail_enabled: False # Enables "campus access" to kiwix (3000), kalite (8008) & calibre (8010 or # 8080) on WAN side of server. See network/templates/gateway/iiab-gen-iptables # within github.com/iiab/iiab/blob/master/roles/ services_externally_visible: True # Make this True if client machines should have access to WAN/Internet: iiab_gateway_enabled: False # Make this False to disable http://box/common/services/power_off.php button: allow_apache_sudo: True squid_install: False squid_enabled: False dansguardian_install: False dansguardian_enabled: False # Unmaintained as of October 2017: https://github.com/iiab/iiab/pull/382 # wondershaper_install: False # wondershaper_enabled: False # 3-BASE-SERVER # MySQL & PostgreSQL are auto-installed around here as necessary. # 4-SERVER-OPTIONS # SECURITY WARNING: See http://wiki.laptop.org/go/IIAB/Security openvpn_install: True openvpn_enabled: False # The following seems necessary on CentOS: # openvpn_cron_enabled: True # If changing the above, remember to run "cd /opt/iiab/iiab; ./runtags openvpn" # Unmaintained # authserver_install: False # authserver_enabled: False # Common UNIX Printing System cups_install: True cups_enabled: False # At Your Own Risk: take a security audit seriously before deploying this samba_install: False samba_enabled: False # 5-XO-SERVICES # Lesser-supported XO services need additional testing. Please contact # http://lists.laptop.org/pipermail/server-devel/ if you're able to help test. # xo_services_install: False # xo_services_enabled: False # activity_server_install: False # activity_server_enabled: False # Change calibre_port from 8080 to 8010 below, if you enable idmgr # idmgr_install: False # idmgr_enabled: False # ejabberd_xs_install: False # ejabberd_xs_enabled: False # 6-GENERIC-APPS calibre_install: True calibre_enabled: True # Change calibre_port to 8010 if you're using XO laptops needing above idmgr calibre_port: 8080 dokuwiki_install: False dokuwiki_enabled: False elgg_install: True elgg_enabled: True ejabberd_install: False ejabberd_enabled: False nextcloud_install: True nextcloud_enabled: True wordpress_install: True wordpress_enabled: True # 7-EDU-APPS kalite_install: True kalite_enabled: True kalite_cron_enabled: True kiwix_install: True kiwix_enabled: True # Warning: Moodle is a serious LMS, that takes a while to install moodle_install: False moodle_enabled: False # OpenStreetMap: renamed from {iiab_install, iiab_enabled} in June 2017 osm_install: True osm_enabled: True # Similar to Calibre, but unmaintained pathagar_install: False pathagar_enabled: False # Might stall MongoDB on Power Failure: github.com/xsce/xsce/issues/879 sugarizer_install: True sugarizer_enabled: True # sugarizer_enabled is currently IGNORED as basic Sugarizer works w/o Journal! # https://github.com/iiab/iiab/issues/193 Subsequent "./runtags sugarizer" fail # https://github.com/iiab/iiab/issues/240 Sugarizer 0.8 to 0.9 ongoing issues # 8-MGMT-TOOLS awstats_install: True awstats_enabled: True monit_install: False monit_enabled: False munin_install: True munin_enabled: True # Handy for maintaining tables, but DANGEROUS if not locked down phpmyadmin_install: False phpmyadmin_enabled: False # Unmaintained (better to install from http://teamviewer.com) teamviewer_install: False teamviewer_enabled: False vnstat_install: True vnstat_enabled: True # Unmaintained # sugar_stats_install: False # sugar_stats_enabled: False # Unmaintained # xovis_install: False # xovis_enabled: False # Unmaintained # schooltool_install: False # schooltool_enabled: False # Unmaintained # debian_schooltool_install: False # debian_schooltool_enabled: False