fedora17下配置tftp服务器
1.下載并安裝tftp
# su root
# yum install xinetd tftp tftp-server
2.更改tftp配置文件 /etc/xinetd.d/tftp
# vi /etc/xinetd.d/tftp
需要更改的內容為:
server_args = -s /tftpboot
disable = no
3.保存tftp并退出
(:wq)
4.創建共享目錄,并設置權限
# mkdir /study/tftpboot
# chmod 777 /study/tftpboot
5.禁用防火墻(也可以通過配置防火墻)
# setup
將firewall選項中的enable取消調,然后保存退出
6.關閉selinux服務
修改/etc/selinux/config文件中的SELINUX="" 為 disabled
7.配置開機啟動及啟動xinetd
# systemctl enable xinetd.service
PS:xinetd檢查是否開啟
# systemctl is-enabled xinetd.service
PS:手動開啟、關閉xinetd的命令為
# systemctl start xinetd.service
# systemctl stop xinetd.service
轉載于:https://blog.51cto.com/sunke/1063841
總結
以上是生活随笔為你收集整理的fedora17下配置tftp服务器的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: ubuntu下配置交叉编译环境
- 下一篇: Windows 8实例教程系列 - 理解