Centos6.5 pxe unattended installation, centos6.5pxe
Centos6.5 pxe Unattended Installation
Environment:
DHCP/TFTP ip: 100.10.10.10
FTP/HTTP/NFS ip: 100.10.10.10
# Yum install dhcp xinetd tftp * syslinux vsftpd httpd nfs-utils
※Disable firewall, selinux, bridging, chmod 777 ks. cfg
Ftp method
DHCP:
TFTP:
# Cp-p/usr/share/syslinux/pxelinux.0/var/lib/tftpboot
# Cd/mnt/isolinux
# Cp-p vmlinuz initrd. img/var/lib/tftpboot
# Mkdir/var/lib/tftpboot/pxelinux. cfg
# Cp-p isolinux. cfg/var/lib/tftpboot/pxelinux. cfg/default
Default:
Ks. cfg:
# Cp-p/root/anaconda-ks.cfg/var/ftp/pub/ks. cfg
# Mkdir/var/ftp/pub/linux
# Mount/dev/cdrom/var/ftp/pub/linux
Http Method
DHCP/TFTP same as above
Default:
Ks. cfg:
# Cp-p/root/anaconda-ks.cfg/var/www/html/ks. cfg
# Mkdir/var/www/html/mnt
# Mount/dev/cdrom/var/www/html/mnt
Nfs Method
DHCP/TFTP same as above
Default:
Nfs:
Ks. cfg:
# Mkdir/nfs/
# Mkdir/nfs/mnt
# Cp-p/root/anaconda-ks.cfg/nfs/ks. cfg
# Mount/dev/cdrom/nfs/mnt
※Remember to restart all required services
Test: