c3d2-wiki/Server%2Fglotzbert.mw

86 lines
2.2 KiB
Plaintext
Raw Normal View History

XBMC / Kodi on Linux
== Hardware ==
* Model: MacMini
* CPU: Intel(R) Core(TM)2 Duo CPU P7550 @ 2.26GHz
* RAM: 2 GB
* HDD: 160 GB
== Betriebssystem ==
* Debian 8 (Jessie)
== XBMC / Kodi ==
* 13.2 https://people.debian.org/~rbalint/ppa/xbmc-ffmpeg/
== Systemeinrichtung ==
2015-03-04 00:23:50 +01:00
Btrfs Subvolume Snapshot Boot Environment
<source lang="bash">
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
</source>
2015-03-04 00:24:14 +01:00
* / (rootfs) - default
* /ROOT/system-20150303-2148 - Subv.Snapshot für lauffähige XBMC/Kodi Umgebung
2015-03-04 00:23:50 +01:00
2015-03-04 00:48:08 +01:00
=== NVIDIA fix ===
2015-03-04 01:09:37 +01:00
https://wiki.debian.org/NvidiaGraphicsDrivers#configure
2015-03-04 00:23:50 +01:00
<source lang="bash">
2015-03-04 00:38:49 +01:00
# Nouveau Driver Probleme beheben
vi /etc/default/grub
###
GRUB_CMDLINE_LINUX_DEFAULT="nouveau.modeset=0"
###
grub-mkconfig; update-grub
# Nvidia Driver statt Nouveau
2015-03-04 00:48:08 +01:00
lspci -nn | grep VGA
02:00.0 VGA compatible controller [0300]: NVIDIA Corporation C79 [GeForce 9400] [10de:0861] (rev b1)
# non-free ins /etc/apt/sources.list einfügen
apt-get update; apt-get upgrade
aptitude -r install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') nvidia-kernel-dkms
2015-03-04 00:38:49 +01:00
2015-03-04 00:48:08 +01:00
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
2015-03-04 00:54:11 +01:00
apt-get install nvidia-config
2015-03-04 00:38:49 +01:00
2015-03-04 00:48:08 +01:00
# reboot
</source>
2015-03-04 00:38:49 +01:00
2015-03-04 00:48:08 +01:00
=== btrfs boot environment erstellen ===
<source lang="bash">
/github/boot_btrfs_nested_subvol/subvolboot2.sh create
2015-03-04 00:23:50 +01:00
</source>
2015-03-04 01:09:37 +01:00
=== XBMC / Kodi ===
https://people.debian.org/~rbalint/ppa/xbmc-ffmpeg/
<source lang="bash">
# 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
apt-get install xbmc
apt-get install smbclient
# reboot
</source>