Step 1: Check whether the TFTP-SERVER is installed in LINUX. in LINUX enter: rpm-qtftp-server if the following response appears: tftp-server-0.39-2 indicates that tftp-server is installed. step 2: Modify the tftp startup script. Method 1: Modify the ftptpd STARTUP script vietcxinetd. dtftp with disable
Step 1:
We need to confirm whether the TFTP-SERVER is installed in LINUX.
In LINUX, enter:
Rpm-q tFtp-Server
If the following response is displayed:
Tftp-Server-0.39-2 indicates that tftp-server is installed.
Step 2:
Modify the tftp startup script:
Method 1:
You need to modify the startup script of ftptpd.
Vi/etc/xinetd. d/tftp
When disable = no is added, the tfpt service can be started.
Method 2:
Input:/sbin/ChkconfigTftp on
ThisCommandAdd disable = no in the startup script.
The modified script works as follows:
Step 3:
Start the TFTP service
Service xinetd restart
In this way, our service starts OK.
The default TFTP root directory is in/tftproot.
Tftp simple client: http://www.linuxIdC.com/Linux/2011-08/39946.htm
You can check to see if a TFTP server isSetUp with the following command:
-
Host $Rpm-q tftp-server
You shoshouldExPect to see output similar:
-
Tftp-server-0.39-2
NOTE: Your version may beDiffErent than the one listEdAbove. This is OK, the version above is just an example.
If it is notSetup, You can follow these steps:
- Download a TFTP server for your Linux host. You can search the internet for "tftp-server". You canFindThe RPM package for download here
- Install the TFTP server package
-
Host $Rpm-ivh
- ConfiRmThat TFTP is installed
-
Host $/Sbin/chkconfig -- list |
GrepTftp
- Turn on the TFTP server
-
Host $/Sbin/chkconfig tftp on
The default root loCatIon for TFTPFileS is/tftpboot.