自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

tftp服務(wù)器搭建三步走

網(wǎng)絡(luò) 網(wǎng)絡(luò)管理
這里我們針對tftp服務(wù)器搭建的內(nèi)容進行了總結(jié),那么通過文章的簡單講解,相信大家對于這個過程也會有所領(lǐng)悟。

我們了解了tftp服務(wù)器的一些基礎(chǔ)內(nèi)容后,就要著手于對tftp服務(wù)器搭建的學(xué)習(xí)了。那么下面,我們將這個搭建過程作了一個簡單的總結(jié),希望大家能夠通過文章的內(nèi)容,對這部分有所領(lǐng)悟。

tftp服務(wù)器搭建1.檢查系統(tǒng)是否安裝tftp服務(wù)端軟件:

[root@localhost lqm]# rpm -qa |grep tftp

tftp-0.39-2

tftp-server-0.39-2

tftp服務(wù)器搭建2.編輯文件:/etc/xinetd.d/tftp

[root@localhost xinetd.d]# vi 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             = dgram

protocol                = udp

wait                    = yes

user                    = root

server                  = /usr/sbin/in.tftpd

server_args          =-s  /home/lqm/tftpboot -c

disable                 = yes ---------------將yes改為no!

per_source              = 11

cps                     = 100 2

flags                   = IPv4

注: 修改項server_args= -s -c,其中處可以改為你的tftp-server的根目錄,參數(shù)-s指定chroot,-c指定了可以創(chuàng)建文件。

tftp服務(wù)器搭建3.建立tftp文件夾

#mkdir /home/lqm/tftpboot

#chmod o+w       /home/lqm/tftpboot

/etc/init.d/iptables stop        //關(guān)閉防火墻

service xinetd restart          //重啟 xinetd 服務(wù)

重啟xinetd服務(wù),因為TFTP服務(wù)受控與xinetd, xinetd是管服務(wù)的服務(wù),它是不開端口的。

驗證一下TFTP是否起來了:

[root@localhost tftp_root]# netstat -nlp

Active Internet connections (only servers)

Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name

tcp        0      0 :::22                       :::*                        LISTEN      2828/sshd

udp        0      0 0.0.0.0:69                  0.0.0.0:*                               10887/xinetd

udp        0      0 0.0.0.0:69                  0.0.0.0:*                               10863/in.tftpd

udp        0      0 0.0.0.0:69                  0.0.0.0:*                               10778/in.tftpd

可以看到69端口已經(jīng)打開,說明服務(wù)啟動正常。

#service xinetd restart

這樣,tftp-server就啟動了。你可以登陸本機測試以下,命令如下:

#tftp     your-ip-address

tftp>get <download file>

tftp>put <upload file>

tftp>q

#

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

2010-09-27 09:56:26

DHCP服務(wù)器中繼設(shè)置

2009-08-18 10:11:09

代理服務(wù)器設(shè)置代理服務(wù)器地址

2010-09-25 15:14:45

構(gòu)建DHCP服務(wù)器

2009-07-29 10:26:28

華碩服務(wù)器采購

2009-12-10 10:11:08

2010-09-10 18:31:42

搭建tftp服務(wù)器

2013-06-05 10:06:42

創(chuàng)業(yè)創(chuàng)業(yè)順序如何創(chuàng)業(yè)

2012-05-25 10:18:23

響應(yīng)式

2010-06-08 10:37:15

云計算風(fēng)險

2012-05-21 09:21:29

防火墻

2010-08-17 14:22:47

JavaScript兼容性

2009-02-03 09:48:00

DHCP服務(wù)器安全

2012-02-22 13:36:50

云計算

2012-02-28 09:17:27

云計算

2018-01-17 22:44:46

云存儲云服務(wù)存儲

2009-02-03 10:45:39

IT培訓(xùn)BPO

2012-02-07 17:25:50

2012-07-10 14:19:49

應(yīng)用程序移動應(yīng)用

2009-02-10 09:36:00

局域網(wǎng)網(wǎng)速測試

2021-07-08 14:05:55

固態(tài)硬盤機械
點贊
收藏

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