Linux (rhel5.5) unattended installation CD production I. Production Automatic Installation kickstart configuration file (available kickstart Configuration tool, system-config-kickstart configuration) [root@www.linuxidc.com ~] # Vim/root/ks. cfg # platform = x86, AMD64, or IntelEM64T # Systemauthorizationinf
Preparation of unattended installation CD for Linux (rhel5.5)
1. the kickstart configuration file is automatically installed in production (the kickstart Configuration tool, system-config-kickstart configuration can be used)
Root@www.linuxidc.com ~ # Vim/root/ks. cfg # platform = x86, AMD64, or Intel EM64T # System authorization ionionauth -- useshadow -- enablemd5 key -- skip
# Skip the input of sn installation, which must have# System bootloader configurationbootloader -- location = mbr # Clear the Master Boot Recordzerombr # Partition clearing ionionclearpart -- all -- initlabel # Use graphical install # graphical # Use text mode install
# Character interface InstallationText # Firewall configurationfirewall -- disabled # Run the Setup Agent on first bootfirstboot -- disable # System keyboardkeyboard us # System worker agelang zh_CN
# System default language settings# Installation logging levellogging -- level = info # Use CDROM installation mediacdrom
# Default installation media# Network informationnetwork -- bootproto = static -- device = eth0 -- gateway = 192.168.32.254 -- ip = 192.168.32.30 -- netmask = 255.255.255.0 -- onboot = on
# Network settings# Reboot after installationreboot -- eject
# After installation, a cd is displayed and the system must be restarted. Otherwise, the system will be automatically installed again.# Root passwordrootpw -- iscrypted $1 $ m31_5xhj $ nPMaPd2vTvl6Bnm5Do. un. # SELinux configurationselinux -- disabled # System timezonetimezone Asia/snapshot # Install OS instead of upgradeinstall # X Window System configuration informationxconfig -- defaultdesktop = GNOME -- depth = 16 -- resolution = 1024x768 -- startxonboot # disk partitioning information
# Hard Disk Partition settingsPart/boot -- bytes-per-inode = 4096 -- fstype = "ext3" -- ondisk = sda -- size = 256 part swap -- bytes-per-inode = 4096 -- fstype = "swap "-- ondisk = sda -- size = 8192 # part/-- bytes-per-inode = 4096 -- fstype =" ext3 "-- grow -- ondisk = sda -- size = 51200 # LVM install
# Logical volume creation configuration, which must be created strictly in the order of physical volume, volume group, and logical volumePart pv.01 -- ondisk = sda -- size 51200 volgroup vg00 pv.01logvol/-- vgname = vg00 -- size = 1 -- grow -- name = lv00 # Software packages install
# Software installation package selection% Packages @ base @ gnome-desktop @ development-libs @ base-x @ admin-tools @ legacy-software-development @ development-tools @ chinese-support @ server-cfg @ legacy -network-server @ legacy-software-support @ system-tools @ editors @ text-internet @ graphical-internet @ smb-server @ ftp-server