ubuntu与fedora中tftp的安装配置
2012-07-11 19:27
381 查看
ubuntu中tftp的安装配置
pzhsunxu-孙旭
fedora只需把apt-get 修改为yum
1.下载tftp安装包
apt-get install tftp-hpa tftpd-hpa xinetd
2.修改配置文件
进入vi /etc/default/tftpd-hpa
#/etc/defualt/tftpd-hpa
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/tftpboot" //共享目录设在在/tftpboot
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="-l -s -c" //-l表示监听模式 -s表示开启式确定根目录
3.在根目录下创建tftpboot
mkdir /tftpboot
4.启动tftp服务器
service tftpd-hpa stop //停止tftp服务器
service tftpd-hpa start //开启tftp服务器
service tftpd-hpa stutus //查看tftp运行状态
service tftpd-hpa restart //重启tftp服务器
5.登陆服务器
tftp localhost //表示登陆本地tftp服务器
tftp <主机名ip> //登陆指定的tftp服务器
6.tftp服务器测试
(1)从tftp服务器上下载文件 tftp>get<filename> *注意*从服务器上下载的文件保存在当前的目录下
(2)向tftp服务器上上传文件 tftp>put<filename>
(3)其他操作查看帮助 tftp>?
(4)退出登陆
pzhsunxu-孙旭
fedora只需把apt-get 修改为yum
1.下载tftp安装包
apt-get install tftp-hpa tftpd-hpa xinetd
2.修改配置文件
进入vi /etc/default/tftpd-hpa
#/etc/defualt/tftpd-hpa
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/tftpboot" //共享目录设在在/tftpboot
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="-l -s -c" //-l表示监听模式 -s表示开启式确定根目录
3.在根目录下创建tftpboot
mkdir /tftpboot
4.启动tftp服务器
service tftpd-hpa stop //停止tftp服务器
service tftpd-hpa start //开启tftp服务器
service tftpd-hpa stutus //查看tftp运行状态
service tftpd-hpa restart //重启tftp服务器
5.登陆服务器
tftp localhost //表示登陆本地tftp服务器
tftp <主机名ip> //登陆指定的tftp服务器
6.tftp服务器测试
(1)从tftp服务器上下载文件 tftp>get<filename> *注意*从服务器上下载的文件保存在当前的目录下
(2)向tftp服务器上上传文件 tftp>put<filename>
(3)其他操作查看帮助 tftp>?
(4)退出登陆
相关文章推荐
- Ubuntu安装配置TFTP服务
- ubuntu10.10 tftp安装,配置,测试
- ubuntu10.10安装配置tftp服务—— tftp-hpa 安装
- Ubuntu 12.04下tftp安装配置
- ubuntu 安装配置shh,tftp,nfs 笔记
- Fedora和Ubuntu下安装OpenGL开发环境配置
- VMware, RedHat, VirtualBOX, Ubuntu以及Fedora的安装和配置
- fedora下tftp服务器的安装与配置
- Ubuntu下的tftp的安装、配置极其bug的解决方法
- Ubuntu13.04安装配置 tftp 服务方法
- VMware, RedHat, VirtualBOX, Ubuntu以及Fedora的安装和配置
- fedora10下的tftp的安装与配置
- ubuntu10.04以及10.10安装配置tftp服务
- ubuntu下tftp安装、配置、
- ubuntu 安装配置tftp
- ubuntu 10.4下软件安装配置——tftp&使用tftp进行文件传输
- Fedora 9 下tftp的安装与配置步骤 - 上海嵌入式家园 贺工
- [3]_嵌入式开发环境搭建1_在ubuntu16.04.3 安装配置nfs 和 tftp服务器
- 关于Ubuntu14.04安装配置tftp
- Ubuntu-12.04下安装、配置tftp服务器的简易操作方法