Introduction
This page describes how AlexisHuxley completes a Debian installation. It is intended to be completed as part of a template installation.
Procedure
Complete the section of InstallingIcinga regarding installing client software (see also MDI#046).
- Optionally grant users access to local hardware, according to the following table:
capability
procedure
access USB devices
run adduser <login> plugdev
access iTouch/iPhone
run adduser <login> fuse
see http://wiki.debian.org/iPhone regarding SysInfoExtendeduse serial ports (e.g. to run kermit)
run adduser <login> dialout
create VMs
run adduser <login> libvirt
generate audio
run adduser <login> audio
use webcam
run adduser <login> video
burn and read raw CDs/DVDs
run adduser <login> cdrom
use scanner
run adduser <login> scanner
I generally run something like this:
for H in fiori torchio nb016161; do for U in alexis suzie; do for G in cdrom audio video plugdev; do ssh -n $H adduser $U $G; done; done; done for H in fiori torchio nb016161; do for U in alexis; do for G in dialout libvirt; do ssh -n $H adduser $U $G; done; done; done
On a headless lenny physical system (e.g. storage server macaroni) add a serial console according to the following sub-procedure:
- Ensure onboard serial port is enabled in the BIOS
- Run kermit back to back on two systems connected by a serial line to verify communications
Unfortunately, it is not clear whether grub has been built for Debian with prefix-menu support and, if it has, what that prefix-menu is. Therefore the first reliable interaction with grub is already after it has loaded the menu.lst file. That being the case, the instruction to grub to use a serial console might as well go in the menu.cfg. Edit /boot/grub/menu.lst and add the following right at the top:
serial --unit=0 --speed=115200 terminal --timeout=0 serial console
Append the following the '# kopt=' line in the same file:
# kopt=... console=ttyS0,115200 console=tty0
Run:
update-grub
Uncomment the following line in /etc/inittab:
#T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
and change the 9600 to 115200.Run:
telinit q
Note the connection parameters. E.g.
I need a network cable, 2 x RJ45-to-9pin-female-Canon-D connectors and a null-modem (I thought network cables had a "twist" but nevertheless I did need this) The commands to be run on the console terminal are: $ kermit > set line /dev/ttyS0 > set carrier-watch off > set flow none > set speed 115200 > connect After powering on macaroni at time T, there's a beep at T+7s, the grub menu appears at T+28s, the boot menu times out at T+33s, the last kernel message appears at T+77s and the login prompt appears at T+83s
- To remove some Gnome-related stuff, complete the following sub-procedure:
- remove consolekit
- install gdm (only needed on Ubuntu, where removing consolekit will try and fail to remove gdm)
- install netcat
- run debfoster, purge Gnome-related stuff, keep metacity and file-roller
- on login servers only, install synaptic
Note that:
a similar procedure is documented at ItSupportPages/InstallingUbuntu
this step should be moved into PDI
All updates should already have been applied. Verify this by running:
apt-get update apt-get dist-upgrade
Run:
dpigs
and consider removing some of the packages listed.Clean the system by running:
apt-get --purge autoremove apt-get clean
Record the current set of packages by running:
debfoster -q
Adjust the thresholds for disk capacity by running:
mondsk -e vi /etc/mondsk.conf
AlexisHuxley needs ensure the system is a candidate for updates to locally written software by running:
rocon -eand adding a suitable entry for the system.
