RHEL5.5-无人值守安装(ftp+dhcp+tftp+kickstart)

系统版本:

wKiom1OhlR_j8AOkAAAH3T3T3Iw423.png

前期准备:

wKiom1OhlbiRYz3TAABzfTGQoEI612.png

关闭防火墙、selinux以及配置网卡信息

网卡配置完毕记得重启:

#service network restart

wKioL1OhljiTL8XNAACHobvSE94235.png

挂载镜像文件以及验证*.repo文件是否配置成功

*.repo文件创建完毕后:

            #yum clean all

            #yum update

安装ftp:

            #yum install -y vsftpd

            #service vsftpd start ;chkconfig vsftpd on

            #cd /var/ftp/

            #mkdir pxe

            #cp -r /mnt/pxe/* pxe/ &

安装dhcp:

            #yum install -y dhcp   

            #cp /usr/share/doc/dhcp-3.0.5/dhcpd.conf.sample /etc/dhcpd.conf

wKioL1OhmmLiE4pfAADCQySX1zw428.png

            #service dhcpd restart

安装tftp:

            #yum install -y tftp-server

            #mkdir /tftpboot

wKiom1Ohm-igF68nAABqv_UFPEU888.png

            #chkconfig tftp on

            #chkconfig xinetd on

            #service xinetd start

            #service xinetd restart

            #yum install -y syslinux

            #cd /tftpboot/

            #mkdir pxelinux.cfg

            #cp /usr/lib/syslinux/pxelinux.0 .

            #cp /mnt/pxe/isolinux/isolinux.cfg pxelinux.cfg/default

            #cp /mnt/pxe/images/pxeboot/initrd.img .

            #cp /mnt/pxe/images/pxeboot/vmlinuz .

wKiom1OhnYij8qLCAABothhFNI0886.png

安装kickstart:

            #yum install -y system-config-kickstart

            #system-config-kickstart

wKioL1OhoCXigD8UAAC9rbcjmAo599.png

wKioL1OhoECQ55u5AACjz7SthKI362.png

wKiom1OhoG3j4NIgAACs72DdwS4656.png

wKiom1OhoKjgHD2tAADVS5GBNqg387.png

wKioL1OhoJawKoX7AACE5pUIMvU910.png

wKiom1OhoMSgafHJAACPcQ0kF7k263.png

wKioL1OhoJaAKU-wAACJyGIVaSo433.png

wKiom1OhoMSiLpLvAACYa224rZk017.png

wKioL1OhoLrzRYOGAADNS2UMoq4127.png

wKioL1OhoMzCY-pFAAA3XNp1eu4770.png

            #cp ks.cfg /var/ftp/pxe/


本文出自 “滴水穿石” 博客,谢绝转载!

你可能感兴趣的:(ftp,pxe,kickstart)