Linux Kickstart automatic installation

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.