#Scott's server KickStart config file 11/24/2004 # #This is a sample of the script that I would use to install Fedora #on a server. I usually don't install X on a server, so this install #should be just a little bit over a gig. If you want to install X #and KDE/Gnome expect to need about 2 gigs of space. Pay attention #to the patitioning, as I have two options. One for a single disk #server and one for a dual (RAID-1) disk server. #Install not upgrade install #Stop and ask you the questions... #interactive #Where to get the install files. Best to use HTTP is you can it's #faster than FTP as you don't have to authenticate each time. url --url http://mirror.web-ster.com/fedora/3/i386/os #url --url ftp://10.1.2.152/iso/ lang en_US.UTF-8 langsupport --default=en_US.UTF-8 en_US.UTF-8 keyboard us #Install in text mode because it's faster (default is graphical) text #Reboot automatically when we're done #reboot #Don't configure X because we're not installing it skipx network --device eth0 --bootproto dhcp #network --device eth0 --bootproto static --ip 65.182.224.57 --netmask 255.255.255.192 --gateway 65.182.224.1 --nameserver 65.182.224.40 rootpw --iscrypted $1$qOGxM1p9$xmfwbhQRy2a4kRNUrAlYn0 firewall --disabled selinux --enforcing authconfig --enableshadow --enablemd5 timezone --utc America/Los_Angeles bootloader --location=partition #Remove all partitions! #clearpart --linux clearpart --all #Create all the partitions part /boot --size=100 --ondisk=hda part swap --size=1024 --ondisk=hda part / --size=100 --grow --ondisk=hda #Create all the partitions if you want RAID-1 and have two HDs #part raid.5 --size=100 --ondisk=hda #part raid.6 --size=100 --ondisk=hdb #part raid.9 --size=1024 --ondisk=hdb #part raid.8 --size=1024 --ondisk=hda #part raid.12 --size=100 --grow --ondisk=hdb #part raid.11 --size=100 --grow --ondisk=hda #Make the partitions we created into a raid array! #raid /boot --fstype ext3 --level=RAID1 raid.5 raid.6 #raid swap --fstype swap --level=RAID1 raid.8 raid.9 #raid / --fstype ext3 --level=RAID1 raid.11 raid.12 %packages @ editors @ system-tools @ text-internet @ admin-tools @ development-tools mdadm -psgml e2fsprogs grub kernel-smp postfix # It's a 25+ meg text editor that I never use! -emacs -emacs-leim -emacspeak # WebDav? -cadaver # Generates too much email that I don't need -logwatch # Postfix is much better -sendmail #@ dialup %post # Change the startup mode of some services chkconfig --levels 345 portmap off chkconfig --levels 345 cups off chkconfig --levels 345 ntpd on chkconfig --levels 345 postfix on echo "nameserver 65.182.224.50" >> /etc/resolv.conf echo "search web-ster.com" >> /etc/resolv.conf #Install the default gpg keys so yum will work without complaining rpm --import /usr/share/rhn/RPM-GPG-KEY*