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

推荐订阅源

aimingoo的专栏
aimingoo的专栏
宝玉的分享
宝玉的分享
博客园 - 【当耐特】
博客园 - 司徒正美
L
LangChain Blog
有赞技术团队
有赞技术团队
大猫的无限游戏
大猫的无限游戏
Stack Overflow Blog
Stack Overflow Blog
Engineering at Meta
Engineering at Meta
U
Unit 42
Microsoft Azure Blog
Microsoft Azure Blog
I
InfoQ
博客园 - 叶小钗
H
Hackread – Cybersecurity News, Data Breaches, AI and More
J
Java Code Geeks
月光博客
月光博客
量子位
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园_首页
Last Week in AI
Last Week in AI
人人都是产品经理
人人都是产品经理
Google DeepMind News
Google DeepMind News
云风的 BLOG
云风的 BLOG
D
DataBreaches.Net

博客园 - 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不变。