惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

J
Java Code Geeks
量子位
腾讯CDC
A
About on SuperTechFans
小众软件
小众软件
Microsoft Azure Blog
Microsoft Azure Blog
T
Tailwind CSS Blog
V
V2EX
B
Blog RSS Feed
H
Hackread – Cybersecurity News, Data Breaches, AI and More
GbyAI
GbyAI
Recent Announcements
Recent Announcements
Microsoft Security Blog
Microsoft Security Blog
博客园 - 叶小钗
罗磊的独立博客
宝玉的分享
宝玉的分享
WordPress大学
WordPress大学
大猫的无限游戏
大猫的无限游戏
IT之家
IT之家
V
Visual Studio Blog
D
DataBreaches.Net
博客园 - 三生石上(FineUI控件)
月光博客
月光博客
有赞技术团队
有赞技术团队

博客园 - sonach

osc环境搭建 用osc进行基于Mer的开发 Mer开发过程 放弃WINCE,拥抱Linux 移植Mer-qtmediahub到hi3716m(6):成果与感悟 移植Mer-qtmediahub到hi3716m(5):启动Mer-qtmediahub-hi3716m 移植Mer-qtmediahub到hi3716m(4):确定可写入hi3716m的文件系统镜像 移植Mer-qtmediahub到hi3716m(3):在mer-qtmediahub中加入hi3716m的驱动 移植Mer-qtmediahub到hi3716m(2):kernel配置 移植Mer-qtmediahub到hi3716m(1):mer-qtmediahub的rootfs制作 ubuntu11.10 nfs设置 移植Mer到海思的hi3716m平台 Intel的Medfield手机平台功耗 用firefox参与freenode的IRC LG的googleTV赌注 HTML5及其对移动产业的意义[2011年VisionMobile十大文章之5] X的DISPLAY=:0.0 hardfp ABI理解 linux下写raw.bz2文件到SD卡
Ubuntu11.10中设置tftpd服务
sonach · 2012-01-21 · via 博客园 - sonach

1. 安装tftpd: 

$ sudo apt-get install xinetd tftpd tftp

2. 创建/etc/xinetd.d/tftp,并添加如下内容:

service tftp
{
protocol = udp
port = 69
socket_type = dgram
wait = yes
user = nobody
server = /usr/sbin/in.tftpd
server_args = /opt/tftproot
disable = no
}

3. 创建/opt/tftproot,并创建文件hello.txt

4.

$ sudo service xinetd start

备注:

1. 网上说要这样做:

$ sudo chmod -R 777 /opt/tftproot
$ sudo chown -R nobody opt/tftproot

但测试发现不用这样做。

2. 测试发现,service xinetd restart 的效果和先停再开不一样,其pid不变。