tftp服务器怎么开启linux,启动Linux下的TFTP服务器
第一步:
我們要確認,LINUX下是不是安裝了TFTP-SERVER.
在LINUX下輸入:
rpm -q tftp-server
如出現如下回復:
tftp-server-0.39-2 ?則表示tftp-server已安裝.
第二步:
修改TFTP啟動腳本:
方法一:
需要修改ftptpd的啟動腳本
vi /etc/xinetd.d/tftp
加上?disable =no? 此時即可啟動tfpt服務
方法二:
直接輸入:?/sbin/chkconfig tftp on
此命令也是在啟動腳本中加上disable=no
腳本修改后的效果如下:
第三步:
啟動TFTP服務
service xinetd restart
這樣我們的服務就啟動OK了.
TFTP的默認根目錄在/tftproot中.
You can check to see if a TFTP server is set up with the following command:
host $?rpm -q tftp-server
You should expect to see output similar to:
tftp-server-0.39-2
NOTE: Your version may be different than the one listed above. This is OK, the version above is just an example.
If it is not setup, you can follow these steps:
Download a TFTP server for your Linux host. You can search the internet for "tftp-server". You can find the RPM package for download?here
Install the TFTP server package
host $?rpm -ivh
Confirm that TFTP is installed
host $?/sbin/chkconfig --list | grep tftp
Turn on the TFTP server
host $?/sbin/chkconfig tftp on
The default root location for TFTP files is /tftpboot.
總結
以上是生活随笔為你收集整理的tftp服务器怎么开启linux,启动Linux下的TFTP服务器的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 软考:无线
- 下一篇: java ssm旅游网站系统源码jsp