tftp相关

来源:互联网 发布:android电商项目源码 编辑:程序博客网 时间:2024/06/05 02:52

 1 检查是否安装 #rpm -qa|grep tftp

2 安装   #rpm -ivh tftp-*.rpm(客户端)

 

              #rpm -ivh tftp-server-*.rpm(服务器端)

3 配置  修改文件/etc/xinetd.d/tftp

4 创建目录 #mkdir /tftpboot

                    #chmod -R 777 /tftpboot

5 关闭防火墙  #/etc/init.d/iptables stop

6 重启xinetd     #service xinetd restart

7 打开tftp服务 #/sbin/chkconfig tftp on

8 检查是否打开 #/sbin/chkconfig --list

9 使用

    #tftp IP地址

    tftp>get <下载>

    tftp>put <上传>

    tftp>q

 

原创粉丝点击