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 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 nvidia-180-libvdpau nvidia-180-libvdpau-dev libxxf86vm-dev xfce4
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
sudo apt-key adv --
keyserver keyserver.ubuntu.com --
recv-keys CEC06767
cp /offline/archive/common/sources.list.karmic /etc/apt/sources.list
aptitude update
aptitude install nvidia-190-modaliases nvidia-glx-190 nvidia-190-libvdpau-dev
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.490_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
download mythtv 0.22-fixes from svn and compile
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
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
LIRC
cp /dvr/files/lircrc /home/desktop/.mythtv
ln -s /home/desktop/.mythtv/lircrc /home/desktop/.lircrc
Recent Comments