KickStart工作流程
2015-11-23 10:01
337 查看
1.DHCP
[root@kallen ~]# cat /etc/dhcp/dhcpd.conf ddns-update-style interim; ignore client-updates; subnet 172.16.1.0 netmask 255.255.255.0{ option routers 172.16.1.1; option subnet-mask 255.255.255.0; filename "pxelinux.0"; next-server 172.16.1.228; option domain-name-servers 172.16.1.228; option time-offset -18000; range dynamic-bootp 172.16.1.22 172.16.1.24; default-lease-time 21600; }
2.TFTP
[root@kallen ~]# cd /var/lib/tftpboot/ . ├── initrd.img ├── pxelinux.0 ├── pxelinux.cfg │ └── default └── vmlinuz
[root@kallen ~]# cd /var/lib/tftpboot/pxelinux.cfg/default
default linux #prompt 1 timeout 600 display boot.msg menu background splash.jpg menu title Welcome to Red Hat Enterprise Linux 6.5! menu color border 0#ffffffff #00000000 menu color sel 7#ffffffff #ff000000 menu color title 0#ffffffff #00000000 menu color tabmsg 0#ffffffff #00000000 menu color unsel 0#ffffffff #00000000 menu color hotsel 0#ff000000 #ffffffff menu color hotkey 7#ffffffff #ff000000 menu color scrollbar 0#ffffffff #00000000 label linux menu label ^Install or upgrade an existing system menu default kernel vmlinuz append initrd=initrd.img ks=ftp://172.16.1.228/ks.cfg label vesa menu label Install system with ^basic video driver kernel vmlinuz label rescue menu label ^Rescue installed system kernel vmlinuz append initrd=initrd.img rescue label local menu label Boot from ^local drive localboot 0xffff label memtest86 menu label ^Memory test kernel memtest append -
3.FTP
[root@kallen ~]# cd /var/ftp ├── ks.cfg └── pub └──ISOFILES
# Kickstart file automatically generated by anaconda. # version=DEVEL # Kallen Ding, Oct 14 2015 install text url --url="ftp://172.16.1.228/pub" lang en_US.UTF-8 keyboard us key --skip network --onboot yes --device eth0 --bootproto dhcp --noipv6 rootpw --iscrypted $6$eYdahrmP/JJc4KUt$/.cUy9mYdb.UGnZTEFUzHvk0FQ8w0ELAN0I firewall --service=ssh authconfig --enableshadow --passalgo=sha512 selinux --disabled timezone --utc Asia/Shanghai zerombr yes bootloader --location=mbr --driveorder=sda # 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 --initlabel # Partion for virtual machine. # Kallen Ding, Oct 15 2015 # part /boot --fstype=ext4 --size=200 # part /var --fstype=ext4 --size=10000 # part / --fstype=ext4 --size=10000 # part swap --size=2048 # part /data --fstype=ext4 --size=10000 # Partion for APP Server part /boot --fstype=ext4 --size=200 part / --fstype=ext4 --size=20000 part /var --fstype=ext4 --size=30000 part swap --size=16384 part /tvapp --fstype=ext4 --size=200000 part /data --fstype=ext4 --size=1--grow %packages @base @chinese-support @client-mgmt-tools @compat-libraries @console-internet @core @debugging @development @directory-client @directory-server @hardware-monitoring @java-platform @large-systems @legacy-unix @mysql-client @mysql @network-file-system-client @network-tools @php @performance @perl-runtime @print-client @server-platform @server-policy @system-admin-tools @web-server @web-servlet pax python-dmidecode oddjob sgpio device-mapper-persistent-data systemtap-client systemtap-sdt-devel libstdc++-docs gcc-gnat expect perltidy cmake imake ksc kdewebdev rpmdevtools compat-gcc-34 systemtap-server gcc-java jpackage-utils bzr mercurial chrpath gcc-objc rpmlint gcc-objc++ samba-winbind certmonger pam_krb5 krb5-workstation telnet-server telnet tcp_wrappers tftp perl-DBD-MySQL perl-DBD-SQLite pexpect expect crypto-utils certmonger perl-CGI %end reboot
相关文章推荐
- Python科学计算环境推荐――Anaconda
- kickstart安装linux
- Kickstart+NFS+DHCP+TFTP+PXElinux实现CentOS的网络自动安装
- CentOS 6.5 自动安装镜像
- Kickstart+Dhcp+Nfs+Tftp+Pxe 最实用的批量linux服务器安装
- ks.cfg 文件,参数讲解
- 基于pxe和kickstart批量安装centos6.5
- Linux安装程序Anaconda分析
- kickstart
- rhel6-kickstart快速部署
- ubuntu/centos下的cobbler安装,并真正无人干预(仅需开机)安装操作系统,仅罗列命令,有问题留言
- Emacs使用anaconda-mode进行Python补全时遇到的问题
- 从零开始机器学习实战1---python安装
- 关于Anaconda中ipython-notebook的py文件引用问题
- Anaconda 如何安装依赖包
- Anaconda下 Gensim FAST_VERSION 无效的解决方法
- kickstart一键自动安装Linux系统
- kickstart无人值守安装——制作光盘文件
- ubuntu 14.04lts 搭建kickstart安装环境之系统安装镜像制作(apache版)
- python Theano包--deep learning library--安装