Fedora9tftp installation and configuration

Source: Internet
Author: User
Installation environment: Fedora9 first install xinetd service: yuminstallxinetd install tftp, tftp-sever: yuminstalltftptftp-sever can search this site to download rpm package directly install http://www.rpmfind.com Configuration: change the tftp configuration file/etc/xinetd. d/tftpvim/etc/xinetd. d/tftp # default

Installation environment: Fedora 9
First install the xinetd service: yum install xinetd
Install tftp, tftp-sever: yum install tftp-sever
You can search this site to download the rpm package to install http://www.rpmfind.com directly
Configuration:
Change the tftp configuration file/etc/xinetd. d/tftp
Vim/etc/xinetd. d/tftp

# Default: off
# Description: The tftp server serves files using the trivial file transfer \
# Protocol. The tftp protocol is often used to boot diskless \
# Workstations, download configuration files to network-aware printers ,\
# And to start the installation process for some operating systems.
Service tftp
{
Socket_type = dgram
Protocol = udp
Wait = yes
User = root
Server =/usr/sbin/in. tftpd
Server_args =-s/home/yeling/tftpboot-c
Disable = no
Per_source = 11
CPIs = 100 2
Flags = IPv4
}

Reminder: #-s is followed by the path of the tftp server, and-c allows file upload. If you do not have the directory, you need to create one first. You 'd better change the permission to chmod 777/home/yeling/tftpboot. You can also set it to a common user.

Run the following command to enter setup to check whether the tftp service is enabled. It is best to disable the firewall (#/etc/init. d/iptables stop // disable the firewall). I don't know what went wrong with the settings, and I finally disabled selinux. In the desktop menu, choose system> management> selinux management and set Enforcing Mode to Disabled.

Restart the computer, or do not restart, you can also try it by yourself

# Service xinetd restart // restart the xinetd service

Shell
# Tftp your-ip-address

Tftp> get

Tftp> put

Tftp> q

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.