kemonine
/
lollipopcloud
Archived
1
0
Fork 0
This repository has been archived on 2022-08-05. You can view files and clone it, but cannot push or open issues or pull requests.
lollipopcloud/raspbian
remotenemesis 8af4eb8928 document running gitea and postgres using docker-compose 2019-02-10 21:41:25 -08:00
..
README.md document running gitea and postgres using docker-compose 2019-02-10 21:41:25 -08:00

README.md

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


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.

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


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. 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

Docker Compose

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).

The Lollipop Cloud project provides Raspian images with support for the Serial Console already enabled. If you chose to use either of these images, skip ahead to Using the Adafruit USB Console Cable.

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:

  1. edit config.txt and add enable_uart=1
  2. 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

Using the Adafruit USB Console Cable

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.