From a0c53d1996965e627fd7b3f08b43111f01abe5b4 Mon Sep 17 00:00:00 2001 From: Gorden Date: Tue, 3 Aug 2021 13:00:26 +0200 Subject: [PATCH] update --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a2d68eb..680ed9e 100644 --- a/README.md +++ b/README.md @@ -13,4 +13,17 @@ Download the Lite Image from here: https://www.raspberrypi.org/software/operatin - Inserd SD-card in your raspi and power it up. Wait afew minutes to let it boot up. - you can get the IP of your raspi by looking at your dhcp-server or your wlan-router - login via ssh on your raspberry pi with the user pi and raspberry as password -- open up "sudo raspi-config" and change your pi password! \ No newline at end of file +- open up `sudo raspi-config` and change your pi password! +- expand filesystem to get the most of your SD-card space + +# prepair anything else +- create a ssh key with `ssh-keygen` for user pi +- go to admcenter and `ssh-copy-id pi@` and login with your new pi password +- initiate the new system with ansible `ansible-playbook -i , -u pi /etc/ansible/playbooks/init.yml` + +# python3 installation +- install python3 with `sudo apt install python3 python3-dev` +- generate alternatives: + - `update-alternatives --install /usr/bin/python python /usr/bin/python3.7 2 # on debian buster default python3 is 3.7` + - `update-alternatives --install /usr/bin/python python /usr/bin/python2.7 1 # old python version` +