Ubuntu 12.04 安装TFTP server
2017-01-16 14:39
441 查看
亲测,能用。
1. sudo apt-get install tftpd tftp openbsd-inetd
2. sudo vi /etc/inetd.conf
#:BOOT: TFTP service is provided primarily for booting. Most sites
# run this only on machines acting as "boot servers."
#tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /srv/tftp (/srv/tftp 为默认tftp目录)
#修改如下文件
tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /tftproot
3.sudo mkdir /tftproot
4.sudo chmod 777 /tftproot
5.sudo /etc/init.d/openbsd-inetd restart
6.查看69端口是否有打开 :netstat -an | more | grep udp
udp 0 0 0.0.0.0:69 0.0.0.0:*
或者netstat -a | grep tftp
7.本机测试:
a. 在/tftproot 下新建文件1.txt
b.在其他目录下测试:
tftp 127.0.0.1
tftp> get 1.txt
Received 12 bytes in 0.0 seconds
tftp> quit
转自:http://blog.csdn.net/yangzhongxuan/article/details/6395306
参考:http://blog.csdn.net/sanmaoljh/article/details/52087841
1. sudo apt-get install tftpd tftp openbsd-inetd
2. sudo vi /etc/inetd.conf
#:BOOT: TFTP service is provided primarily for booting. Most sites
# run this only on machines acting as "boot servers."
#tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /srv/tftp (/srv/tftp 为默认tftp目录)
#修改如下文件
tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /tftproot
3.sudo mkdir /tftproot
4.sudo chmod 777 /tftproot
5.sudo /etc/init.d/openbsd-inetd restart
6.查看69端口是否有打开 :netstat -an | more | grep udp
udp 0 0 0.0.0.0:69 0.0.0.0:*
或者netstat -a | grep tftp
7.本机测试:
a. 在/tftproot 下新建文件1.txt
b.在其他目录下测试:
tftp 127.0.0.1
tftp> get 1.txt
Received 12 bytes in 0.0 seconds
tftp> quit
转自:http://blog.csdn.net/yangzhongxuan/article/details/6395306
参考:http://blog.csdn.net/sanmaoljh/article/details/52087841
相关文章推荐
- Ubuntu 12.04 安装TFTP server
- Ubuntu 12.04 安装TFTP server
- Ubuntu 12.04 安装TFTP server
- ubuntu下安装tftp-server
- Ubuntu Server 12.04 LTS 安装指引
- ubuntu server 12.04 安装 hadoop-1.1.1
- 在virtualbox中安装ubuntu server 12.04,搭建嵌入式开发环境
- VMware Workstation上安装Ubuntu Server 12.04 窗口显示太小,如何变大?
- kickstart+pxe+httpd+dhcp+tftp自动安装Ubuntu 12.04
- [ubuntu12.04] u盘全自动安装 ubuntu server 12.04
- Ubuntu Server12.04 下安装配置 JDK
- ubuntu 12.04 server 安装
- KickStart+PXE+HTTPd+DHCP+TFTP自动安装Ubuntu 12.04
- 如何在Ubuntu 12.04 Server 中安装图形用户界面
- 如何在 Ubuntu 12.04 Server 中安装图形用户界面
- 安装ubuntu 12.04 server版
- ubuntu 12.04 server安装Bittorrent Transmission
- ubuntu 12.04 server 硬盘安装实现windows 双系统
- ubuntu 12.04 server + OPENACS(TR069)安装配置日记
- Hyper-v 下安装ubuntu 12.04 server 网卡问题