GNU/Linux Desktop Survival Guide by Graham Williams |
|||||
The beta2 release of the Debian Installer (Netinst) was downloaded as an ISO image from http://www.debian.org/devel/debian-installer/. The actual image might be found at http://gluck.debian.org/cdimage/testing/sarge_d-i/i386/beta2/sarge-i386-netinst.iso
Boot from the CD-ROM. For the Debian install choose English (Australian). There is no DHCP on the local network so a static network was configured. The disk was partitioned with 19GB for / and 1GB for swap. Reboot.
Configure the time zone as Australia/ACT. Add Root and User accounts. For apt choose CDROM. Don't do any task selection for now. No specific exim4 options need be selected - set up as a local system.
Note that to reconfigure, run the base-config program.
The resolv.conf didn't include my usual search line so it was added:
search togaware.com |
Install ssh
and then copy a master sources.list
file, followed by apt-get update (the CD is no longer
required) and then apt-get install wajig to get things
going:
# mv /etc/apt-get/sources.list /etc/apt-get/sources.list.orig # scp athens:/etc/apt-get/sources.list /etc/apt-get/sources.list $ apt-get update $ apt-get install wajig $ wajig update $ wajig dist-upgrade |
Now the setup begins. Install emacs21 less most zile.
Set up, for the user account, ssh for access to remote accounts if you
like, to avoid repeatedly typing a password:
$ mkdir .ssh $ scp athens:.ssh/id_dsa .ssh/ $ scp athens:.ssh/authorized_keys2 .ssh/authorized_keys $ ssh-agent bash $ ssh-add Enter passphrase for /home/kayon/.ssh/id_dsa: Identity added: /home/kayon/.ssh/id_dsa (/home/kayon/.ssh/id_dsa) |
Now copy setup files from remote hosts:
$ scp athens:{.bashrc,.bash_profile} . $ scp athens:{.emacs,.emacs-custom,.emacs-kayon} . $ scp athens:{.xsession,.Xresources} . |
Copy the same files for root.
Use visudo to set up wajig usage for a user.
Install grub:
$ wajig install grub $ sudo grub-install /dev/hda $ sudo update-grub $ wajig remove lilo |
postinst_hook = /sbin/update-grub postrm_hook = /sbin/update-grub |
Install kernel-image-2.4.25-1-686.
Install ntpdate to set the system clock accurately from a reliable server (e.g., ntp.togaware.com).
Get X Windows working with the Rage card by installing x-window-system gnome gdm gdm-themes cinepaint xine-ui. I've chosen a 1280x1024 resolution for display on a Dell flat panel.
Install openoffice.org xmms apache
Run tasksel to install groups of packages.
Install vrms! And any other packages as appropriate.