loongson 上位机 Ubuntu TFTP配置
Ubuntu10.04下的TFTP配置
U.ubuntu
专栏收录该内容
3 篇文章0 订阅
订阅专栏
ubuntu 下可以使用的tftp服务器有三种:前面是客户端,后面是服务器端
(1)tftp和tftpd
(2)atftp和atftpd
(3)tftp-hpa和tftpd-hpa
我所使用的是第三种
1、安装tftp客户端和服务器端
apt-get install tftp-hpa tftpd-hpa xinetd
2、建立tftp服务文件目录(上传文件与下载文件的位置),并且更改其权限
#sudo mkdir /tftpshare
#sudo chmod 777 /tftpshare -R
3、修改配置文件,添加共享目录
gedit /etc/default/tftpd-hpa
TFTP_DIRECTORY = “/tftpshare” //设置tftp目录,将自己的tftp目录填上去,将默认的目录注释掉
TFTP_OPTIONS = “-l -c -s” //设置tftp目录的属性
4. 重新启动tftp服务
sudo systemctl stop tftpd-hpa
sudo systemctl start tftpd-hpa
sudo service tftpd-hpa status
原文链接:https://blog.csdn.net/xf_pku/article/details/25968921
浙公网安备 33010602011771号