- Install the OS and Video Card Driver
- Install the Capture Card Driver
- Install the Remote Control Software
First thing is to install MySQL and start it up
Next up, configuring the MythTV backend...
[root@htpc ~]# yum install mysql mysql-serverNext, secure MySQL. I basically answered all the questions with a 'Y'
[root@htpc ~]# chkconfig mysqld on
[root@htpc ~]# service mysqld start
[root@htpc ~]# /usr/bin/mysql_secure_installationInstall QT 4.7. Needed to remove qt-x11 because it was conflicting with QT 4.7.
Enter current password for root (enter for none): <enter>
Set root password? [Y/n] y
Remove anonymous users? [Y/n] y
Disallow root login remotely? [Y/n] y
Remove test database and access to it? [Y/n] y
Reload privilege tables now? [Y/n] y
[root@htpc ~]# yum remove qt-x11Install MythTV
[root@htpc ~]# yum install qt47 qt47-x11 qt47-webkit qt47-mysql
[root@htpc ~]# yum install mythtv-backend mythtv-frontend mythtv-docs mythtv-setupCreate the MythTV database and user in MySQL.
[root@htpc ~]# mysql -u root -p < /usr/share/doc/mythtv-docs-0.24.1/database/mc.sqlFor performance reasons, it is recommended to tweak some MySQL settings. Simply edit /etc/my.cnf and add the following values:
key_buffer = 16MAnd restart MySQL for the changes to take effect
table_cache = 128
sort_buffer_size = 2M
myisam_sort_buffer_size = 8M
query_cache_size = 16M
[root@htpc ~]# service mysqld restartFinally, I like to do one last system update and reboot to make sure that all the necessary services start at boot time.
[root@htpc ~]# yum updateAnd test to make sure that MySQL and lirc are working
[root@htpc ~]# reboot
[root@htpc ~]# mysql -p
[root@htpc ~]# irw
No comments:
Post a Comment