This commit is contained in:
olli 2024-10-08 16:02:14 +02:00
parent adb82e1879
commit 7652951f71

View File

@ -1,9 +1,60 @@
# Kodi and Linux Desktop Installation and Configuration
This installs and Configures the following:
- Kodi
- Kodi
- Cinnamon Desktop
- LightDM Autologin
- Specific Raspberry Settings
## Kodi Remote Password
Please change the Kodi remote password (fter installation defaults to xxxx).
## Raspberry 4/5
### Install Raspberry Pi OS
- Downlaod/Install/Start Raspberry Pi Imager (https://www.raspberrypi.com/software/)
- Model: Raspberry Pi 4/5
- OS: Raspberry Pi OS (64 Bit) (with the Raspberry Pi Desktop)
- Choose SD-Card (\>= 64GB)
- continue
- Optional: Provide WLAN-Keys and/or SSH-Keys
- Define Username "user".
- Prepare the SD-Card
- Boot your pi with the prepared SD-Card
### after install
- Boot your pi with the prepared SD-Card
#### Login
replace \<IP\>with the IP of your pi.
```
ssh user@<IP>
sudo su -
```
Alternative use Console
#### Optional: SSH-Keys for root
```
cp -r /home/user/.ssh /root/
chown root: /root/.ssh
```
#### Optional: Set hostname
replace \<myhostname\> with the preferred hostname
```
echo <myhostname> >/etc/hostname
systemctl restart systemd-hostnamed.service
```
#### run installation/configuration (as root)
```
wget https://gitea.ds9.dedyn.io/olli/debian.ansible.kodi/raw/branch/main/raspi.sh
bash -ex raspi.sh
```
#### Optional: Wireguard VPN client for "mobile clients"
-
```
nmcli connection import type wireguard file <wireguard-config-file.conf>
# redirect some services for example a jellyfin hostname
echo "192.168.44.1 jellyfin.myhost.tld" >>/etc/hosts
```
## Reboot and Kodi should start
```
reboot
```
## Kodi Remote Password
Please change the remote password in Kodi "Settings -> Services" (defaults to xxxx).