trixie/README

108 lines
3.2 KiB
Text
Raw Normal View History

2018-06-09 12:17:32 +03:00
Run Debian in your Local Area Network
=======================================
2018-06-10 20:57:40 +03:00
The goal of the "Debian Local Area Network"-project is to make setting
up Debian in a local area network as easy as possible. This repository
offers ansible playbooks and instructions for the following machines:
2019-12-06 20:03:44 +01:00
• installbox: orchestration of automatic installs in the LAN
2018-06-10 20:57:40 +03:00
- set up as gateway to some external network (WAN)
2019-12-06 20:03:44 +01:00
- provides TFTP installations on the LAN interface
2018-06-10 20:57:40 +03:00
- automatic installs: preseeding and ansible playbooks
- package cache
2018-06-10 20:57:40 +03:00
2019-12-06 20:03:44 +01:00
• kerberox: serving a minimalistic kerberized LAN
- automatic TFTP installation of clients
- centralized home directories on kerberized NFS
- simple script to manage users and machines
• kerberox-client: the client for the kerberized LAN
• kiosk: school's computer, hackerspace, …
2018-06-10 20:57:40 +03:00
- auto login user
- reasonable defaults
- temporary home directory on tmpfs, reset at boot
2019-12-06 20:03:44 +01:00
• cloudbox: nextcloud server in the basement
2018-06-10 20:57:40 +03:00
- setup of a home cloud server
- dynamic DNS name
2020-01-18 14:37:52 +01:00
- nextcloud
2018-06-10 20:57:40 +03:00
- …
Contributions like patches, suggestions, pull requests and/or further
profiles are highly appreciated!
----------------------------
Instructions
==============
2018-06-09 12:17:32 +03:00
Installbox
~~~~~~~~~~
2019-12-06 20:03:44 +01:00
• standard Debian installation:
- user 'ansible' in sudo group
- WAN interface configured and connected
- LAN interface not configured/managed
• optional: customize installbox.yml
• run ansible:
ssh-copy-id ansible@1.2.3.4
ansible-playbook installbox.yml -v --become --ask-become-pass -u ansible -i 1.2.3.4,
• the installbox can be used to install all other profiles
Kerberox
~~~~~~~~
• standard Debian installation:
2018-06-09 12:17:32 +03:00
- user 'ansible' in sudo group
- WAN interface configured and connected
- LAN interface not configured/managed
2019-12-06 20:03:44 +01:00
• optional: customize kerberox.yml
2018-06-09 12:17:32 +03:00
2019-12-06 20:03:44 +01:00
• run ansible:
2018-06-09 12:17:32 +03:00
ssh-copy-id ansible@1.2.3.4
2020-01-13 20:44:10 +01:00
ansible-playbook kerberox.yml -v --become --ask-become-pass -u ansible -i 1.2.3.4,
2018-06-09 12:17:32 +03:00
2019-12-06 20:03:44 +01:00
Kerberox and installbox provide a local ansible configuration space
which can be used to install clients and/or to check/modify the local
installation. To do the latter, cd into 'debian-lan' and run:
'ansible-playbook --ask-become-pass -v -i localhost, -c local kerberox.yml'
The kerberox-clients are automatically installed using the included TFTP netboot
installer within the LAN.
2018-06-09 12:17:32 +03:00
Kiosk
~~~~~
• Debian installation:
- user 'ansible' in sudo group
2019-12-06 20:03:44 +01:00
• customize kiosk.yml:
2018-06-09 19:48:41 +03:00
- WiFi parameters
- package selection: extra_pkgs and extra_pkgs_bpo for backports
- desktop environment
2018-06-09 12:17:32 +03:00
2019-12-06 20:03:44 +01:00
• run ansible:
2018-06-09 12:17:32 +03:00
ssh-copy-id ansible@1.2.3.4
ansible-playbook kiosk.yml -v --become --ask-become-pass -u ansible -i 1.2.3.4,
2020-01-19 18:51:58 +01:00
Cloudbox
~~~~~~~~
• Debian installation:
- user 'ansible' in sudo group
• check/customize cloudbox.yml
• download latest nextcloud-*.*.*.tar.bz2 archive and place it as nextcloud.tar.bz2
in your debian-lan-ansible directory
• run ansible:
ssh-copy-id ansible@1.2.3.4
ansible-playbook cloudbox.yml -v --become --ask-become-pass -u ansible -i 1.2.3.4,
• use 'nc-admin' with password in '/root/nc-admin.pwd' to log into nextcloud.