文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>配置tftp server小小结

配置tftp server小小结

时间:2006-03-17  来源:khyang

最近在用s3c2410,需要配置tftp server。这里总结一下。 如果安装的时候选择了custom:all就肯定自动install了。
可通过
$rpm -qa|grep tftp测试有没有安装。
在rh9下两个安装文件tftp-0.32-4.i386.rpm和tftp-server-0.32-4.i386.rpm 一、在RH7.2安装光盘2#上或rh9的3disk上有。 rpm -ivh tftp-server-0.32-4.i386.rpm
rpm -ivh tftp-0.32-4.i386.rpm
二,编辑/etc/xinet.d/tftp文件,修改
###
## -s 参数指定chroot
## -c 参数指定tftp可以创建文件
server_args= -s /tftpboot -c
disabled=no 三、创建数据文件夹,重新启动XINETD
#mkdir /tftpboot
#chmod o+w /tftpboot或者chmod 777 /tftpboot
#/etc/init.d/xinetd restart或者service xinetd restart
我是在网络服务里选上了tftp自动启动的.
$setup
选择system services里面的tftp,去掉ipchains和iptables两项服务(即去掉它们前面
的*号) 测试e.g:
 #tftp 172.21.5.113
 tftp>get xxxx
 tftp>put xxxx
 tftp>h会有帮助提示。
--------------/etc/xinetd.d/tftp------------------
# default: off
# description: The tftp server serves files using the trivial file transfer
\
# protocol.  The tftp protocol is often used to boot diskless \
# workstations, download configuration files to network-aware
printers, \
# and to start the installation process for some operating systems.
service tftp
{
 disable = no
 socket_type  = dgram
 protocol  = udp
 wait   = yes
 user   = root
 server   = /usr/sbin/in.tftpd
 server_args  = -s /tftpboot -c
 per_source  = 11
 cps   = 100 2
 flags   = IPv4
}
相关阅读 更多 +
排行榜 更多 +
边境检察最后区域手机版下载

边境检察最后区域手机版下载

角色扮演 下载
酋长你别跑手游下载

酋长你别跑手游下载

休闲益智 下载
心动漫画app下载官方版

心动漫画app下载官方版

浏览阅读 下载