PRELIMINARIES I) emergency boot: A1) boot to the Debian 2.1 Boot Floppy 1) to run fsck, umount /dev/hda3;e2fsck -av /dev/hda3 a) -av will check and repair the disk with no prompts b) -nv will check the disk in read-only status, and no updates will be made c) -f will force the disk to be checked, if the disk is "clean" d) -b 8193 will replace the superblocks with copies e) -v is for verbose output f) immediately after e2fsck, issue shutdown -r now 2) to mount the CD, mount -t iso9660 -r /dev/hdc /cdrom 3) to unmount the CD, umount /cdrom 4) To install lilo from /etc/lilo.conf, /sbin/lilo 5) The hard disk is /dev/hda a) hda1 is the boot partition c) hda2 is the Linux partition d) hda3 is the Linux swap partition 6) The CD-ROM is /dev/hdc 7) to shutdown the system: a) shutdown -h now will halt the system b) shutdown -r now will reboot the system 8) to add, or remove, demand dial ppp on boot add, or remove, a null file /etc/ppp/ppp_on_boot A2) boot to the Debian 2.1 CD: 1) CD in CD-ROM 2) boot:, enter 3) Select color display 4) Next, Continue with the installation 5) Execute a Shell 6) to mount the disk, mount -t ext2 /dev/hda3 /mnt or, mount -t ext2 /dev/hda1 /mnt 7) to unmount the disk, umount /mnt 8) to run fsck, umount /dev/hda3;e2fsck -av /dev/hda3 a) -av will check and repair the disk with no prompts b) -nv will check the disk in read-only status, and no updates will be made c) -f will force the disk to be checked, if the disk is "clean" d) -b 8193 will replace the superblocks with copies e) -v is for verbose output f) immediately after e2fsck, issue shutdown -r now 9) to mount the CD, mount -t iso9660 -r /dev/hdc /mnt 10) to unmount the CD, umount /cdrom 11) To install lilo from /etc/lilo.conf, /sbin/lilo 12) The hard disk is /dev/hda a) hda1 is the boot partition c) hda2 is the Linux partition d) hda3 is the Linux swap partition 13) The CD-ROM is /dev/hdc 14) to shutdown the system: a) shutdown -h now will halt the system b) shutdown -r now will reboot the system PARTITION CONFIGURATION II) Partitioning with Debian Linux, 2.1 A) CD in CD-ROM B) boot:, enter C) Select color display D) Continue with the installation E) Keyboard is qwerty/us F) Partitian a hard disk /dev/hda 1) new (for hda1) a) primary b) 24.68 c) beginning d) bootable 2) new (for hda3) a) primary b) 15118.07 c) beginning 3) new (for hda4) a) primary b) 131.61 c) beginning d) type i) Linux swap, 82 4) write 5) quit G) Reboot the system DEBIAN 2.1 INSTALLATION III) Installation of Debian Linux, 2.1 A) CD in CD-ROM B) boot:, enter C) Select color display D) Continue with the installation E) Keyboard is qwerty/us NO F) Partitian a hard disk /dev/hda 1) new (for hda1) a) primary b) 24.68 c) beginning d) bootable 2) new (for hda3) a) primary b) 15118.07 c) beginning 3) new (for hda4) a) primary b) 131.61 c) beginning d) type i) Linux swap, 82 4) write 5) quit G) Initialize and Activate a Swap Partition, /dev/hda4 H) Initialize a Linux partition, /dev/hda3 1) Yes, mount /dev/hda3 as the root filesystem, and mount as / I) Initialize a Linux partition, /dev/hda1 1) Select the mountpoint for /dev/hda1 is /boot J) Install Operating System Kernel and Modules 1) From cdrom, /dev/hdc, default paths K) Configure Device Driver Modules 1) net a) tulip - DEC 21040 Ethernet Interface i) Install b) bsd_comp - BSD cmpression for PPP and SLIP connections i) Install c) ppp - Serial Point-to-Point Protocol Networking i) Install d) Exit Finish with these modules 2) misc a) serial - Serial ports based on 8250, 16450, 16550 i) Install b) Exit Finish with these modules 3) fs a) vfat - Windows 95 long file names on an MS-DOS filesystem i) Install b) binfmt_aout - Run old-style Linux A.OUT programs i) Install c) Exit Finish with these modules 4) Exit Finish with these modules M) Configure the Network 1) Hostname is somemachine 2) Domain name is somedomain.com 3) IP Address is 123.123.123.123 4) Netmask is 255.255.255.0 5) Broadcast address is 123.123.123.255 6) Yes, gateway is 123.123.123.124 7) The system will be its own DNS server 8) Primary network interface is eth0 N) Install the Base System 1) From cdrom, /dev/hdc, default paths O) Configure the Base System 1) Timezone is PST8PDT 2) Hardware will not be set to GMT P) Make Linux Bootable from the Hard Disk Q) Reboot the system, (without the CD-ROM) 1) Insert CD-ROM 2) Yes, shadow passwords 3) Yes, remove the pcmcia packages 4) Yes, choose one of several selections 5) Custom Make your own profile: select the tasks for this system a) Omit Chinese b) Omit Newbie c) Omit News d) Omit Nis 6) Access a) multi_cd b) answer none to all prompts 7) Update 8) Skip Select 9) Install a) Default paper name is letter b) No, do not have ipmasq recompute firewall rules for pppd c) No, do not start IP Masquarading d) News server's name is nntp.somedomain.com e) Default number of items in the learning file, 32768 f) No, do not configure wvdial now g) Default IRC server is irc.debian.org h) Forwarder IP addresses are "123.123.1.2 123.123.1.3" i) Yes, enable forward-only mode j) Yes, enable localhost entries, I) and list them in /etc/resolv.conf k) Yes, start the nameserver daemon now l) Quit, sound system configuration, i) run /usr/sbin/gomconfig later m) Default URL for Lynx is http://www.somedomain.com n) No, don not change the gpm mouse event server o) No, keep the current verson of epic servers p) No, do not configure inews now q) Enable anonymous ftp access r) No, do not make sash the login shell for root s) Use nntp.somedomain.com for reading and posting news t) 3, run slrn manually to update newsgroups i) Happy with that configuration ii) Not online now, do not refresh newsgroups u) Enter to end address of NTP server v) Run ntpdate every time xntpd starts w) Enter to terminate CVS repositories x) Enter to terminate files in repositories being rotated weekly y) Yes, to pserver being installed in inetd z) 2, Internet site using smarthost aa) Visable mail name for system is somedomain.com ab) Enter to end visable names ac) Enter to end domains that somedomain.com relays mail for ad) Relay for local machine 123.123.0.0/16 ae) No, do not use RBL af) Smarthost for outgoing mail is yellow.rahul.net ag) Mail to mail administrator accounts should go to someone@somedomain.com ah) Everything is ok, yes ai) Run Samba from inetd aj) No, don't generate Samba's password file from /etc/passwd ak) The local kernel maintainer is Some One al) The email address of the local kernel maintainer is someone@somedomain.com am) Add the password for the client/server authentication an) No, do not generate the dig database now ao) No, VGA16 X server ap) Leave out any flags for playmidi i) And, don't change it aq) Mime audio priority is 1 ar) No, SVGA X server as) Yes, Mach64 X server at) No, do not install example files from isdnconfig au) Use XSysinfo-color av) Do not change gnuplot's suid root aw) American ispell dictionaries ax) Apache ServerAdmin is someone@somedomain.com ay) Default DocumentRoot for Apache is /var/www az) Apache listens on port 80 ba) Do not load Apache modules now bb) Save the changes to the configuration files bc) Restart Apache bd) Do not make olvwm the default window manager be) Do not configure xmcd now bf) Make fvwm2 the default window manager bg) Do not enable LED support bh) No, do not modify the banners used by xdm bi) No, make the S3 Xserver the default bj) Use color for xftp bk) Bytecompile now bl) American date format for Postgress bm) Bytecompile now bn) Use ghostview for mime, 1 bo) Use ghostview for mime, 1 bp) Do not make olwm the default window manager bq) Bytecompile now br) Bytecompile now bs) Bytecompile now bt) Bytecompile now bu) Bytecompile now bv) Use port 8088 for omniorb bw) Do not make Scwm the default window manager 10) Config 11) Remove 12) Quit R) Reboot the system, (without the CD-ROM) 1) Login as root a) dselect i) access, multi_cd, /dev/cdrom answer none to all prompts ii) Update iii) Select, (space to get listing, '+' on uucp, then Enter) iv) Install v) Config vi) Remove vii) Quit b) dselect i) access, multi_cd, /dev/cdrom answer none to all prompts ii) Update iii) Select, (space to get listing, '+' on mgetty, and mgetty-doc, then Enter) iv) Install v) Config vi) Remove vii) Quit 2) Login as root a) cp /usr/local/src/hylafax.tar.gz . b) gunzip hylafax.tar.gz c) tar xvf hylafax.tar i) dpkg -i libtiff-tools_3.4beta037-5.1.deb ii) dpkg -i enscript_1.6.2-3.99.slink.y2k.1.deb iii) dpkg -i hylafax-server_4.0.2-8.deb iv) dpkg -i hylafax-client_4.0.2-8.deb v) dpkg -i hylafax-doc_4.0.2-8.deb vi) dpkg -i tkhylafax_3.2-1.deb 3) Login as root a) change the shell in /etc/passwd for uucp to /usr/lib/uucp/uucico 4) Login as root a) place the Wordperfect Office CD in the CDROM b) /usr/local/bin/mountcd c) xinit as root d) cd /cdrom e) ./setup 5) NO Compile the kernel a) mv /lib/modules/2.2.12 /lib/modules/2.2.12.bak b) mv /boot/vmlinuz-2.2.12.bak c) mv /boot/System.map-2.2.12 /boot/System.map-2.2.12.bak d) cd /usr/src i) gunzip kernel-source-2.2.12.tar.gz ii) tar xvf kernel-source-2.2.12.tar iii) ln -s kernel-source-2.2.12 linux iv) cd linux v) make clean vi) make config or make menuconfig vii) make dep viii) make bzImage ix) make modules x) make modules_install xi) cp System.map /boot/System.map-2.2.12 xii) cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-2.2.12 e) maybe vi /etc/modules f) maybe rm /lib/modules/2.2.12/modules.dep g) lilo