As the software working on the host machine, the TPTP server mainly provides download of the main image files of the target machine. Step 1: run the command to check whether the tftp server has been started. If the server has been started, no installation is required. Command: # netstat-a | greptftp: udp0 & nbs
TPTP ServerAs the software that works on the host machineSubmitSupplyPairTarget machine'sDownload of main image files.
Step 1: Run the following command to check whether the tftp server has been started. If the server has been started, no installation is required.
Command: # netstat-a | grep tftp
If the following result is returned:
Udp 0 0 *: tftp *:*
The installation is successful. If nothing is displayed, the installation is required!
Step 2:If yes, run the following command:
# Rpm-ivh tftp-server-xxxxxx.rpm
(# Rpm-ivh tftp-server-0.42-3.1.i386.rpm)
Step 3: Create the main working directory of tftp (normally, the/tftp folder is automatically created when tftp's rpm package is installed, so you do not need to create it yourself)
Command: # Mkdir/tftpboot
Step 4: Tftp server configuration, modify the configuration file
Use# Vi/etc/xinetd. d/tftpOpen the configuration file:
Service tftp
{
Disable = no // modify the value of this option to no
Socket_type = dgram
Protocol = udp
Wait = yes
User = root
Server =/usr/sbin/in. tftpd
Server_args =-s/tftpboot
// This parameter is the configured tftp master working directory, which is automatically created after the tftp package is installed.
Per_source = 11
CPIs = 100 2
Flags = IPv4
}
Step 5: Restart the tftp server.
#/Etc/init. d/xinetd restart
Use Step 1 to check whether the service is enabled successfully