ubuntu 14.04 上的 tftpd_hpa 不起作用

ubuntu 14.04 上的 tftpd_hpa 不起作用

我安装了英文版的 Ubuntu 14.04 桌面,使用法语键盘。我尝试安装 tftpd-hpa 几次,但都不起作用。以下是安装日志

elyham@elyham-Vostro-1720:~$ sudo apt-get install tftp-hpa 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  tftp-hpa
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/17,7 kB of archives.
After this operation, 77,8 kB of additional disk space will be used.
Selecting previously unselected package tftp-hpa.
(Reading database ... 200602 files and directories currently installed.)
Preparing to unpack .../tftp-hpa_5.2-7ubuntu3_amd64.deb ...
Unpacking tftp-hpa (5.2-7ubuntu3) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up tftp-hpa (5.2-7ubuntu3) ...
elyham@elyham-Vostro-1720:~$ 

然后我尝试重新启动服务,结果出现了这个

elyham@elyham-Vostro-1720:~$ 
elyham@elyham-Vostro-1720:~$ sudo service tftpd-hpa restart
tftpd-hpa: unrecognized service
elyham@elyham-Vostro-1720:~$ 

我不明白发生了什么,需要一些帮助!!

答案1

我犯了一个错误。我安装客户端时以为是服务器。所以失败了。

正确的命令是:

sudo apt-get install tftpd-hpa

代替

sudo apt-get install tftp-hpa

缺少了“d”;这就是解决方案。

相关内容