||4 years ago|
|README.md||4 years ago|
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.
To auto updates enable/disable on rpi
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
Debian 64-bit ARM for Raspberry Pi 3
Ubuntu offers a beta release of Ubuntu 18.04 Server (64-bit ARM) for Raspberry Pi 3 boards.
- make step is already there these
- change that piece to sed / append to file if not changed
Unavailable on raspbian by default
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
Totally different install procedure. Run the following as root or preped sudo to each command:
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
With docker installed, install docker-compose by running
sudo apt-get install docker-compose.
Connecting a Console Cable
Connecting your Pi to another computer via a console cable allows you to setup or debug a Raspberry Pi without having to connect a display, keyboard (and optionally a mouse).
Enabling Serial Console
If you do not wish to use the prebuilt Lollipop Raspian image with Serial Console enabled, you can enable the Serial Console with the following steps and refer to The Raspberry Pi UARTs for more information:
- edit config.txt and add enable_uart=1
- edit config.txt and change dtoverlay to “pi3-miniuart-bt” ; remove # if present (this puts bluetooth on the miniuart instead of the serial console stuffs);
pin 8 == tx ; pin 10 == receive
Adafruit sells a USB to TTL Serial Cable/Console Cable for Raspberry Pi and has a tutorial on installing the necessary drivers. With the Lollipop Raspian image installed onto an SD Card, jump into the tutorial to install drivers for macOS, Windows, or Linux.
If you are setting up your Pi for the first time, you can run
sudo raspi-conf after successfully connecting the cable.