Re-installing my Linux server

Just a few notes for myself on how to re-install my server running Ubuntu. Including setup of mythtv etc.

After installing the server if running into a grub problem, simply install grub-pc from a rescue cd/usb stick. (grub-efi does for some reason not work in my setup).

Interesting packages, I usually install:

apt-cacher-ng

After installation, create/etc/apt/apt.conf.d/00proxy-beatrix with

Acquire::http { Proxy “http://beatrix.svalgaard.net:3142”; };

Logitech Media Server / slim server (or what ever the current name is)

Add a file /etc/apt/sources.list.d/slimdevices.list with the following line:

deb http://debian.slimdevices.com stable main

MySQL

This is later used for MythTV. Copy old database files from /var/lib/mysql/

Allow remote connections as described here: http://www.mythtv.org/wiki/Mythfrontend

udev – persistent DVB names

To ensure that my DVB USB devices get the same name at every boot create a file /etc/udev/rules.d/dvb-svalle.rules with a contents like this:

# get possible attributes using this cmd:
# udevadm info -a -$(udevadm info -q path -n /dev/sdb)
# udevadm info -a -p $(udevadm info -q path -n /dev/dvb/adapter0/dvr0)
#
# Also see
# http://www.mythtv.org/wiki/Device_Filenames_and_udev

# 10 AnySee DVB-T Tuner
SUBSYSTEM==”dvb”, ATTRS{manufacturer}==”AMT.CO.KR”, ATTRS{product}==”anysee-T(LP)”, PROGRAM=”/bin/sh -c ‘K=%k; K=$${K#dvb}; printf dvb/adapter10/%%s $${K#*.}'”, SYMLINK+=”%c”

# 20,21 Hauppauge Nova-DT (dual) DVB-T
SUBSYSTEM==”dvb”, ATTRS{manufacturer}==”Hauppauge”, ATTRS{product}==”WinTV Nova-DT”, ATTRS{serial}==”4032816595″, PROGRAM=”/bin/sh -c ‘ K=%k; K=$${K#dvb}; N=$${K#*.}; if [ ! -e /dev/dvb/adapter50/$N ] ; then printf dvb/adapter50/%%s $${K#*.}; else printf dvb/adapter51/%%s $${K#*.}; fi ; exit 0′”, SYMLINK+=”%c”

# 30 Asus DVB-T Tuner: U3100 mini
SUBSYSTEM==”dvb”, ATTRS{manufacturer}==”ASUSTeK”, ATTRS{product}==”ASUS DVBT Tuner”, ATTRS{serial}==”8702700522″, PROGRAM=”/bin/sh -c ‘K=%k; K=$${K#dvb}; printf dvb/adapter30/%%s $${K#*.}'”, SYMLINK+=”%c”

exim4-daemon-light

After installation set it up using

dpkg-reconfigure exim4-config
as an "internet site" which basically means that it tries to send email directly to everybody
Also: you may want to setup .forward for most accounts to make it forward email to the real hosts

NFS

install nfs-kernel-server and add this to /etc/exports
/share 172.16.3.0/24(rw,no_root_squash,nohide,async,no_subtree_check,insecure)
/home 172.16.3.7(rw,no_root_squash,nohide,async,no_subtree_check,insecure)

 

mythtv-backend-master

Maybe first copy old db settings from /etc/mythtv

cups

cups and cups-bsd needs to be installed

subversion

install subversion + libapache2-svn

Skriv et svar

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>