Initial Raspbian setup notes
This commit is contained in:
parent
6efebbab46
commit
3d48f524a5
|
@ -0,0 +1,64 @@
|
|||
# Raspbian Setup
|
||||
|
||||
We're currently working on the documentation for Raspbian (Help Welcome 😉).
|
||||
|
||||
Below you'll find our current tweaks and what deviates from the standard ```armbian``` setup procedure.
|
||||
|
||||
# Base Install
|
||||
|
||||
To auto updates enable/disable on rpi
|
||||
|
||||
Notes/Inspiration: [https://wiki.debian.org/UnattendedUpgrades](https://wiki.debian.org/UnattendedUpgrades)
|
||||
|
||||
``` bash
|
||||
|
||||
apt-get install unattended-upgrades apt-listchanges
|
||||
editor /etc/apt/apt.conf.d/50unattended-upgrades
|
||||
editor /etc/apt/apt.conf.d/20auto-upgrades
|
||||
editor /etc/apt/apt.conf.d/02periodic
|
||||
|
||||
```
|
||||
|
||||
# Chrony
|
||||
|
||||
Some notes
|
||||
|
||||
- make step is already there these
|
||||
- change that piece to sed / append to file if not changed
|
||||
|
||||
# Cockpit
|
||||
|
||||
Unavailable on raspbian by default
|
||||
|
||||
``` bash
|
||||
|
||||
apt-get install dirmngr
|
||||
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8B48AD6246925553
|
||||
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7638D0442B90D010
|
||||
echo 'deb http://deb.debian.org/debian stretch-backports main' > \
|
||||
/etc/apt/sources.list.d/backports.list
|
||||
apt-get update
|
||||
apt-get install cockpit cockpit-doc cockpit-dashboard \
|
||||
cockpit-networkmanager \
|
||||
cockpit-dashboard cockpit-system \
|
||||
cockpit-storaged cockpit-packagekit \
|
||||
cockpit-system cockpit-ws \
|
||||
packagekit-tools cracklib-runtime
|
||||
|
||||
```
|
||||
|
||||
# Docker
|
||||
|
||||
Totally different install procedure
|
||||
|
||||
``` bash
|
||||
|
||||
apt install apt-transport-https ca-certificates curl software-properties-common
|
||||
cat > /etc/apt/sources.list.d/docker.list <<EOF
|
||||
deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/raspbian stretch stable
|
||||
EOF
|
||||
curl -fsSL https://download.docker.com/linux/raspbian/gpg | apt-key add -
|
||||
apt-get update
|
||||
apt-get install --no-install-recommends docker-ce
|
||||
|
||||
```
|
Reference in New Issue