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

CentOS 5.3 安裝TFTP

系統 2113 0

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

CentOS 5.3 安裝TFTP

1.當然是使用yum安裝最直接,一共會安裝3個東東
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 #默認tftp服務是關閉的。
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 (保存退出)

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


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

5.修改tftp根目錄權限
[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服務

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

CentOS 5.3 安裝TFTP


更多文章、技術交流、商務合作、聯系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯系: 360901061

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

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 男人天堂网在线视频 | 久久高清精品 | 激情五月综合网 | 亚洲热久久| 九九九好热在线 | 久久亚洲精品永久网站 | 国产色网址 | 亚洲国产欧美国产综合一区 | 夜色资源在线观看免费 | 可以看美女隐私的网站 | 国产做爰免费视频观看 | 九九热在线观看视频 | 日日碰夜夜爽 | 欧美激情一区二区三区视频 | 99久久99 | 中国护士一级毛片免费版本 | 天天上天天干 | 亚洲丶国产丶欧美一区二区三区 | 99精品国产福利在线观看 | 性做久久| 国产亚洲精品九九久在线观看 | 国产一级毛片视频在线! | 囗交免费毛片 | 久久亚洲不卡一区二区 | 国产一区二区在免费观看 | 久久综合九色综合精品 | 97在线观看播放 | sihu永久在线播放地址 | 久久久99精品久久久久久 | 国产成人综合高清在线观看 | 天天干天天射综合网 | 全黄毛片| 97精品国产高清久久久久蜜芽 | 妞干网这里只有精品 | 亚洲欧美人成综合在线最新 | 国产精品亚洲精品久久成人 | 天天干天天爱天天操 | 久草视频精品 | 免费色视频网站 | 国产精品成人久久久久 | 免费一级a毛片 |