Recently many business systems are Linux LNMP platform installation, repeated installation makes people feel very distressed, carefully delve into the next kickstart. The environment here is Red Hat Linux 5.8 32-bit, the software package in the system disk contains kickstart.
1, installation Kickstart
#rpm-IVH py-*
#rpm-IVH System-config-kickstart
2. Create an answer file
#platform =x86, AMD64, contact? Intel EM64T
# system Authorization Information
Auth--useshadow--enablemd5
# system bootloader configuration< Br>bootloader--append= "RHGB quiet"--location=mbr--DRIVEORDER=SDA
# Partition Clearing information
Clearpart- -none
# Use text mode install
Text
# Firewall configuration
Firewall--disabled
# Run the Setup Agent on F Irst boot
firstboot--disable
Key--skip
# system Keyboard
Keyboard US
# system language
Lang ZH_CN
# Installation Logging level
Logging--level=info
# Use CDROM installation media
CDROM
# Network Information
Network--bootproto=static--device=eth0--gateway=192.168.1.254--ip=192.168.1.100--nameserver= 8.8.8.8--netmask=255.255.255.0--onboot=on
# Reboot after installation
Reboot
#Root password
ROOTPW-- iscrypted $1$qyoxbt/6$oidbitstrpcrz0yp4z9is.
# SELinux Configuration
SELinux--disabled
# System TimeZone
TimeZone--ISUTC Asia/shanghai
# Install OS instead of upgrade
Install
# X Window System configuration information
Xconfig--defaultdesktop=gnome--depth=8--resolution=640x480--startxonboot
%packages
@admin-tools
@base
@chinese-support
@core
@development-libs
@development-tools
@dialup
@editors
@gnome-desktop
@games
@graphical-internet
@graphics
@java
@legacy-software-support
@office
@printing
@sound-and-video
@text-internet
@base-X
Kexec-tools
Iscsi-initiator-utils
Fipscheck
Device-mapper-multipath
Sgpio
Libstdc++44-devel
Python-dmidecode
Gcc44-c++
Gcc44-gfortran
Imake
Libgfortran44
Gcc44
Emacs
Libsane-hpaio
Xorg-x11-utils
Xorg-x11-server-xnest
Xorg-x11-server-xvfb
Add the Ks.cfg file generated in the root user directory to the system image and modify the first line of isolinux.cfg in the Isolinux directory on the disc
Default Linux Ks=cdrom:/ks.cfg
Linux Kickstart automatic installation