Ubuntu16.04下搭建tftp服务器
来源:互联网 发布:软件怎么安装到mac 编辑:程序博客网 时间:2024/06/14 09:44
1.安装tftp-server
sudo apt-get install tftpd-hpa
sudo apt-get install tftp-hpa(如果不需要客户端可以不安装)
tftp-hpa是客户端
tftpd-hpa是服务器端
2.配置TFTP服务器
sudo vim /etc/default/tftpd-hpa
将原来的内容改为:
TFTP_USERNAME="tftp"
TFTP_ADDRESS="0.0.0.0:69"
TFTP_DIRECTORY="tftp根目录" #服务器目录,需要设置权限为777,chomd 777
TFTP_OPTIONS="-l -c -s"
3.重新启动TFTP服务
sudo /etc/init.d/tftpd-hpa restart
4. 测试tftp服务
a. 到/tftpboot文件夹下面建立一个test文本文件,输入一些内容
b. cd ~/
c. tftp 127.0.0.1(这个地址是本地ip)
d. tftp > get test
e. tftp > q
d. cat test
如果显示test文件内容说明tftp安装正确
阅读全文
0 0
- Ubuntu16.04下搭建tftp服务器
- Ubuntu16.04 TFTP服务器搭建
- Ubuntu16.04下tftp服务搭建
- Ubuntu16.04搭建ftp/tftp/nfs/ssh服务器
- ubuntu14.04 下的tftp服务器搭建
- Ubuntu_10.04下的tftp服务器搭建
- UBUNTU下TFTP服务器搭建
- UBUNTU下TFTP服务器搭建
- ubuntu下搭建tftp服务器
- ubuntu下搭建tftp服务器
- ubuntu下搭建tftp服务器
- linux 下搭建tftp服务器
- Ubuntu下搭建tftp服务器
- ubuntu下搭建tftp服务器
- Ubuntu下搭建tftp服务器
- ubuntu下搭建tftp服务器
- ubuntu下搭建tftp服务器
- ubuntu下搭建tftp服务器
- ios 往 Library的cache目录下 存放缓存数据的方法
- 域名被纳入无形资产征税是好事还是坏事呢?
- MySQL中重置密码操作
- JavaScript
- 给空包写入签名
- Ubuntu16.04下搭建tftp服务器
- 03.linux 内存管理
- 51Nod-1556-计算
- c/c++ curl smtp 发送邮件 foxmail 中文乱码问题解决
- jquery专栏
- mysql 的触发器详解
- 用 runcloud.io 免费部署、优化管理你的多个VPS( 目前支持 Ubuntu 16.04 )
- 逻辑回归LR的特征为什么要先离散化
- Gilde刷新图片闪烁和You must not call setTag() on a view Glide is targeting如何解决