This commit is contained in:
olli 2024-10-08 16:06:21 +02:00
parent 7652951f71
commit 890f987389

View File

@ -12,7 +12,7 @@ This installs and Configures the following:
- Model: Raspberry Pi 4/5 - Model: Raspberry Pi 4/5
- OS: Raspberry Pi OS (64 Bit) (with the Raspberry Pi Desktop) - OS: Raspberry Pi OS (64 Bit) (with the Raspberry Pi Desktop)
- Choose SD-Card (\>= 64GB) - Choose SD-Card (\>= 64GB)
- continue - Click on "Continue"
- Optional: Provide WLAN-Keys and/or SSH-Keys - Optional: Provide WLAN-Keys and/or SSH-Keys
- Define Username "user". - Define Username "user".
- Prepare the SD-Card - Prepare the SD-Card
@ -24,9 +24,12 @@ This installs and Configures the following:
replace \<IP\>with the IP of your pi. replace \<IP\>with the IP of your pi.
``` ```
ssh user@<IP> ssh user@<IP>
```
Alternative use a Terminal on the Pi
#### sudo to root
```
sudo su - sudo su -
``` ```
Alternative use Console
#### Optional: SSH-Keys for root #### Optional: SSH-Keys for root
``` ```
cp -r /home/user/.ssh /root/ cp -r /home/user/.ssh /root/
@ -44,17 +47,16 @@ wget https://gitea.ds9.dedyn.io/olli/debian.ansible.kodi/raw/branch/main/raspi.s
bash -ex raspi.sh bash -ex raspi.sh
``` ```
#### Optional: Wireguard VPN client for "mobile clients" #### Optional: Wireguard VPN client for "mobile clients"
- - copy the wireguard config file on your Pi (scp/USB-Stick,..)
replace \<wireguard-config-file.conf\> with your wireguard-config file
``` ```
nmcli connection import type wireguard file <wireguard-config-file.conf> nmcli connection import type wireguard file <wireguard-config-file.conf>
# redirect some services for example a jellyfin hostname # redirect some services for example a jellyfin hostname
echo "192.168.44.1 jellyfin.myhost.tld" >>/etc/hosts echo "192.168.44.1 jellyfin.myhost.tld" >>/etc/hosts
``` ```
## Reboot and Kodi should start ## Reboot and Kodi should start
``` ```
reboot reboot
``` ```
## Kodi Remote Password ## Kodi Remote Password
Please change the remote password in Kodi "Settings -> Services" (defaults to xxxx). Please change the remote password in Kodi "Settings -> Services" (defaults to xxxx).