〖Linux〗Ubuntu13.10,配置tftp服务器
前言,配置了好久没有发现老是出问题tftp: server error: (2) Access violation,一般侦测之后...
1. 安装软件包:apt-get
sudo apt-get install tftpd tftp xinetd
2. 配置相关文件:vi /etc/xinetd.d/tftp
service tftp
{
protocol = udp
port = 69
socket_type = dgram
wait = yes
user = scue
server = /usr/sbin/in.tftpd
server_args = -s /media/Study/tftpserver
disable = no
}
3. 禁用原来配置:vi /etc/inetd.conf(原来是Ubuntu13.10默认配置了这行!!)
#tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /srv/tftp
4. 重启服务
sudo /etc/init.d/xinetd restart|force-reload