PXE instal guide tren Centos 6

3 782 0
PXE instal guide tren Centos 6

Đang tải... (xem toàn văn)

Thông tin tài liệu

Hướng dẫn cài đặt PXE Server phục vụ cho cài OS tự động: Các gói cần cài đặt: Server centos redhat 6.8 Final • • • • tftp-server dhcp xinetd vsftpd Tạo repo: #vi /etc/yum.repos.d/rpmforge.repo rpmforge.repo # # yum install –y dhcp.x86_64 # yum install –y xinetd.x86_64 # yum install –y vsftpd.x86_64 # yum install –y syslinux Kịch bản: Để cài đặt qua mạng, Máy client cần kết nối đến Server PXE để lấy IP Cấu hình dhcp để cấp phát IP cho client dhcp_pxe.conf # /etc/init.d/dhcpd restart Chạy Xinetd: #vi /etc/vsftpd/vsftpd.conf # /etc/init.d/dhcpd restart vsftpd.conf cp /usr/share/syslinux/menu.c32 /var/lib/tftpboot/ cp /usr/share/syslinux/mboot.c32 /var/lib/tftpboot/ cp /usr/share/syslinux/chain.c32 /var/lib/tftpboot/ cp /usr/share/syslinux/pxelinux.0 /var/lib/tftpboot/ cp /usr/share/syslinux/memdisk /var/lib/tftpboot/ tạo thư mục image os (ở cài Centos 6.3) mkdir –p /var/lib/tftpboot/centos tạo thư mục: mkdir –p /var/lib/tftpboot/pxelinux.cfg Tạo menu boot lúc khởi động vào vi /var/lib/tftpboot/pxelinux.cfg/default default.txt Download file iso Centos 6.3 Cho vào thư mục /var/lib/tftpboot/centos efiboot.img efidisk.img initrd.img TRANS.TBL vmlinuz Tạo script tự động để cài #vi /var/ftp/ks/centos/6.3_full.ks 6.3_full.ks File thay đổi tùy theo nhu cầu cài đặt OS hệ thống Khởi động Client vào kiểm tra cài đặt

Ngày đăng: 21/10/2016, 10:01

Từ khóa liên quan

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan