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:


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

Acquire::http { Proxy “”; };

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 stable main


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

Allow remote connections as described here:

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

# 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”


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


install nfs-kernel-server and add this to /etc/exports



Maybe first copy old db settings from /etc/mythtv


cups and cups-bsd needs to be installed


install subversion + libapache2-svn

Comments are closed.