Centos6.5 pxe unattended installation, centos6.5pxe

Source: Internet
Author: User

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:

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.