Skip to content


Installing mythtv on ubuntu edgy

Make changes to your sources.list file

deb http://archive.ubuntu.com/ubuntu/ edgy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ edgy-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ edgy-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse
deb http://home.eng.iastate.edu/~superm1 edgy all
deb-src http://home.eng.iastate.edu/~superm1 edgy all
deb http://dl.ivtvdriver.org/ubuntu edgy firmware

wget http://home.eng.iastate.edu/~superm1/80DF6D58.gpg -O- | sudo apt-key add –
wget http://dl.ivtvdriver.org/ubuntu/80DF6D58.gpg -O- | sudo apt-key add –

ntpdate ntp.ubuntu.com
apt-get install openssh-server portmap nfs-common xfsprogs ntp-simple lm-sensors snmpd smartmontools mutt postfix
sensors-detect
NFS
nano /etc/fstab 192.168.1.7:/offline /offline nfs rsize=8192,wsize=8192,timeo=14,intr
mkdir /offline
mount -a

cp /offline/archive/common/snmpd.conf /etc/snmp
nano /etc/default/snmp and remove 127.0.0.1
cp /offline/archive/common/smartd.conf /etc/smartd.conf
nano /etc/default/smartmontools
start_smartd=yes
/etc/init.d/smartmontools restart

NVIDIA
apt-get install nvidia-glx linux-restricted-modules-generic
nvidia-xconfig

IVTV
apt-get install ivtv-source devscripts ivtv-utils module-assistant mplayer
apt-get install ivtv-firmware
m-a update,prepare
m-a a-i ivtv
depmod -a
modprobe ivtv
sh -c ‘echo ivtv >>/etc/modules’

LIRC
apt-get install lirc lirc-modules-source module-assistant
dpkg-reconfigure lirc-modules-source
do not build modules when asked
nano /etc/lirc/hardware.conf make sure you have a line with MODULES=”lirc_mceusb2″
m-a update,prepare
rm /usr/src/lirc*deb
m-a clean lirc
m-a a-i lirc
depmod -a
cp /offline/dvr/m1box/lircd.conf /etc/lirc
cp /offline/dvr/m1box/lircrc /home/desktop/.mythtv
ln -s /home/desktop/.mythtv/lircrc /home/desktop/.lircrc

DVB
cp /offline/files/dvb-fe-nxt2004.fw /lib/firmware
modprobe saa7134-dvb
add blacklist saa7134 to /etc/modprobe.d/blacklist
add saa7134-dvb to /etc/modules

FIREWIRE
apt-get install build-essential libraw1394-dev libiec61883-dev wget

Install Mythtv
apt-get install mythtv-frontend gdm ubuntu-artwork xterm openbox gnome-screensaver xserver-xorg gsfonts-x11 xfonts-100dpi xfonts-75dpi msttcorefonts xfonts-base mysql-server mythtv-backend mythtv-database usplash-theme-ubuntu
nano /usr/share/xsessions/mythtv.desktop
[Desktop Entry]
Encoding=UTF-8
Name=MythTV
Comment=Use this session to run MythTV
Exec=/usr/local/bin/mythtv.sh
Icon=
Type=Application

nano /usr/local/bin/mythtv.sh
gnome-screensaver
mythfrontend&
killall irexec
irexec -d
nvidia-settings -l
mtd -d

exec openbox

chmod +x /usr/local/bin/mythtv.sh
usermod -a -G mythtv desktop
nano /etc/mysql/my.cnf
comment out bind-address= 127.0.0.1
/etc/init.d/mysql restart
apt-get install apache2
apt-get install phpmyadmin
apt-get install libapache2-mod-php5 php4-mysql mythweb

FREENX
http://www.nomachine.com/download-pa…php?Prod_Id=27
http://www.nomachine.com/download-pa…php?Prod_Id=33
http://www.nomachine.com/download-package.php?Prod_Id=3

RSYNC
cp /offline/files/rsync/rsyncd.conf /etc
cp /offline/files/rsync/rsyncd.secrets /etc
nano /etc/default/rsync and enable
/etc/init.d/rsync restart

MYTHWEB
cp -R /offline/dvr/source/svnhead/mythplugins/mythweb /var/www/
nano /var/www/mythweb/mythweb.conf.apache
mv /var/www/mythweb/mythweb.conf.apache /etc/apache2/conf.d/mythweb.conf
nano /etc/php4/apache2/php.ini uncomment the mysql line
nano /etc/php5/apache2/php.ini uncomment the mysql line
/etc/init.d/apache2 restart
chmod 777 /usr/share/mythtv/mythweb/data/tv_icons
chown www-data.www-data data/

Posted in Linux, Mythtv.


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

You must be logged in to post a comment.