Ubuntu中安装tftp服务的方法
2014-06-19 15:10
369 查看
检查tftp是否已经安装:netstat -a | grep tftp 若出现:
udp
0 0
*:tftp 则说明已经安装,否则没有。
1、安装相关软件包
apt-get install tftpd (服务端)
apt-get install tftp (客户端)
apt-get install xinetd
2、建立配置文件
cd /etc/xinetd.d/
vi tftp
输入
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}
存盘退出
3、建立tftp服务文件目录
mkdir /tftpboot
4、从新启动服务
/etc/init.d/xinetd restart
安装完成!测试方法:
在/tftpboot 目录下随便放个文件abc
然后 运行tftp 192.168.123.202 进入tftp命令行
输入get abc 看看是不是能把文件下下来,如果可以就可以了,也可以put 文件上去。
udp
0 0
*:tftp 则说明已经安装,否则没有。
1、安装相关软件包
apt-get install tftpd (服务端)
apt-get install tftp (客户端)
apt-get install xinetd
2、建立配置文件
cd /etc/xinetd.d/
vi tftp
输入
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}
存盘退出
3、建立tftp服务文件目录
mkdir /tftpboot
4、从新启动服务
/etc/init.d/xinetd restart
安装完成!测试方法:
在/tftpboot 目录下随便放个文件abc
然后 运行tftp 192.168.123.202 进入tftp命令行
输入get abc 看看是不是能把文件下下来,如果可以就可以了,也可以put 文件上去。
相关文章推荐
- Ubuntu中安装tftp/tftp-hpa服务的方法
- Ubuntu中安装tftp服务的方法
- Ubuntu13.04安装配置 tftp 服务方法
- Ubuntu中安装tftp服务的方法(转)
- Ubuntu中安装tftp服务的方法
- Ubuntu13.04安装配置 tftp 服务方法
- Ubuntu13.04安装配置 tftp 服务方法
- ubuntu安装tftp服务的方法
- ubuntu10.04 安装配置tftp服务
- ubuntu10.04 安装配置tftp服务
- Ubuntu安装配置TFTP服务
- Ubuntu下建立tftp服务+我安装过程出现的问题
- ubuntu12.04安装tftp、配置tftp服务错误的解决方法
- ubuntu下tftp服务的安装
- Ubuntu安装配置TFTP服务
- ubuntu10.04 安装配置tftp服务
- ubuntu下安装tftp服务器的几种方法
- ubuntu10.04以及10.10安装配置tftp服务
- ubuntu 11.10安装配置tftp服务
- Ubuntu10.04下安装tftp的方法