亚洲免费在线-亚洲免费在线播放-亚洲免费在线观看-亚洲免费在线观看视频-亚洲免费在线看-亚洲免费在线视频

CentOS 5.3 安裝TFTP

系統(tǒng) 1796 0

CentOS 5.3 安裝TFTP_一直被超越,從未被模仿_百度空間

CentOS 5.3 安裝TFTP

1.當(dāng)然是使用yum安裝最直接,一共會(huì)安裝3個(gè)東東
tftp.i386
tftp-server.i386
xinetd.i386
[root@localhost CentOS]# yum -y install tftp*

2.安裝完后可以使用rpm命令查看
[root@localhost CentOS]#rpm -qa | grep tftp
tftp-server-0.49-2.el5.centos
tftp-0.49-2.el5.centos

3.正式使用之前需要修改一下配置
[root@localhost CentOS]# 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 = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot '加-c
disable = yes '改為no #默認(rèn)tftp服務(wù)是關(guān)閉的。
per_source = 11
cps = 100 2
flags = IPv4
}

修改后的代碼:
# 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 /tftpboot -c
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}
~
:wq (保存退出)

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


4.啟動(dòng)tftp服務(wù)
[root@localhost CentOS]#cd /
[root@localhost /]# service xinetd start
Starting xinetd: [ OK ]
[root@localhost /]# setup '查看TFTP是否開(kāi)機(jī)自動(dòng)開(kāi)啟(系統(tǒng)服務(wù)選項(xiàng)) 查看防火墻是否開(kāi)放TFTP端口,并在其他端口選項(xiàng)增加端口69:udp ,保存退出setup界面

5.修改tftp根目錄權(quán)限
[root@localhost /]# ls
backups dev lib misc opt sbin sys usr
bin etc lost+found mnt proc selinux tftpboot var
boot home media net root srv tmp
[root@localhost /]# cd tftpboot/
[root@localhost tftpboot]# ls
[root@localhost tftpboot]# cd /
[root@localhost /]# chmod 777 tftpboot

6.重啟tftp服務(wù)

[root@localhost /]# service xinetd restart
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]

CentOS 5.3 安裝TFTP


更多文章、技術(shù)交流、商務(wù)合作、聯(lián)系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號(hào)聯(lián)系: 360901061

您的支持是博主寫(xiě)作最大的動(dòng)力,如果您喜歡我的文章,感覺(jué)我的文章對(duì)您有幫助,請(qǐng)用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點(diǎn)擊下面給點(diǎn)支持吧,站長(zhǎng)非常感激您!手機(jī)微信長(zhǎng)按不能支付解決辦法:請(qǐng)將微信支付二維碼保存到相冊(cè),切換到微信,然后點(diǎn)擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對(duì)您有幫助就好】

您的支持是博主寫(xiě)作最大的動(dòng)力,如果您喜歡我的文章,感覺(jué)我的文章對(duì)您有幫助,請(qǐng)用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長(zhǎng)會(huì)非常 感謝您的哦!!!

發(fā)表我的評(píng)論
最新評(píng)論 總共0條評(píng)論
主站蜘蛛池模板: 亚洲综合网站 | 精品国产精品国产偷麻豆 | 久草精品视频 | 99精品久久99久久久久 | 国产亚洲精aa在线观看不卡 | 亚洲精品丝袜在线一区波多野结衣 | 欧美久久综合九色综合 | 在线看亚洲 | 男人天堂网在线视频 | 国产亚洲精品久久午夜 | 视频二区 中文字幕 欧美 | 亚洲五月婷婷 | 久久精品国1国二国三在 | 大乳妇女bd视频在线观看 | 久久久久久日本一区99 | 五月天丁香婷婷综合 | 正在播放一区二区 | 曰本一级毛片 | 久热99这里只有精品视频6 | 日本不卡免免费观看 | 欧美资源站 | 成人在线免费小视频 | 久青草免费在线视频 | 亚洲高清在线观看视频 | 久久精品亚洲热综合一本奇米 | 狠狠色狠狠色综合婷婷tag | 久久综合久久精品 | 欧美一级视频免费 | 国内精品福利视频 | 国内精品久久久久久久久久久久 | 久久久精品国产免费观看同学 | 免费黄色的视频 | 一级一级一级毛片免费毛片 | 久久精品亚洲99一区二区 | 一级欧美一级日韩毛片99 | 国产精品久久久亚洲第一牛牛 | 在线中文字幕观看 | 久久精品视频日本 | 国产精品成人一区二区不卡 | 久久免费看视频 | 精品久久久久久中文字幕无碍 |