104 lines
3.1 KiB
Plaintext
104 lines
3.1 KiB
Plaintext
== 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 ===
|
|
|
|
<pre>
|
|
mpv --ao pulse:cider.local --cache 8192 --fs http://webdav:${password}@storage.hq.c3d2.de:8080/rpool/${file}
|
|
</pre>
|
|
|
|
== Systemeinrichtung ==
|
|
|
|
Btrfs Subvolume Snapshot Boot Environment
|
|
: <source lang="bash"></source>
|
|
<pre>
|
|
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
|
|
</pre>
|
|
|
|
* / (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
|
|
: <source lang="bash">vi /etc/default/grub</source>
|
|
<pre>
|
|
###
|
|
GRUB_CMDLINE_LINUX_DEFAULT="nouveau.modeset=0"
|
|
###
|
|
</pre>
|
|
|
|
: <source lang="bash">grub-mkconfig; update-grub</source>
|
|
|
|
Nvidia Driver statt Nouveau
|
|
: <source lang="bash">lspci -nn | grep VGA</source>
|
|
<source lang="bash">
|
|
02:00.0 VGA compatible controller [0300]: NVIDIA Corporation C79 [GeForce 9400] [10de:0861] (rev b1)
|
|
</source>
|
|
|
|
non-free in <code>/etc/apt/sources.list</code> einfügen
|
|
: <source lang="bash">apt-get update; apt-get upgrade</source>
|
|
: <source lang="bash">aptitude -r install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') nvidia-kernel-dkms</source>
|
|
: <source lang="bash">mkdir /etc/X11/xorg.conf.d</source>
|
|
: <source lang="bash">echo -e 'Section "Device"\n\tIdentifier "My GPU"\n\tDriver "nvidia"\nEndSection' > /etc/X11/xorg.conf.d/20-nvidia.conf</source>
|
|
: <source lang="bash">apt-get install nvidia-config</source>
|
|
|
|
Neustarten!
|
|
: <source lang="bash">reboot</source>
|
|
|
|
=== Kodi ===
|
|
|
|
; aka ''XBMC''
|
|
|
|
* 13.2
|
|
*: https://people.debian.org/~rbalint/ppa/xbmc-ffmpeg/
|
|
|
|
repo hinzufügen
|
|
: <source lang="bash">echo "deb https://people.debian.org/~rbalint/ppa/xbmc-ffmpeg xbmc-ffmpeg-unstable/" >> /etc/apt/sources.list</source>
|
|
: <source lang="bash">apt-get install apt-transport-https</source>
|
|
: <source lang="bash">apt-get update; apt-get upgrade</source>
|
|
: <source lang="bash">apt-key adv --keyserver pool.sks-keyservers.net --recv-keys 21E764DF</source>
|
|
: <source lang="bash">apt-get update; apt-get upgrade</source>
|
|
|
|
XBMC hinzufügen
|
|
: <source lang="bash">apt-get install xbmc</source>
|
|
: <source lang="bash">apt-get install smbclient</source>
|
|
|
|
Neustarten!
|
|
: <source lang="bash">reboot</source>
|
|
|
|
==== Kodi Web-Access ====
|
|
|
|
* http://glotzbert:8080/
|
|
|
|
Bei
|
|
: ''Settings'' → ''Services'' → ''Webserver'' → ''Allow control of XBMC/Kodi via HTTP''
|
|
: <code>http://172.22.99.12:8080/</code>
|
|
eintragen.
|
|
|
|
=== btrfs boot environment erstellen ===
|
|
|
|
: <source lang="bash">/github/boot_btrfs_nested_subvol/subvolboot2.sh create</source>
|
|
|
|
[[Kategorie:Hardware]]
|
|
[[Kategorie:Infrastruktur]]
|
|
[[Kategorie:HQ]]
|