The main documentation repository for the 🍭☁️ https://lollipopcloud.solutions
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
remotenemesis 8af4eb8928 document running gitea and postgres using docker-compose 2 months ago
..
README.md document running gitea and postgres using docker-compose 2 months ago

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.