Skip to content


Building a mythtv box with gutsy

make desktop user login automatically

install nvidia restricted driver

apt-get install openssh-server portmap nfs-common xfsprogs lm-sensors snmpd smartmontools mutt postfix ssh dstat iptraf subversion checkinstall apache2 php5 qt3-dev-tools libdts-dev libfreetype6-dev lame apcupsd apcupsd-cgi logwatch dselect openbox

nano /etc/fstab

192.168.1.210:/offline /offline nfs soft,intr,rsize=32768,wsize=32768,async,nfsvers=3,bg,actimeo=0,tcp
192.168.1.210:/dvr /dvr nfs soft,intr,rsize=32768,wsize=32768,async,nfsvers=3,bg,actimeo=0,tcp
mkdir /dvrmkdir /offline

mount -a

wget http://mythbuntu.org/files/EEED06D0.gpg && sudo apt-key add EEED06D0.gpg && rm EEED06D0.gpg

echo "deb http://weeklybuilds.mythbuntu.org/mythbuntu-trunk/ubuntu gutsy multiverse universe restricted main" | sudo tee /etc/apt/sources.list.d/mythbuntu-gutsy.list

sudo wget http://www.medibuntu.org/sources.list.d/gutsy.list -O /etc/apt/sources.list.d/medibuntu.list

wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add – && sudo apt-get update

apt-get build-dep mythtv

download nx debs

sudo dpkg -i nxclient_3.0.0-89_i386.deb
sudo dpkg -i nxnode_3.0.0-93_i386.deb
sudo dpkg -i nxserver_3.0.0-79_i386.deb

RSYNC
cp /offline/files/rsync/rsyncd.conf /etc
cp /offline/files/rsync/rsyncd.secrets /etc
nano /etc/default/rsync and enable
chmod 600 /etc/rsyncd.secrets

/etc/init.d/rsync restart

SNMP

cp /offline/archive/common/snmpd.conf /etc/snmp

nano /etc/default/snmpd remove 127.0.0.1 our of config line

/etc/init.d/snmpd restart
SMARTD

cp /offline/archive/common/smartd.conf /etc/smartd.conf
nano /etc/default/smartmontools
start_smartd=yes
/etc/init.d/smartmontools restart

WEBMIN

apt-get install libauthen-pam-perl libio-pty-perl libmd5-perl libnet-ssleay-perl
dpkg -i webmin_1.390_all.deb

apt-get update

apt-get upgrade

dpkg –set-selections < /offline/archive/ubuntu-files-gutsy

dselect

This will open up a dselect session. Type ‘I‘ and allow dselect to install of the the packages listed in your ubuntu-files document. When it’s finished, type ‘Q‘ and hit the ENTER key to exit dselect.

Customize desktop for mythtv

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
mythfrontend&
killall irexec
irexec -d
nvidia-settings -l
mtd -d

exec openbox

chmod +x /usr/local/bin/mythtv.sh

ENVY

wget http://albertomilone.com/ubuntu/nvidia/scripts/ubuntu/envy_0.9.9-0ubuntu4_all.deb
apt-get install xserver-xorg-dev module-assistant fakeroot dh-make libstdc++5 gcc-3.3-base

dpkg -i envy_0.9.9-0ubuntu4_all.deb

LIRC

cp /offline/archive/m1box/lircrc /home/desktop/.mythtv
ln -s /home/desktop/.mythtv/lircrc /home/desktop/.lircrc

Backend

cp /dvr/scripts/mythtv-backend /etc/init.d

cp /dvr/scripts/mythtv-backend.default /etc/default/mythtv-backend

update-rc.d mythtv-backend defaults

mkdir /var/log/mythtv

make sure /root/.mythtv/mysql.txt is created and correct

/etc/init.d/mythtv-backend start

apt-get install phpmyadmin cacti backuppc

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.