[归档]Ubuntu 14.04 安装tftp server
来源:互联网 发布:linux ddos防御 编辑:程序博客网 时间:2024/05/29 15:56
*********
* 归档 *
*********
1. 安装
sudo apt-get install tftp-hpa tftpd-hpa xinetd
2. mkdir /home/obama/tftpboot
chmod 777 tftpboot
3. 配置
vim /etc/default/tftp-hpa
===================================
RUN_DAEMON="yes"
OPTIONS="-l -s -c /home/obama/tftpboot
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/home/obama/tftpboot"
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="-l -s -c"
===================================
vim /etc/xinetd.d/tftp
===================================
service tftp
{
disable = no
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /home/obama/tftpboot
source = 11
cps = 100 2
flags = IPv4
}
4. 重启service
sudo /etc/init.d/xinetd restart
sudo /etc/init.d/tftpd-hpa restart
5. 验证
touch /home/obama/tftpboot;echo "124" > /home/obama/tftpboot/abc
tftp 127.0.0.1
>get abc
>q
配置正确,当前abc文件的内容应该是完整的。
- [归档]Ubuntu 14.04 安装tftp server
- Ubuntu 14.04 安装TFTP server
- Ubuntu 14.04 安装TFTP server
- Ubuntu 14.04 安装TFTP server
- ubuntu安装tftp server
- Ubuntu 12.04 安装TFTP server
- ubuntu下安装tftp-server
- Ubuntu 12.04 安装TFTP server
- Ubuntu 12.04 安装TFTP server
- Ubuntu 12.04 安装TFTP server
- ubuntu 之 安装TFTP server
- Ubuntu 11.04下安装 TFTP Server
- ubuntu下tftp server的安装
- ubuntu 11.04 上安装 tftp server
- Ubuntu 12.04 安装TFTP server (已验证)
- [Ubuntu]: tftp server
- Ubuntu 搭建TFTP Server
- ubuntu 16.04 OS 安装TFTP and NFS Server 配置详解
- 题目1455:珍惜现在,感恩生活
- PoStartNextPowerIrp
- codeforce 342E 树链剖分 || 分块
- HDU 1846 Brave Game 博弈
- Dede小企业网站开发流程及常用标签(三)
- [归档]Ubuntu 14.04 安装tftp server
- xml字符串与map之间的相互转换
- cocos2dx快捷创建项目脚本
- It is confused that the difference of JSP with Servlet
- 九度题目1454:Piggy-Bank
- 如何对系统调用了aidl文件进行避免混淆
- HDU 1847 Good Luck in CET-4 Everybody! 博弈
- 《C++Premier》读书笔记之一
- 专为GTD定制的emacs简单版