ubuntu14.04(64bit)主机中安装tftp服务器
来源:互联网 发布:mac怎么强制删除软件 编辑:程序博客网 时间:2024/06/04 19:02
2016.10.24:
今天在我的ubuntu14.04(64bit)主机中安装tftp服务器,并测试成功。
1. sos@sos:~$ sudo apt-get install tftpd tftp openbsd-inetd
2. sos@sos:~$ sudogedit /etc/inetd.conf
# /etc/inetd.conf: see inetd(8) for further informations.
# Internet superserver configuration database
# Lines starting with "#:LABEL:" or "#<off>#" should not
# be changed unless you know what you are doing!
# If you want to disable an entry so it isn't touched during
# package updates just comment it out with a single '#' character.
# Packages should modify this file by using update-inetd(8)
# <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
#:INTERNAL: Internal services
#discard stream tcp nowait root internal
#discard dgram udp wait root internal
#daytime stream tcp nowait root internal
#time stream tcp nowait root internal
#:STANDARD: These are standard services.
#:BSD: Shell, login, exec and talk are BSD protocols.
#:MAIL: Mail, news and uucp services.
#:INFO: Info services
#:BOOT: TFTP service is provided primarily for booting. Most sites
# run this only on machines acting as "boot servers."
#tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /srv/tftp
#修改如下文件
tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /home/sns/share/tftpsever(tftp文件目录,根据需要自己创建)
#:RPC: RPC based services
#:HAM-RADIO: amateur-radio services
#:OTHER: Other services
3.sos@sos:~$ sudo mkdir /home/sns/share/tftpsever
4.sos@sos:~$ sudo chmod 777 /home/sns/share/tftpsever
5.sos@sos:~$ sudo /etc/init.d/openbsd-inetd restart
6.查看69端口是否有打开 :netstat -an | more | grep udp
sos@sos:~$ netstat -an | more | grep udp
udp 0 0 0.0.0.0:35697 0.0.0.0:*
udp 0 0 127.0.1.1:53 0.0.0.0:*
udp 0 0 0.0.0.0:69 0.0.0.0:*
7.在本机进行测试:
a.将编译通过的uImage文件拷贝到/home/sns/share/tftpsever 下
b. 在其他目录下测试:
sos@sos:~$ pwd
/home/sos
sos@sos:~$ tftp 192.168.16.110(我主机的ip)
tftp> get uImage
Received 3019679 bytes in 0.1 seconds
tftp> q
sos@sns:~$
0 0
- ubuntu14.04(64bit)主机中安装tftp服务器
- ubuntu14.04安装tftp服务器
- ubuntu14安装TFTP服务器
- Ubuntu14.04(64bit)安装Dropbox
- 虚拟机(win7-32bit)与主机(ubuntu14.04-64bit)实现同一个网络
- ubuntu14.04 64bit主机下面安装android的NDK开发环境
- ubuntu14.04 64bit主机下面安装android的NDK开发环境
- ubuntu14.04 开启tftp服务器
- Ubuntu14.04配置TFTP服务器
- ubuntu14.04 配置 tftp 服务器
- ubuntu14.04安装TFTP服务
- Ubuntu14.04 64bit安装Android Studio
- ubuntu14.04 64bit安装skype4.3
- Ubuntu14.04(64bit)安装YouCompleteMe
- ubuntu14.04 下的tftp服务器搭建
- tftp 服务器搭建测试版本ubuntu14.04
- Ubuntu14.04环境下配置TFTP服务器
- Ubuntu14.04环境下配置TFTP服务器
- hdu 2767 Proving Equivalences(强连通分量+缩点)
- 欢迎使用CSDN-markdown编辑器
- Mysql判断记录是否存在
- 使用ant From getFieldDecorator undefined问题
- Ubuntu下通过Hostapd建立软AP提供无线上网功能
- ubuntu14.04(64bit)主机中安装tftp服务器
- referer 防盗链
- 磁盘阵列各个级别区别
- RGB与YCbCr颜色空间的互相转换公式
- js键盘事件总结
- Mongodb 3.2新的特性
- 程序员的成长阶梯和级别定义
- iOS-封装FMDB框架:各用一句代码更新(添加&修改),查询,删除用户信息
- C语言常见的字符串处理函数