linux 系统定制初步

# Kickstart file automatically generated by anaconda.

install
harddrive --partition=sdb1 --dir=
key --skip
lang en_US.UTF-8
keyboard us
xconfig --startxonboot
rootpw --iscrypted $1$ZpNclLEx$3fwZiyhvxN9bEkNzPRD8v.
firewall --enabled --port=22:tcp
authconfig --enableshadow --enablemd5
selinux --enforcing
timezone Asia/Shanghai
bootloader --location=mbr --driveorder=sda,sdb --append="rhgb quiet"
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
#clearpart --all --drives=sda
#part /boot --fstype ext3 --size=100 --ondisk=sda
#part / --fstype ext3 --size=100 --grow --ondisk=sda
#part swap --size=100 --grow --maxsize=2048 --ondisk=sda

%packages
@mysql
@development-libs
@editors
@gnome-software-development
@text-internet
@x-software-development
@dns-server
@gnome-desktop
@core
@base
@ftp-server
@network-server
@legacy-software-development
@java
@java-development
@smb-server
@base-x
@chinese-support
@web-server
@ruby
@kde-software-development
@mail-server
@admin-tools
@news-server
@development-tools
emacs
mesa-libGLU-devel
kexec-tools
device-mapper-multipath
vnc-server
xorg-x11-utils
xorg-x11-server-Xnest
xorg-x11-server-Xvfb
imake
-sysreport
 

 

 

 

 

#platform=x86, AMD64, or Intel EM64T
# System authorization information
auth  --useshadow  --enablemd5
# System bootloader configuration
#bootloader --location=mbr
bootloader --location=mbr --driveorder=sda,sdb --append="rhgb quiet"
# Partition clearing information
clearpart --none 
# Use graphical install
graphical
# Firewall configuration
firewall --disabled
# Run the Setup Agent on first boot
firstboot --disable
# System keyboard
keyboard us
# System language
lang en_US
# Installation logging level
logging --level=info
# Use hard drive installation media
harddrive --partition=sdb1 --dir=/
# Network information
network --bootproto=dhcp --device=eth0 --onboot=on
#network --bootproto=dhcp --device=eth1 --onboot=on
# Reboot after installation
reboot
#Root password
rootpw --iscrypted $1$PYO/v9M4$Yle9.fl36jkCt0JJWo6VH.

# SELinux configuration
selinux --disabled
# System timezone
timezone  America/New_York
# Install OS instead of upgrade
install
# X Window System configuration information
xconfig  --defaultdesktop=GNOME --depth=8 --resolution=640x480
# Disk partitioning information
part /boot --bytes-per-inode=4096 --fstype="ext3" --size=100
part swap --bytes-per-inode=4096 --fstype="swap" --size=2048
part / --bytes-per-inode=4096 --fstype="ext3" --grow --size=1

%packages
@base
@development-libs
@development-tools
@editors
@network-server
 

 

 

 

 

 

 

你可能感兴趣的:(linux,职场,休闲,ks.cfg)