tftp伺服器安裝與配置

來源:互聯網
上載者:User

tftp伺服器安裝與配置 tftp伺服器  www.2cto.com  trivial file transfer protocol 簡單檔案傳輸通訊協定 tftp有三種傳輸模式:netASCII 8位ASSCII八位組模式郵件模式 檢查是否安裝[root@localhost Server]# rpm -qa | grep tftp-servertftp-server-0.49-2  www.2cto.com  安裝掛載安裝檔案鏡像[root@localhost Server]# rpm -ivh tftp-0.49-2.i386.rpmwarning: tftp-0.49-2.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186Preparing...  (100########################################### [100%]1:tftp ( 88########################################### [100%] [root@localhost Server]# rpm -ivh tftp-server-0.49-2.i386.rpmwarning: tftp-server-0.49-2.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186error: Failed dependencies:xinetd is needed by tftp-server-0.49-2.i386 [root@localhost Server]# rpm -ivh xinetd-2.3.14-10.el5.i386.rpmwarning: xinetd-2.3.14-10.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186Preparing...  (100########################################### [100%]1:xinetd (  1########################################### [100%] [root@localhost Server]# rpm -ivh tftp-server-0.49-2.i386.rpmwarning: tftp-server-0.49-2.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186Preparing...  (100########################################### [100%]1:tftp-server (  2########################################### [100%] 修改設定檔[root@localhost /]# vi /etc/xinetd.d/tftp # default: off# description: The tftp server serves files using the trivial file transfer \# protocol. The tftp protocol is often used to boot diskless \# workstations, download configuration files to network-aware printers, \# and to start the installation process for some operating systems.service tftp{socket_type = dgramprotocol = udpwait = yesuser = rootserver = /usr/sbin/in.tftpdserver_args = -s /tftpbootdisable = no #修改此處per_source = 11cps = 100 2flags = IPv4}  www.2cto.com  啟動伺服器[root@localhost ~]# /etc/init.d/xinetd start啟動 xinetd: ol. O 查看伺服器是否啟動成功[root@localhost ~]# netstat -a|grep tftpudp 0 0 *:tftp *:* 檢查連接埠[root@localhost ~]# netstat -anulp | grep 69udp 0 0 0.0.0.0:69 0.0.0.0:*  10548/xinetd  用戶端[root@localhost Server]# tftp(to) 192.168.1.26tftp> get /home注:/*常用以下檔案用作目錄檔案*/get ls.txt 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.