$ sudo apt-get install ftpd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
ax25-node libax25 linux-headers-3.19.0-15 linux-headers-3.19.0-15-generic linux-image-3.19.0-15-generic linux-image-extra-3.19.0-15-generic linux-signed-image-3.19.0-15-generic
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
ftpd
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 0 B/48.9 kB of archives.
After this operation, 146 kB of additional disk space will be used.
Selecting previously unselected package ftpd.
(Reading database ... 359757 files and directories currently installed.)
Preparing to unpack .../ftpd_0.17-34_amd64.deb ...
Unpacking ftpd (0.17-34) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up ftpd (0.17-34) ...
现在运行它
$ sudo service ftpd start
Failed to start ftpd.service: Unit ftpd.service failed to load: No such file or directory.
你必须
由于 ftpd 是inetd的一部分。
我无法开始
ftpd
工作,即使在启动了令人困惑的命名openbsd-inetd
服务之后,所以我只是切换到pure-ftpd
似乎立即启动并监听端口 21 的目标。inetd
似乎是为了简化事情,但这不是我的经验。