您的位置:首页 > 编程语言 > PHP开发

Ubuntu8.04安装TFTP服务器

2010-07-07 17:37 246 查看
<!--
@page { margin: 0.79in }
H1 { margin-bottom: 0.04in }
H1.western { font-family: "Arial", sans-serif; font-size: 16pt }
H1.cjk { font-family: "DejaVu Sans"; font-size: 16pt }
H1.ctl { font-family: "Arial", sans-serif; font-size: 16pt }
P { margin-bottom: 0.08in }
A:link { color: #0000ff }
-->

Ubuntu8.04安装
TFTP服务器

 
一、配置
TFTP
Server


 
安装:


sudo
apt-get install tftp-hpa tftpd-hpa xinetd
 
配置:

# sudo mkdir -p
/tftpboot
# sudo chmod 777
/tftpboot
# sudo vi
/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 /tftpboot –c(或
server_args
= -sc /tftpboot



}
 
# sudo
/etc/init.d/xinetd restart
 
二、

TFTP
Client

使用

 
p file(上传)

 
g file(下载)

 
q(退出)

 
connect IP(连接远程
TFTP服务器)上传下载

 
?(帮助
)
 
http://www.ubuntugeek.com/howto-setup-advanced-tftp-server-in-ubuntu.html

 
http://blog.sina.com.cn/s/blog_49af26180100gwyp.html?tj=1
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  ubuntu server file socket user c