Install TFTPServer in Ubuntu11.04

Source: Internet
Author: User
After installing Ubuntu, we found that the installation of tftpserver is different from that of Ubuntu earlier. But the basic difference is not big. Step 1: Execute sudoapt-getinstallxinetd2. Execute sudoapt-getinstalltftp-hpa3. Execute vi/etc/default/tftpd-hpa modify tftpboot path for your own tftp

Install the new Ubuntu 11.04 version. It is different from the previous version of Ubuntu to install the tftp server. But the basic difference is not big.

The procedure is as follows:

1. Run sudo apt-get install xinetd.

2. Run sudo apt-get install tftp-hpa.

3. Run vi/etc/default/tftpd-hpa

Modify the tftpboot path for your own tftpboot path. I am in the root directory.

The modification is as follows:

1 #/etc/default/tftpd-hpa
2
3 TFTP_USERNAME = "tftp"
4 TFTP_DIRECTORY ="/Tftpboot"
5 TFTP_ADDRESS ="127.0.0.1: 69"
6 TFTP_OPTIONS = "-- secure"

4. Run sudo/etc/init. d/tftpd-hpa start

The following error is returned:

Rather than invoking init scripts through/etc/init. d, use the service (8)
Utility, e.g. service tftpd-hpa start

Since the script you are attempting to invoke has been converted to
Upstart job, you may also use the start (8) utility, e.g. start tftpd-hpa
In the old version, tftp server cannot be started in this way. The following command should be used for [Linux community www.linuxidc.com:

Service/etc/init. d/tftpd-hpa start

5. Run sudo service/etc/init. d/tftpd-hpa start

The following message is displayed:

Tftpd-hpa start/running, process 17318
Run successfully.

6. In the/tftpboot directory, create a file named test.

Execute tftp localhost
Tftp> get test
Tftp> q
Albert @ albert-virtual-machine :~ /Src/app_linux/pld_service $ ls
Test
Test successful!

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.