RedHat 6.0企业版安装指南
6.4 生成Kickstart文件: yum安装system-config-kickstart软件,使用该软件生成Kickstart文件,使用方法见第五节内容。 生成Kickstart文件后保存至/ks目录下(该目录默认不存在,需要手动创建目录) [root@localhost ~]#vim /ks/ks.cfg Kickstart文件内容如下 #platform=x86, AMD64, or Intel EM64T #version=DEVEL # Firewall configuration firewall --disabled # Install OS instead of upgrade install # Use NFS installation media nfs --server=192.168.0.2 --dir=/media # Root password rootpw --iscrypted $1$k7gSaGFT$cRcT1X9SNOuEuvUHHkkAD0 # System authorization information auth --useshadow --passalgo=sha512 # Use text mode install text firstboot --disable # System keyboard keyboard us # System language lang en_US # SELinux configuration selinux --disabled # Installation logging level logging --level=info # Reboot after installation reboot # System timezone timezone Asia/Shanghai # Network information network --bootproto=static --device=eth0 --gateway=192.168.0.1 --ip=192.168.0.201 --nameserver=202.106.0.20 --netmask=255.255.255.0 --onboot=on # System bootloader configuration bootloader --location=mbr # Partition clearing information clearpart --all --initlabel # Disk partitioning information part /boot --fstype="ext4" --size=200 part swap --fstype="swap" --size=2000 part /home --fstype="ext4" --size=500 part /var --fstype="ext4" --size=2000 part / --fstype="ext4" --size=5000 %packages @base @basic-desktop @chinese-support @desktop-debugging @desktop-platform @fonts @general-desktop @graphical-admin-tools @input-methods @internet-browser @x11 cjkuni-fonts-ghostscript cjkuni-fonts-ghostscript %end (编辑:应用网_丽江站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |