반응형
- 패키지 설치하기
$ sudo apt-get install xinetd tftp tftpd
- 설치 후 설정 하기
설치 후에는 tftp를 사용하기 위한 /etc/xinetd.d/tftp 파일을 생성
~$ 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
}
tftp에서 파일을 제공할 때 사용하는 디렉토리를 생성
~$ sudo mkdir /tftpboot
~$ sudo chmod 777 /tftpboot
3) 서비스 기동
~$ sudo /etc/init.d/xinetd restart
/tftpboot에 파일을 넣어 다른 곳에서 tftp 다운로드
반응형