ubuntu 安装tftp
2013-10-20 09:02
232 查看
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:*
7.本机测试:
a. 在/tftproot 下新建文件1.txt
b. 在其他目录下测试:
tftp 127.0.0.1
tftp> get 1.txt
Received 12 bytes in 0.0 seconds
tftp> quit
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:*
7.本机测试:
a. 在/tftproot 下新建文件1.txt
b. 在其他目录下测试:
tftp 127.0.0.1
tftp> get 1.txt
Received 12 bytes in 0.0 seconds
tftp> quit
相关文章推荐
- ubuntu下安装tftp服务 (转)
- ubuntu10.04环境下安装tftp
- Ubuntu中安装tftp服务的方法
- ubuntu10.10安装配置tftp服务—— tftp-hpa 安装
- ubuntu下安装tftp时的问题解决
- [ubuntu]安装tftp服务
- Ubuntu安装配置TFTP服务
- Ubuntu中安装tftp服务的方法
- ubuntu 12.04 tftp服务的安装和启动
- Ubuntu下tftp的安装
- ubuntu16.04 LTS 下tftp的安装、配置、使用
- Ubuntu 安装tftp服务器
- ubuntu 安装配置shh,tftp,nfs 笔记
- ubuntu与fedora中tftp的安装配置
- ubuntu10.04 tftp服务安装之后不能上传文件
- ubuntu10.10 tftp安装,配置,测试
- FTP、TFTP、NFS、SSH介绍及在 Ubuntu 上的安装配置
- Ubuntu10.04下安装tftp服务
- Ubuntu 14.04建tftp服务器的安装、设置、调试
- ubuntu 16.04 OS 安装TFTP and NFS Server 配置详解