RHEL64无人值守的网络安装——问题解决日志

PXE

DHCP + TFTP/FTP + KickStart

1. PXE显示

PXE-E32: TFTP open timeout 

解决方案:未发现

关闭防火墙

service iptables stop 

2. tftp命令get时显示

tftp error code 0 : Permission denied

解决方案:

这是是由SELinux造成的,在FC3和FC3以后的FC版本中SELinux默认的都是开启的,现关掉它,修改文件 /etc/sysconfig/selinux,设定其中的
SELINUX=disabled ,然后重启电脑即可

**************

Q today is the tftp problem  "PXE-E32 tftp open timeout " And I think the reason as follows
     1. /etc/xinetd.d/tftp is not be installed or not be configured
     2. the firewall is not disabled
     3. the selinux is enforcing  
  

 3. cound not find kernel image vesamenu.c32

改为

vim /tftpboot/pxelinux.cfg/default

default linux 即可

4. 不能匿名访问FTP(ftp://192.168.1.90/ks.cfg) ,则配置好FTP即可

vim /etc/vsftpd/vsftpd.conf
....
chroot_local_user=YES           #仅此项生效,本地用户连上FTP服务器可切到根
chroot_list_enable=YES          #仅注释以上选项,则在chroot_list里的用户连上FTP后不能切到根
chroot_list_file=/etc/vsftpd/chroot_list #此文件需创建,此三项同时生效,仅写在chroot_list中的用户连上FTP,可切到根

service vsftpd restart

原文地址:https://www.cnblogs.com/liuweitoo/p/3109991.html