今天用tftp给板子烧写程序,一直不成功,各防火墙都关了。最后才查出是SELinux在搞鬼。
关闭SELinux的方法:
运行 vim /etc/selinux/config
SELINUX=enforcing
注释掉该行,添加:
SELINUX=disabled
重启系统。OK!
Redhat关闭SELinux和防火墙的办法:http://www.linuxdiyf.com/linux/16184.html
初步认识SELinux安全管理:http://www.linuxdiyf.com/linux/14301.html
SELinux安全上下文初探:http://www.linuxdiyf.com/linux/10759.html
网站安全狗Linux版SElinux的相关设置:http://www.linuxdiyf.com/linux/12771.html
Ubuntu 12.04搭建tftp服务器的安装、设置、调试:http://www.linuxdiyf.com/linux/10733.html