Skip to content


Building a 0.22 (trunk) mythbackend on ubuntu Jaunty

start os install

during install routine I create a default user and we will call it desktop.

make desktop user login automatically

install nvidia restricted driver

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 phpmyadmin 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 mysql-server mysql-server-5.0 mysql-server-core-5.0 ntp phonon phonon-backend-gstreamer pvm pwgen python-mysqldb qt4-qtconfig sox toolame transcode transcode-doc ttf-liberation libqt4-dev nvidia-180-libvdpau nvidia-180-libvdpau-dev libxxf86vm-dev

mkdir /dvr /offline
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

mount -a

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

cp /offline/archive/common/sources.list.jaunty /etc/apt/sources.list

aptitude update
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.3.0-6_x86_64.deb
sudo dpkg -i dpkg -i nxnode_3.3.0-17_x86_64.deb
sudo dpkg -i dpkg -i nxserver_3.3.0-22_x86_64.deb

RSYNC
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

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

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

Wake on lan if supported

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

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

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

chown mythtv.mythtv /var/log/mythtv

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

/etc/init.d/mythtv-backend start

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.