Linux Kickstart (Red Hat 7.1)
1: making the build machine
- start with a clean redhat install out of the cd rom
- make a directory called /u/RedHat-7.1 and in it extract the RedHat and images directories
- compile and install zoularis
- compile nvi and install it as /bin/nvi and /bin/nex
- mv /bin/vi /bin/vim /bin/ex /bin/exm and make /bin/vi and /bin/ex point to the nvi binaries
- compile and install freerdist, replacing rdist and rdistd [save old files into file.FCS]
- compile and install postfix
- mv /usr/sbin/sendmail{,.FCS} and link the postfix sendmail to it
- fix /etc/postfix /etc/passwd /etc/shadow /etc/yp.init /etc/sysconfig/network /var/yp/securenets etc. [elaborate]
- tar up the pieces you changed add any other rpm’s and the post script into pack
2: making the boot floppy
- dd if=/u/RedHat-7.1/images/bootnet.img of=/dev/fd0H1440
- mount -t msdos /dev/fd0 /mnt
- copy ks.cfg into it
- copy syslinux.cfg into it
- umount /mnt
3: making a client machine
- put in the linux kickstart floppy and turn on the machine
- all the necessary packages will now be installed; you can move the floppy to the next machine you are building as soon as the install progress bar appears; the machine will automatically reboot when it has completed installation, so make sure to remove the floppy before that
- the following steps may not have to be run
- if you are having trouble getting the site up, su root and run /home/httpd/blink/bin/FixHost
- if this is a development machine, change the entry in /home/httpd/blink/properties/<machine-name>.properties to be ‘Development’
- blow out the machine-name specific entries for 127.0.0.1 in /etc/hosts
- reboot
- you may have to rm /u/blink/weblogs/hyperion/jserv.shm after fixing /etc/hosts
Copyright © 2000–2024 Kimmo Suominen. All rights reserved.