Embedded Linux Development Environment Building (iii)--TFTP server construction
System environment:Ubuntu 14.04 Server AMD64
1. Software Installation
Apt-get Install TFTPD tftp openbsd-inetd
2. View Modify configuration file
VI
m
/etc/inetd.conf
TFTP dgram UDP wait nobody/usr/sbin/tcpd/usr/sbin/in.tftpd/srv/tftp
/SRV/TFTP is the TFTP server root directory and can be modified to/home/tftp
3.
Create the Tftp Server root directory
/srv/tftp
Cd/srv
mkdir TFTP
4.
Modify the root directory permissions
chmod 777 TFTP
5.
Restart xinetd Service
/etc/init.d/openbsd-inetd restart
6.
See if the TFTP service is turned on
NETSTAT-NLP |grep:69
UDP 0 0 0.0.0.0:69 0.0.0.0:* 4231/inetd
Show that the TFTP service is turned on
Note: The TFTP server is mainly used as the download kernel image in the system porting in the embedded development, it has been using CentOS 6.7, but it has been tested and built on the CentOS 6.7 TFTP server can connect the Development Board (Development Board can ping CentOS, TFTP can be used normally), but has not been able to download the kernel, through the multi-party search data may be centos under the TFTP software and Development Board compatibility reasons, into the use of Ubuntu to build the development environment.
This article is from the "Tianshan Old Demon" blog, please be sure to keep this source http://9291927.blog.51cto.com/9281927/1783903
Embedded Linux development Environment Building (iii)--TFTP server construction