TFTP安装步骤
(1).安装tftp,首先需要安装tftp-hpa,tftpd-hpa,前者是客户端,后者是服务程序。在终端下输入 :sudo apt-get install tftp-hpa tftpd-hpa,安装tftp-hpa和tftpd-hpa。然后还需要安装xinetd,这是一个守护进程,用于处理对各种服务的请求,在终端下输入 sudo apt-get install xinetd,安装好xinetd。如果之前安装了tftp和tftpd,这时候系统会自动卸载它们。
(2).配置相关服务文件。进入根目录下的etc文件夹(cd /etc/),首先在
目录中有没有一个xinetd.conf文件,如果没有则新建一个,有的话查看
内容,看是否与下面的一致,若不一致则修改,内容如下:
# Simple configuration file for xinetd
# Some defaults, and include /etc/xinetd.d/
Defaults
{
# Please note that you need a log_type line to be able to use log_on_success
# and log_on_failure. The default is the following :
# log_type = SYSLOG daemon info
}
included