c3d2-wiki/Server%2Fglotzbert.mw

95 lines
2.9 KiB
Plaintext
Raw Normal View History

== Hardware ==
2015-03-05 06:05:01 +01:00
; Model: MacMini
; CPU: Intel(R) Core(TM)2 Duo CPU P7550 @ 2.26GHz
; RAM: 2 GB
; HDD: 160 GB
== Betriebssystem ==
* Debian 8 (Jessie)
2015-04-03 14:35:20 +02:00
== Verwendung ==
[[#XBMC / Kodi]] on Linux
== Systemeinrichtung ==
2015-03-04 00:23:50 +01:00
Btrfs Subvolume Snapshot Boot Environment
2015-03-05 06:05:01 +01:00
: <source lang="bash"></source>
2015-04-03 14:35:20 +02:00
<pre>
2015-03-04 00:23:50 +01:00
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
2015-04-03 14:35:20 +02:00
</pre>
2015-03-04 00:23:50 +01:00
2015-03-04 00:24:14 +01:00
* / (rootfs) - default
2015-03-05 06:05:01 +01:00
* /ROOT/system-20150303-2148 - Subv. Snapshot für lauffähige XBMC/Kodi-Umgebung
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-05 06:05:01 +01:00
Nouveau Driver Probleme beheben
: <source lang="bash">vi /etc/default/grub</source>
<pre>
2015-03-04 00:38:49 +01:00
###
GRUB_CMDLINE_LINUX_DEFAULT="nouveau.modeset=0"
###
2015-03-05 06:05:01 +01:00
</pre>
2015-03-04 00:38:49 +01:00
2015-03-05 06:05:01 +01:00
: <source lang="bash">grub-mkconfig; update-grub</source>
2015-03-04 00:38:49 +01:00
2015-03-05 06:05:01 +01:00
Nvidia Driver statt Nouveau
: <source lang="bash">lspci -nn | grep VGA</source>
<source lang="bash">
2015-03-04 00:48:08 +01:00
02:00.0 VGA compatible controller [0300]: NVIDIA Corporation C79 [GeForce 9400] [10de:0861] (rev b1)
2015-03-05 06:05:01 +01:00
</source>
2015-03-04 00:48:08 +01:00
2015-03-05 06:05:01 +01:00
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>
2015-03-04 00:38:49 +01:00
2015-03-05 06:05:01 +01:00
Neustarten!
: <source lang="bash">reboot</source>
2015-03-04 00:38:49 +01:00
2015-03-04 01:09:37 +01:00
=== XBMC / Kodi ===
2015-04-03 14:35:20 +02:00
* 13.2
*: https://people.debian.org/~rbalint/ppa/xbmc-ffmpeg/
2015-03-04 01:09:37 +01:00
2015-03-05 06:05:01 +01:00
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>
2015-03-04 01:09:37 +01:00
2015-03-05 06:05:01 +01:00
XBMC hinzufügen
: <source lang="bash">apt-get install xbmc</source>
: <source lang="bash">apt-get install smbclient</source>
2015-03-04 01:09:37 +01:00
2015-03-05 06:05:01 +01:00
Neustarten!
: <source lang="bash">reboot</source>
2015-03-04 01:50:11 +01:00
2015-04-03 14:41:53 +02:00
==== XBMC / Kodi Web-Access ====
2015-03-04 01:50:11 +01:00
2015-03-05 06:05:01 +01:00
Bei
: ''Settings'' → ''Services'' → ''Webserver'' → ''Allow control of XBMC/Kodi via HTTP''
: <code>http://172.22.99.12:8080</code>
eintragen.
2015-03-04 01:50:11 +01:00
=== btrfs boot environment erstellen ===
2015-03-05 06:05:01 +01:00
: <source lang="bash">/github/boot_btrfs_nested_subvol/subvolboot2.sh create</source>
2015-03-05 06:09:06 +01:00
[[Kategorie:Hardware]]
[[Kategorie:Infrastruktur]]
[[Kategorie:HQ]]