== Hardware ==
; Model: MacMini
; CPU: Intel(R) Core(TM)2 Duo CPU P7550 @ 2.26GHz
; RAM: 2 GB
; HDD: 160 GB
== Betriebssystem ==
* Debian 8 (Jessie)
== Verwendung ==
[[#Kodi]] on Linux
=== after login ===
mpv --ao pulse:cider.local --cache 8192 --fs http://webdav:${password}@storage.hq.c3d2.de:8080/rpool/${file}
== Systemeinrichtung ==
Btrfs Subvolume Snapshot Boot Environment
:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 149.1G 0 disk
|-sda1 8:1 0 200M 0 part /boot/efi
|-sda2 8:2 0 1.9G 0 part /boot
`-sda3 8:3 0 146.2G 0 part
|-glotzbert-system 254:0 0 142.5G 0 lvm /
`-glotzbert-swap 254:1 0 3.7G 0 lvm [SWAP]
sr0 11:0 1 1024M 0 rom
* / (rootfs) - default
* /ROOT/system-20150303-2148 - Subv. Snapshot für lauffähige XBMC/Kodi-Umgebung
=== NVIDIA fix ===
https://wiki.debian.org/NvidiaGraphicsDrivers#configure
Nouveau Driver Probleme beheben
: vi /etc/default/grub
###
GRUB_CMDLINE_LINUX_DEFAULT="nouveau.modeset=0"
###
: grub-mkconfig; update-grub
Nvidia Driver statt Nouveau
: lspci -nn | grep VGA
02:00.0 VGA compatible controller [0300]: NVIDIA Corporation C79 [GeForce 9400] [10de:0861] (rev b1)
non-free in /etc/apt/sources.list
einfügen
: apt-get update; apt-get upgrade
: aptitude -r install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') nvidia-kernel-dkms
: mkdir /etc/X11/xorg.conf.d
: echo -e 'Section "Device"\n\tIdentifier "My GPU"\n\tDriver "nvidia"\nEndSection' > /etc/X11/xorg.conf.d/20-nvidia.conf
: apt-get install nvidia-config
Neustarten!
: reboot
=== Kodi ===
; aka ''XBMC''
* 13.2
*: https://people.debian.org/~rbalint/ppa/xbmc-ffmpeg/
repo hinzufügen
: echo "deb https://people.debian.org/~rbalint/ppa/xbmc-ffmpeg xbmc-ffmpeg-unstable/" >> /etc/apt/sources.list
: apt-get install apt-transport-https
: apt-get update; apt-get upgrade
: apt-key adv --keyserver pool.sks-keyservers.net --recv-keys 21E764DF
: apt-get update; apt-get upgrade
XBMC hinzufügen
: apt-get install xbmc
: apt-get install smbclient
Neustarten!
: reboot
==== Kodi Web-Access ====
* http://glotzbert:8080/
Bei
: ''Settings'' → ''Services'' → ''Webserver'' → ''Allow control of XBMC/Kodi via HTTP''
: http://172.22.99.12:8080/
eintragen.
==== Quellen für Daten bei Kodi ====
===== Dateien von storage als Quelle für Daten bei Kodi =====
: $EDITOR ~/.xbmc/userdata/sources.xml
rpool
smb://storage/rpool/
true
: $EDITOR ~/.xbmc/userdata/mediasources.xml
smb://$account:$password@storage/rpool
: $EDITOR ~/.xbmc/userdata/passwords.xml
smb://storage/rpool
smb://$account:$password@storage/rpool/
===== öffentliche chaotische Dateien als Quelle für Dateien bei Kodi =====
: $EDITOR ~/.xbmc/userdata/sources.xml
ftp.ccc.de
ftp://ftp.ccc.de:21/pub/
true
: $EDITOR ~/.xbmc/userdata/mediasources.xml
ftp://ftp.ccc.de:21/pub
=== btrfs boot environment erstellen ===
: /github/boot_btrfs_nested_subvol/subvolboot2.sh create
[[Kategorie:Hardware]]
[[Kategorie:Infrastruktur]]
[[Kategorie:HQ]]