This is a very basic 'cheat sheet' install guide for putting MythTV on your pc using red hat linux.
Load Redhat 9
- Pick the personal desktop
- - Customise the software load
- - - Take off Gnome (you can leave it on if you wish)
- - - Add on the folowing
- - - + KDE Desktop
- - - + KDE Software development
- - - + Kernel Development
- - - + Dev tools
- - - + SQL Database
- - - + X Software development
- - - + Web server
- - - + Network and Windows Fileserver (optional - if you want to share files)
- - - In individual settings add on -
- - - + MySQL
- - - + MySQL_Dev
- - - + MySQL_Server
Add a user 'mythtv'
Setup X windows to work with your card / tv. (see the chat area on Linux for more info on this)
rpm --import /usr/share/rhn/RPM-PGP-KEY (You need to do this to add some packages)
download the ATRPMS package off the internet (I got this one) -
http://ftp.freshrpms...c6-fr1.i386.rpm
and install with rpm -Uvh atrpms*
apt-get update && apt-get dist-upgrade (to update your system)
Reboot and log in as root
(Run the following to download the bits of software you need)
apt-get install synaptic
apt-get install mythtv-suite
apt-get install nvidia (if you use those graphics cards)
apt-get install bttv (drivers for BT8xx tv cards)
apt-get install ivtv (for digital tv cards)
apt-get install transcode
(Run the following to start MySQL database and get it set up for all the myth programs)
/sbin/chkconfig mysqld on
/sbin/service mysqld start
mysql -u root < /usr/share/doc/mythtv-0.11/database/mc.sql
mysql -u root < /usr/share/doc/mythvideo*/videodb/metadata.sql
mysql -u root < /usr/share/doc/mythdvd*/dvddb/metadata.sql
mysql -u root < /usr/share/doc/mythgallery*/database/gallery.sql
mysql -u root < /usr/share/doc/mythgame*/metadata.sql
mysql -u root < /usr/share/doc/mythmusic*/musicdb/metadata.sql
check drives have DMA on them with -
dmesg | grep DMA
if not you can speed it up with - hdparm -c1 -d1 /dev/hda
to be continued below -
Page 1 of 1
Redhat 9 basic install
#2
Posted 05 September 2003 - 12:07 PM
Reboot and log in as mythtv
go to a terminal window and run - mythtvsetup
fill in any paths / values you wish to use.
Setup the XMLTV program guide grabber (if you have an internet link)
xmltv --config-file '/home/mythtv/.mythtv/aerial.xmltv' --configure
run mythfilldatabase - to check it gets the program guide.
add a file to /etc/cron.daily call it something like mythdata (and set rights to 755) put the following in it -
#!/bin/sh
/usr/bin/mythfilldatabase
type setup and edit the system services.
Add mythbackend
add mysqld
remove anything you do not need (only if you know what they are)
run mythfrontend go to the config area and set up the file paths for each add on. Make sure the user 'mythtv' has rights to RWX these directories.
add mythfrontend to /etc/x11/xinit/xinitrc
add driver options to etc/modules.conf (here are my add ons)
alias char-major-81 bttv
alias char-major-195 nvidia
options i2c-core i2c_debug=1
options i2c-algo-bit bit_test=1
options bttv card=0x02 tuner=24 radio=1 bttv_verbose=2
options tuner debug=1 type=24 pal=I
options tvaudio debug=1
options ide-cd dma=1
to be continued below...
go to a terminal window and run - mythtvsetup
fill in any paths / values you wish to use.
Setup the XMLTV program guide grabber (if you have an internet link)
xmltv --config-file '/home/mythtv/.mythtv/aerial.xmltv' --configure
run mythfilldatabase - to check it gets the program guide.
add a file to /etc/cron.daily call it something like mythdata (and set rights to 755) put the following in it -
#!/bin/sh
/usr/bin/mythfilldatabase
type setup and edit the system services.
Add mythbackend
add mysqld
remove anything you do not need (only if you know what they are)
run mythfrontend go to the config area and set up the file paths for each add on. Make sure the user 'mythtv' has rights to RWX these directories.
add mythfrontend to /etc/x11/xinit/xinitrc
add driver options to etc/modules.conf (here are my add ons)
alias char-major-81 bttv
alias char-major-195 nvidia
options i2c-core i2c_debug=1
options i2c-algo-bit bit_test=1
options bttv card=0x02 tuner=24 radio=1 bttv_verbose=2
options tuner debug=1 type=24 pal=I
options tvaudio debug=1
options ide-cd dma=1
to be continued below...
#3
Posted 05 September 2003 - 01:23 PM
Set up the web server so you can set your video from anywhere -
edit /etc/httpd/conf/httpd.conf
Fine the bit about the user and change the user to mythtv
leave the group set to apache
add a line - alias /image_cache /var/www/html/mythweb/images_cache
add a few lines to <directory />
authname "please log in"
authtype basic
authuserfile /etc/httpd/.htpasswd
require valid-user
make a passwd file with the command -
htpasswd -c /etc/httpd/.htpasswd john
to add more drop the -c bit (which means create -
htpasswd /etc/httpd/.htpasswd fiona
Install MySqlAdmin (a great web based admin tool for mysql if needed)
if you have a dvd player drive -
mkdir /dev/dvd
ln -s /dev/hdc /dev/dvd
Reboot and you are off. Note - I have not installed Lirc on this system as I do not use it (I have a wireless keyboard) check the Remotes section on the forum for info on how to do that bit.
edit /etc/httpd/conf/httpd.conf
Fine the bit about the user and change the user to mythtv
leave the group set to apache
add a line - alias /image_cache /var/www/html/mythweb/images_cache
add a few lines to <directory />
authname "please log in"
authtype basic
authuserfile /etc/httpd/.htpasswd
require valid-user
make a passwd file with the command -
htpasswd -c /etc/httpd/.htpasswd john
to add more drop the -c bit (which means create -
htpasswd /etc/httpd/.htpasswd fiona
Install MySqlAdmin (a great web based admin tool for mysql if needed)
if you have a dvd player drive -
mkdir /dev/dvd
ln -s /dev/hdc /dev/dvd
Reboot and you are off. Note - I have not installed Lirc on this system as I do not use it (I have a wireless keyboard) check the Remotes section on the forum for info on how to do that bit.
Page 1 of 1

Sign In
Register
Help

MultiQuote