1. Goal
Realize file transfer between the virtual machines ubuntu 14.04 installed under win7.
2. TFTP installation under ubuntu
tftpd-hpa: server
tftp-hpa: client
joey@ubuntu:~$ sudo apt-get install tftpd-hpa tftp-hpa
3. Create a new TFTP transfer directory under ubuntu
joey@ubuntu:~$ mkdir tftpboot
joey@ubuntu:~$ chmod 777 tftpboot/
joey@ubuntu:~$ cd tftpboot/
4. Modify the configuration file under ubuntu
root@ubuntu:~/tftpboot# cat /etc/default/tftpd-hpa
# /etc/default/tftpd-hpa
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/home/joey/tftpboot" #传输目录
TFTP_ADDRESS=":69"
#TFTP_OPTIONS="--secure"
TFTP_OPTIONS="-l -c -s" #用这种方式,不然客户端不能put
root@ubuntu:~/tftpboot#
5. Restart the service under ubuntu
service tftpd-hpa restart
6, windows tool Tftpd32
Download here:
Tftpd32-4.52-setup