Installing MythTV 0.24 in Fedora 17

I'm going to go through the steps of installing MythTV 0.24 on Fedora 17.

This page is a single dump for easy finding of all the individual pages you can find in the right navigation menu.

Installing flash plugin in Fedora

To install the flash plugin is fedora is as simple as installing the repository and the doing the installation

#rpm -Uvh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm

Then to install do:

#yum install flash-plugin

Installing skype in Fedora

We need to add the Skype repository manually as there is no rpm. To do so, create the file /etc/yum.repos.d/skype.repo

vi /etc/yum.repos.d/skype.repo

Then, add these content into that file:

name=Skype Repository

Save it and then run this command:

yum install skype

Installing Windows True Type Fonts, Win32 Codecs and libdvdcss2 in Fedora

If you want to intereact with the real world, there are a few things that will make this interaction nicer in Fedora, they are:

  • Windows Fonts: to be able to read and create documents using those fonts
  • Windows Codecs: to be able to play media encoded using those codecs
  • Libdvdcss2: to be able to play just about any commercial movie

Installing Windows TrueType fonts

mkdir /video/support/software/msfonts
cd /video/support/software/msfonts
wget corefonts.sourceforge.net/msttcorefonts-2.0-1.spec
yum -y install rpm-build cabextract ttmkfdir
rpmbuild -bb msttcorefonts-2.0-1.spec
rpm -ivh /root/rpmbuild/RPMS/noarch/msttcorefonts-2.0-1.noarch.rpm --nodeps

Installing Win32-Codecs

mkdir /video/support/software/win32codecs
cd /video/support/software/win32codecs
wget www.mplayerhq.hu/MPlayer/releases/codecs/all-20110131.tar.bz2
tar xfvj all-20110131.tar.bz2
mkdir /usr/lib/codecs/
cp all-20110131/* /usr/lib/codecs/
ln -s /usr/lib/codecs/ /usr/lib/win32

Installing libdvdcss2

yum install wget
mkdir /video/support/software/libdvdcss2
cd /video/support/software/libdvdcss2
wget dl.atrpms.net/f17-i386/atrpms/stable/libdvdcss2-1.2.11-6.fc17.i686.rpm
rpm -ivh libdvdcss2-1.2.11-6.fc17.i686.rpm

Installing Nvidia Video Drivers

From Fedora 12 nouveau interferes with the nvidia driver, to disable nouveau, first you'll have to blacklist it:

echo 'blacklist nouveau' >> /etc/modprobe.d/blacklist.con

Remove / disable nouveau drivers from kernel initramfs

## Backup old initramfs nouveau image ## mv /
boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img   
## Create new initramfs image ## 
dracut /boot/initramfs-$(uname -r).img $(uname -r)

Open /etc/default/grub file:

## Modify following line ## 
GRUB_CMDLINE_LINUX="quiet rhgb"  
## to ##

="quiet rhgb rdblacklist=nouveau nouveau.modeset=0"

Then make grub2 config with grub2-mkconfig command:

grub2-mkconfig -o /boot/grub2/grub.cfg


Package Installation:

yum install akmod-nvidia xorg-x11-drv-nvidia-libs

Reboot your computer.

Manual Installation:

This process involves the creation of a kernel module, meaning that everytime the kernel version changes (when doing a #yum update), you'll have to do it again.

To do this process I'm creating the directory /video/support/software/nvidia, then going into that directory and downloading the nvidia drivers with the wget command. Then I switch to mode 3, and perform the installation of the driver.

Once the module is built, switch back to run mode 5.

These are the commands:

mkdir /video/support/software/nvidia
cd /video/support/software/nvidia
wget us.download.nvidia.com/XFree86/Linux-x86/260.19.44/NVIDIA-Linux-x86-260.19.44.run
init 3
sh NVIDIA-Linux-x86-260.19.44.run
init 5

Once you are back in KDE, you can configure your graphics adapter by going to:

System->NVIDIA X Server Settings

Installing Apache, PHP and MySQL

If you are planning to use Mythweb, you'll need apache, php and mysql.

To install apache and php with some modules

yum install httpd php php-common php-pear php-pdo php-mysql php-pgsql php-pecl-memcache php-gd php-mbstring php-mcrypt php-xml

Set apache to start automatically:

chkconfig httpd on

Now you can edit the apache configuration file and set the server name, to do so, open the apache configuration file:

vi /etc/httpd/conf/httpd.conf

Look for ServerName in that file. In case it is commented, uncomment it and set a name and a port, for example:

ServerName mythbox-master.omcentre.com.au:80

Now start the server:

service httpd start

To install MySQL

yum install mysql mysql-server

To start mysql and make it start automatically everytime the computer boots:

chkconfig mysqld on
service mysqld start

Now check that networking is enabled. Run:

netstat -tap

You should see a line like this:

tcp 0 0 *:mysql *:* LISTEN 2721/mysqld

Now, assign a password for the root user in MySQL, and replace the user root with the user mysql. I'm using the password mythtv.

mysqladmin -h localhost -u root password mythtv
mysql -uroot -pmythtv mysql

Once you are in the mysql console do the following:

mysql> UPDATE user SET user='mythtv' WHERE user='root';
mysql> quit

Install phpMyAdmin

If you want to have access and edit your mysql databases easily, I would recommend you install phpMyAdmin

To install it:

yum install phpMyAdmin

Then edit the configuration file:

vi /etc/phpMyAdmin/config.inc.php

If you are using user mysql and password mysql, these are the parameters

$cfg['Servers'][$i]['controluser']   = 'mythtv';          // MySQL control user settings
                                                    // (this user must have read-only
$cfg['Servers'][$i]['controlpass']   = 'mythtv';          // access to the "mysql/user"
                                                    // and "mysql/db" tables).
                                                    // The controluser is also
                                                    // used for all relational
                                                    // features (pmadb)
$cfg['Servers'][$i]['auth_type']     = 'http';      // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user']          = 'mythtv';          // MySQL user
$cfg['Servers'][$i]['password']      = 'mythtv';          // MySQL password (only needed

Continue Shoppping View Cart
Continue Shoppping View Wishlist