Redhatlinux5 detailed steps for configuring the tftp server

Source: Internet
Author: User
The tftp server configuration is in redhatlinux5. for detailed steps, see Redhat

1. enter the root permission under the terminal. first check whether the tftp server and client components are installed. verify the command: rpm-qa | grep tftp (see figure)

If there is no effect shown in the figure, the tftp component may not be installed on your host, so you have to start to install it. if you are online, you can directly

Yum install tftp and yum install tftp-server; if this method is not successful, you need to find the tftp installation package online (preferably in rpm format ).

2. if the tftp component is not installed and the rpm package is already in place, you can directly install the rpm-ivh [full path of the software.

3. type the command: vi/etc/xinetd. d/tftp in the command line to enter the configuration file of tftp (which can be vi :)).

4. change disable to no, server_args to-s [tftp working path, which can be customized here, for example:/tftpboot]-c (-s represents the indicated path, -c indicates that Upload is allowed.) wq is saved and exit vi.

5. modify the ip address. you can use ifconfig eth0 192. 168 .., note that many users use the vmwarevm. to set a virtual machine to a bridging network, you may not be able to access the Internet after it is modified to a bridging network, but it can be connected to your win. when you modify the linux ip address, you need to change the ip address to the same network segment as the local connection ip address under your win, for example, 192.168.1.2, for linux, it can be 192.168.1.3, and so on. for the default network segment, you can set it under the setup menu in the command line. Note that it should be the same as local.

6. at this time, restart the tftp server. run the command:/etc/inid. d/xinetd restart (see the figure ),

By the way, restart the network and run the command line: service network restart (see figure)

If you do not understand, it is also appropriate to restart the machine.

7. the preparation is ready. in linux, ping the ip address under win and ping the ip address under linux. if the ip address can be interconnected, OK.

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.