우분투 20.04 tftp 서버 설정
$ sudo apt-get install xinetd tftp tftpd
$ sudo vi /etc/xinetd.d/tftp
~$ sudo mkdir /tftpboot
~$ sudo chmod 777 /tftpboot
~$ sudo /etc/init.d/xinetd restart
$ sudo vi /etc/xinetd.d/tftp
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}
~$ sudo mkdir /tftpboot
~$ sudo chmod 777 /tftpboot
~$ sudo /etc/init.d/xinetd restart
출처 : http://www.dreamy.pe.kr/zbxe/CodeClip/3769574
댓글
댓글 쓰기