I’ve finally upgraded from Mythdora 12! This is how I rebuilt using a fresh installation of Fedora 20 x64. Note, a few of the steps pertain to restoring my previous MySQL database used from my Mythdora installation. I’m happy to report I was able to successfully use my Database files and all recordings used with my old Mythdora system. I lost NO DATA during this process and now love my TV even more now that it has Steam Streaming configured.

A little background first; I decided to stick with Fedora since my thought process around Linux has always been more inline with Fedora – Pick an OS with the latest stable software that offers the most choice and the least artificial limitations.

I plan to provide more specific information around each step, but that takes time. So currently here is the down and dirty of it:

Click here for a download of the text, as to avoid any WordPress formatting changes.

Resources:
http://www.mythtv.org/wiki/MythTV-HOWTO_-_0.27#Mandriva_and_Red_Hat_Linux.2FFedora_Core

Fedora 20 nVidia Drivers Install / Uninstall / Restore Plymouth

Okay… enough delay, here it is:

#My Disk layout
Software Raid1 = 2 x 1TB /dev/md127,/dev/md0
Software Raid1 = 2 x 3TB /dev/md1

/dev/md127 /boot 1GB
/dev/md0 /dev/vg-root
\_ root00 48.8GB
\_ swap00 4GB
/dev/md1 /storage

#Lay down basic packages with some niceties
rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
yum update -y

#Reboot first, then install remaining packages
init 6
yum install kernel-headers kernel-devel strace cairo-dock thunderbird rdesktop gcc sshfs xdm vnc-server samba samba-client samba-winbind-clients gvfs gvfs-smb htop evince libreoffice gimp gnote brasero wget minicom vlc mozilla-vlc gvim nmon xfce4-mixer compiz fusion-icon compiz-plugins-extra compiz-xfce emerald emerald-themes emerald-themes-extra ccsm -y

#Install Steam
cd /etc/yum.repos.d; wget http://spot.fedorapeople.org/steam/steam.repo; yum install steam -y

# Install MythTV packages
yum install mythtv* -y

#Install Google Chrome
wget https://dl-ssl.google.com/linux/linux_signing_key.pub; sudo rpm –import linux_signing_key.pub
www.google.com/chrome/browser/?platform=linux

#If you want MATE, I didn’t as XFCE has everything I want
yum group install “MATE Desktop” -y; yum install compiz-mate -y

#Install Webmin
##Download from webmin.com
yum localinstall ./webminpkgname.rpm -y

#Install V4L apps
yum install xorg-x11-drv-v4l.x86_64 v4l-utils.x86_64 gtk-v4l.x86_64 -y

#Disable SELinux
vi /etc/sysconifg/selinux
\_ Change “Enforcing” to “Permissive”

#Setup services
chkconfig sshd on
service sshd start
chkconfig mariadb on
service mariadb start
chkconfig mythbackend on
service mythbackend start
chkconfig firewalld off
service firewalld stop
chkconfig httpd on
service httpd start

#Setting up Nvidia GT 210, Fanless PCIe card
yum install akmod-nvidia xorg-x11-drv-nvidia-libs xorg-x11-drv-nvidia-libs.i686 kernel-devel acpid -y
mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
dracut /boot/initramfs-$(uname -r).img $(uname -r)
yum install vdpauinfo libva-vdpau-driver libva-utils -y

#Set your hostname
vi /etc/hosts
vi /etc/hostname
vi /etc/sysconfig/network
\_HOSTNAME=

#Set your IP address settings via NetworkManager

#Configure Database (MySQL/MariaDB)

##Go to Webmin and set MariaDB root password

##import the basic database structure – UPDATE TO REFLECT CURRENT VERSION
mysql -u root -p < /usr/share/doc/mythtv-docs/database/mc.sql ## Configure Database vi /etc/my.cnf \_ bind-address = "192.168.100.3" ##Set correct privileges: mysql -u root mythconverg -p grant all on mythconverg.* to mythtv@"%" identified by "P@ssW0rd"; flush privileges; ##Import existing database, bunzip2 /mythtvbackend-restore/mythconverg.sql bunzip2 /mythtvbackend-restore/mysql.sql mysql -u root -p mythconverg < /mythtvbackend-restore/mythconverg.sql mysql -u root -p mythconverg < /mythtvbackend-restore/mysql.sql # Create Raid 1 mirror for /dev/md0 and mount as /storage for recordings at boot time mdadm --create /dev/md1 --level=1 --raid-devices=2 /dev/sdc/dev/sde mdadm --detail --scan >> /etc/mdadm.conf

#Create XFS filesystem on /dev/md1
mkfs.xfs /dev/md1

#Use blkid to find uuid of /dev/md1 and add to /etc/fstab so it mounts at boot time
vi /etc/fstab UUID=123987129873-1293872-129873-291837-98127398712938 /storage xfs defaults 1 3

#Mount /storage
mount -a

#Fix timezone info and launch MythTV setup
mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root -p mysql
mythtv-setup

##In MythTV setup, configure the following:
Configure /storage as the default storage location
Change playback to use OpenGL
Enable commercial auto skip
Change the minimum show start time difference to 2 minutes so the program guide will prompt to record instead of changing the channel

###IF YOU GET THE ERROR “table ‘internetcontent’ already exists” ###
mysql -u -p mythconverg
DROP TABLE IF EXISTS internetcontent;
DROP TABLE IF EXISTS internetcontentarticles;
exit;

#Configure GUI

##Enable autologin
vi /etc/lightdm/lightdm.conf
\_ autologin-user=mythtv

#Disable powermanagement and screensaver settings

##Add to the mythtv user’s .bash_profile
/usr/bin/xset s off
/usr/bin/xset -dpms

#Make sure users next session will be xfce
vi /var/lib/AccountsService/users/mythtv
\_ XSession=xfce

#Install switchdesk for easy desktop switching
yum install switchdesk -y

#Enable VNC through XFCE
vi /etc/lightdm/lightdm.conf
[VNCServer]
enabled=true
command=Xvnc -PasswordFile /home/mythtv/.vnc/passwd
port=5900
width=1024
height=768
depth=16

##Autolaunch mythfrontend upon login
Go to Settings =>; Session and Startup =>; Application Autostart
Choose Add
Name = Mythfrontend
Command = /usr/bin/mythfrontend

# Copy FW for capture cards
##wget http://dl.ivtvdriver.org/ivtv/firmware/cx18-firmware.tar.gz
##tar -xzvf cx18-firmware.tar.gz
cp /mythdora_config/scripts/cx18-firmware/*.fw /lib/firmware/
cp /mythdora_config/hvr2250_drivers/saa7164-v4l/NXP7164-2010-03-10.1.fw /lib/firmware/

#Setup Mythweb
cp /usr/share/mythweb /var/www/html/
chgrp -R apache /var/www/html/data
chmod g+rw /var/www/html/data

#begin copying old recordings from previous Mythdora installation from the source “/storage” to destination “/storage”
mount /dev/olddisk /storageold
rsync -auvE /storageold /

#In XFCE enable CairoDock, enable other desktops, disable screensaver and lock screen, disable all powermanagement

#Create keyboard shortcut in XFCE to Ctrl-Esc to launch /usr/bin/steam %U – just like the application launcher is set – this allows you to bring up Steam in big-screen mode without having to exit the MythTV frontend.

#To get Steam to stream over the network, make sure to enable it in the Steam settings labeled “In-Home Streaming”