Howtos - Installing MythTV
Overview
MythTV is a Linux-based personal video recorder (PVR) solution. Follow the link to MythTV for further details.
Doing software development for firewalls, backups and file servers is not always the most fun thing to do. Eventually, we have to do something a little more entertaining around here. The following Howto provides a quick and easy way to install MythTV on a ClarkConnect 5.x system.
 |
Warning! |
 |
| |
 |
|
There are quite a few details missing from this document. Hopefully, we can improve it over the next few months. |
|
Version
The MythTV version is 0.21 (including bug fixes up to revision 19704).
Installing MythTV
Backend
The following provides instructions on how to install a MythTV backend.
yum install app-mythtv-backend
- Setup your MySQL database using the ClarkConnect web-based interface tool
- Create a database called mythconverg and run the following SQL:
GRANT ALL ON mythconverg.* TO mythtv@localhost IDENTIFIED BY "mythtv";
FLUSH PRIVILEGES;
GRANT CREATE TEMPORARY TABLES ON mythconverg.* TO mythtv@localhost IDENTIFIED BY "mythtv";
FLUSH PRIVILEGES;
- Configure your MythTV backend by running mythtv-setup by using SSH X forwarding, or the old school remote X way (DISPLAY=192.168.2.202:0 mythtv-setup).
Frontend
The following provides instructions on how to install a MythTV frontend with just the MythVideo module.
yum install mythvideo ratpoison xorg-x11-xinit xorg-x11-server-Xorg xorg-x11-drivers xorg-x11-fonts*
X -configure
If all goes well, you will then be able to copy your X-Windows configuration to the proper location:
cp /root/xorg.conf.new /etc/xorg.conf
Now it is time to test the X-Windows environment:
startx
You will not see much at this point -- it's just a test. To exit X-Windows, hit Ctl-Alt-Backspace.
Ratpoison Window Manager
MythTV recommends an X-Windows Window Manager, so the Ratpoison Window Manager is included in the ClarkConnect build. Among other things, this software makes it possible to auto-start MythTV on boot.
Starting MythTV Frontend on Boot
If you want to start the MythTV frontend boot, most of the configuration has already been done. You can find details about the required configuration on the MythTV web site. All you need to do on a ClarkConnect system is add the following to the /etc/inittab file:
c7:12345:respawn:/sbin/mingetty --autologin=mythtv tty7
You can reboot the system to test, or simply type init q (I think). The following configuration files are part of the auto-login process, so you may want to tinker with these.
- /var/lib/mythtv/.bash_profile
- /var/lib/mythtv/.ratpoisonrc
- /var/lib/mythtv/.xinitrc
|