RedHatEnterpriseLinux5 configure the TFTP Server

Source: Internet
Author: User
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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.