偷偷摘套内射激情视频,久久精品99国产国产精,中文字幕无线乱码人妻,中文在线中文a,性爽19p

配置tftp服務(wù)器詳解

網(wǎng)絡(luò) 網(wǎng)絡(luò)管理
這里我們講解了如何進行配置tftp服務(wù)器的操作。那么每個步驟和所需設(shè)置的命令我們都已經(jīng)總結(jié)歸納好,望對大家有所幫助。

配置tftp服務(wù)器的內(nèi)容我們也曾講解過,這里我們主要講解一下在Ubuntu系統(tǒng)中,進行配置tftp服務(wù)器的內(nèi)容。我們對這個過程進行了具體的步驟總結(jié),希望對大家有所幫助。

配置tftp服務(wù)器1、打開Ubuntu的終端,輸入以下命令:

  1. sudo apt-get install tftpd-hpa tftp-hpa 

配置tftp服務(wù)器2、刪除standalone的啟動方式

  1. update-rc.d -f tftpd-hpa remove 

配置tftp服務(wù)器3、新建用戶tftpd及其主目錄

  1. sudo mkdir -p /home/tftpd  
  2. sudo useradd -s /bin/false -g nogroup -d /home/tftpd [-p PASSWORD] tftpd  
  3. 示例:sudo useradd -s /bin/false -g nogroup -d /home/tftpd tftpd  
  4. 加密碼:sudo useradd -s /bin/false -g nogroup -d /home/tftpd tftpd -p 123456 
  5. 3.5 install xinetd

    sudo apt-get install xinetd

配置tftp服務(wù)器4、新建xinetd啟動文件

  1. cat /etc/xinetd.d/tftpd  
  2. service tftp  
  3. {  
  4. disable = no 
  5. socket_type = dgram 
  6. wait = no 
  7. user = root 
  8. protocol = udp 
  9. server = /usr/sbin/in.tftpd  
  10. server_args = -s /home/tftpd -p -c -U 077 -u tftpd #//表示tftp操作目錄在/home/tftpd上  
  11. log_on_success = PID HOST DURATION  
  12. log_on_failure = HOST 

配置tftp服務(wù)器5、注釋掉/etc/inetd.conf文件中tftpd啟動

  1. #tftp dgram udp wait root /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /var/lib/tftpboot  
  2. 5.5 if you have other network connections, such as WiFi, dual-eth cards, pls shutdown the others if tftp is not working. 

配置tftp服務(wù)器6、重新啟動xinetd服務(wù)

  1. sudo /etc/init.d/xinetd restart 

配置tftp服務(wù)器7、測試tftpd服務(wù)是否成功

  1. tftp localhost  
  2. tftp> put 123.log  
  3. tftp> put 123.log test.log  
  4. tftp> get test.log  
  5. tftp> get test.log abc.log  
  6. tftp> verbose  
  7. Verbose mode on.  
  8. tftp> trace  
  9. Packet tracing on.  
  10. tftp> put kkk.log  
  11. sent DATA  
  12. received ACK  
  13. .........  
  14. sent DATA  
  15. received ACK  
  16. Sent 12999997 bytes in -1.5 seconds [-69987938 bit/s] 

注:在哪個目錄執(zhí)行tftp命令,那么上傳的文件就是這個目錄下的所有文件,下載的文件將只能是server目錄下的那些文件!因為evb板子和Liunx下的usb0網(wǎng)卡連接,所以設(shè)置usb0網(wǎng)卡地址,ifconfig看看是不是有網(wǎng)卡,然后sudo ifconfig usb0 192.168.100.1 因為blob默認(rèn)的地址server地址是192.168.100.1所以需要這樣設(shè)置才行。ps:如果發(fā)生Ubuntu下tftp不能使用,那么 一定是server出現(xiàn)了問題,在liunx下再執(zhí)行一次sudo /etc/init.d/xinetd restart就ok了??梢允褂胻ftp localhost測試主機的server是否可以傳送數(shù)據(jù)。

責(zé)任編輯:佟健 來源: hi.baidu.com
相關(guān)推薦

2010-09-14 11:24:03

Windows tft

2010-09-14 11:16:55

Debian Linu

2010-09-09 17:54:07

TFTP服務(wù)器

2010-09-14 10:29:43

配置tftp服務(wù)器

2010-09-14 14:36:04

fedora12 tf

2010-09-09 17:46:43

TFTP服務(wù)器

2010-09-14 13:55:27

redhat 9 tf

2009-12-22 16:56:42

Cisco備份路由器配

2010-08-06 12:29:17

Linux NFS服務(wù)

2020-04-15 20:57:57

NginxWeb服務(wù)器

2009-12-03 17:10:43

2010-09-14 11:09:36

Linux TFTP服

2010-09-14 13:47:44

tftp服務(wù)器搭建

2022-07-18 10:15:14

文件傳輸協(xié)議TFTPLinux

2010-09-10 20:19:34

tftp server

2009-08-21 10:32:33

2011-04-02 10:33:40

SQL server服務(wù)器內(nèi)存

2010-05-26 14:16:17

本地SVN服務(wù)器

2010-09-10 18:31:42

搭建tftp服務(wù)器

2010-09-14 11:33:39

Linux下設(shè)置tft
點贊
收藏

51CTO技術(shù)棧公眾號