tftp 服务器配置 ubuntu 14.04.5
2016-09-26 23:13
423 查看
1 安装tftp服务器
sudo apt-get install tftpd-hpa
2 安装tftp客户端
sudo apt-get insatll tftp-hpa
3 建立服务器目录
简单举例:
mkdir /tftpfs
chmod 777 /tftpfs
4 配置tftp服务器
sudo vi /etc/default/tftpd-hpa
# /etc/default/tftpd-hpa
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/tftpfs"
TFTP_ADDRESS="[::]:69"
TFTP_OPTIONS="-l -c -s" #-c 可以上传文件的参数 -s 指定tftpd-hpa服务目录
5 重新启动tftp服务器
sudo service ftfpd-hpa restart
6 测试tftp
tftp 192.168.2.11(本机ip)
hhp@ubuntu:~$ tftp 192.168.2.11
tftp> put testfile #下载测试文件
tftp> quit #退出tftp
查看文件是否下载成功
hhp@ubuntu:~$ ls /tftpfs/
testfile
hhp@ubuntu:~$
sudo apt-get install tftpd-hpa
2 安装tftp客户端
sudo apt-get insatll tftp-hpa
3 建立服务器目录
简单举例:
mkdir /tftpfs
chmod 777 /tftpfs
4 配置tftp服务器
sudo vi /etc/default/tftpd-hpa
# /etc/default/tftpd-hpa
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/tftpfs"
TFTP_ADDRESS="[::]:69"
TFTP_OPTIONS="-l -c -s" #-c 可以上传文件的参数 -s 指定tftpd-hpa服务目录
5 重新启动tftp服务器
sudo service ftfpd-hpa restart
6 测试tftp
tftp 192.168.2.11(本机ip)
hhp@ubuntu:~$ tftp 192.168.2.11
tftp> put testfile #下载测试文件
tftp> quit #退出tftp
查看文件是否下载成功
hhp@ubuntu:~$ ls /tftpfs/
testfile
hhp@ubuntu:~$
相关文章推荐
- 使用ubuntu 配置 tftp 服务器
- linux基础之ubuntu 10.04下的配置tftp服务器(修改)
- ubuntu 10.04下的配置tftp服务器
- ubuntu 10.04下的配置tftp服务器
- ubuntu 10.04下的配置tftp服务器
- ubuntu 10.04下的配置tftp服务器
- ubuntu 10.04下的配置tftp服务器
- ubuntu 10.04下的配置tftp服务器
- ubuntu 10.04下的配置tftp服务器
- 正确配置TFTP服务器-ubuntu
- ubuntu 11.10 配置 tftp服务器
- Ubuntu下配置TFTP服务器
- Ubuntu 配置tftp下载服务器,及其一般用法
- 如何在Ubuntu下搭建tftp服务器(最简单的安装配置)
- ubuntu下TFTP服务器及NFS网络配置详细过程
- Ubuntu10.04配置Tftp服务器
- ubuntu配置TFTP服务器
- 基于ubuntu的TFTP服务器配置
- Ubuntu 下配置 tftp 服务器
- 〖Linux〗Ubuntu13.10,配置tftp服务器