Skip to content

Building mytfrontend with karmic and mythbuntu packages

aptitude install openssh-server portmap nfs-common xfsprogs lm-sensors snmpd smartmontools mutt postfix ssh dstat iptraf subversion checkinstall apache2 php5 libdts-dev libfreetype6-dev lame apcupsd apcupsd-cgi logwatch dselect openbox lirc mailx sysv-rc-conf mysql-client gparted libfame-0.9 libhtml-template-perl libmjpegtools-1.9 libnet-upnp-perl libphonon4 libpvm3 libqt4-dbus libqt4-designer libqt4-network libqt4-opengl libqt4-qt3support libqt4-script libqt4-sql libqt4-sql-mysql libqt4-webkit libqt4-xml libqtcore4 libqtgui4 libquicktime1 libsox-fmt-alsa libsox-fmt-base libsox1 libxml-namespacesupport-perl libxml-sax-expat-perl libxml-sax-perl libxml-simple-perl mjpegtools ntp phonon phonon-backend-gstreamer pvm pwgen python-mysqldb qt4-qtconfig sox toolame transcode transcode-doc ttf-liberation libqt4-dev libxxf86vm-dev xfce4 dstat iftop

mkdir /dvr /offline
nano /etc/fstab /offline nfs soft,intr,rsize=32768,wsize=32768,async,nfsvers=3,bg,actimeo=0,tcp /dvr nfs soft,intr,rsize=32768,wsize=32768,async,nfsvers=3,bg,actimeo=0,tcp

mount -a

cp /etc/apt/sources.list /etc/apt/

aptitude upgrade
aptitude build-dep mythtv

aptitude install libmad0 libmad0-dev flac libflac-dev libcdaudio-dev libtag1-dev libcdparanoia-dev xine-ui libxine1-ffmpeg mplayer libpulse-dev

download nx debs

sudo dpkg -i nxclient_3.4.0-5_x86_64.deb
sudo dpkg -i nxnode_3.4.0-6_x86_64.deb
sudo dpkg -i nxserver_3.4.0-8_x86_64.deb

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


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

nano /etc/default/snmpd remove our of config line
/etc/init.d/snmpd restart

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


aptitude install libauthen-pam-perl libio-pty-perl libmd5-perl libnet-ssleay-perl
dpkg -i /offline/files/webmin_1.500_all.deb

Wake on lan if supported

echo ‘ethtool -s eth0 wol g’ >> /etc/rc.local

cp /offline/archive/common/apcupsd.conf /etc/apcupsd
nano /etc/default/apcupsd and make isconfigured=yes
/etc/init.d/apcupsd restart

aptitude install distcc distcc-pump

Note: karmic has pump script problems, change line in /usr/bin/pump to

instead of


cp /offline/archive/common/distcc/hosts /etc/distcc
cp /offline/archive/common/distcc/distcc /etc/default

Posted in General.

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.