CentOS6搭建TFTP服务
来源:互联网 发布:魔力宝贝连击奥义数据 编辑:程序博客网 时间:2024/05/21 09:44
普通的用户可能不太会用到TFTP,但技术人员就不一样了。特别是嵌入式开发人员,或者需要通过TFTP升级固件的IT人员,可能会经常用到TFTP。
#yum install tftp-server
2. 安装Xinetd服务,TFTP服务是通过xintd运行的,所以需要安装Xinetd
#yum install xinetd
3. 配置
编辑vim /etc/xinetd.d/tftp文件,
# 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
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /var/lib/tftpboot
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}
6. 测试一下
#tftp -v 192.168.122.180 -c put mytestfile
按下面步骤,可以很快捷地在CentOS6下搭建起一个TFTP服务。其实过程很简单,只需要用yum安装几个软件包,配置一下,并激活一下服务就可以了。
#yum install tftp-server
2. 安装Xinetd服务,TFTP服务是通过xintd运行的,所以需要安装Xinetd
#yum install xinetd
3. 配置
编辑vim /etc/xinetd.d/tftp文件,
修改下表中的两个地方:server_args为你自己的TFTPBOOT目录,即FTP文件的根目录;缺省情况下,是禁用TFTP服务的,所以把disable的值改为no。
# 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
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /var/lib/tftpboot
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}
4.设置TFTPBOOT的访问权限:
#chmod 777 /tftpboot
5. 激活Xinetd和Xinetd
#chkconfig tftp on#chkconfig xinetd on
# service xinetd start
6. 测试一下
#tftp -v 192.168.122.180 -c put mytestfile
- CentOS6搭建TFTP服务
- 搭建tftp服务
- Ubuntu,搭建tftp服务
- TFTP服务搭建
- ubuntu tftp服务搭建
- tftp,ftp服务搭建
- Ubuntu搭建TFTP服务
- linux下tftp服务搭建
- ubuntu下搭建tftp服务
- Ubuntu下tftp服务搭建
- Ubuntu12.04 搭建TFTP服务
- Ubuntu12.04 搭建TFTP服务
- Ubuntu12.04 搭建TFTP服务
- Ubuntu12.04 搭建TFTP服务
- Ubuntu下tftp服务搭建
- Ubuntu12.04 搭建TFTP服务
- Ubuntu下tftp服务搭建
- Ubuntu12.04 搭建TFTP服务
- 反卷积算法
- hbitmap Cbitmap的转换
- OPA277组成的峰值检波电路图
- AIX上解压缩.tar.Z, .tar.gz, .zip及.tgz
- 构造函数与析构函数的作用【转】
- CentOS6搭建TFTP服务
- 现实世界的Windows Azure:采访SIVECO Romania的高级电子教学部门经理Florin Anton
- android 的Activity和Service之间的通信
- 对缓存的思考——提高命中率
- POJ 3332 Parsing Real Numbers
- 网页MP3播放器代码
- 反卷积效果1
- WinCe 使用DataGrid Column样式
- InputFilter的使用