![在 ubuntu 上安装 vsftp](https://linux22.com/image/795078/%E5%9C%A8%20ubuntu%20%E4%B8%8A%E5%AE%89%E8%A3%85%20vsftp.png)
我在我的 Linode Ubuntu 上运行了下面的命令。这让我相信 vsftpd 应该正在运行,但 /etc/ 中没有 vsftpd 文件夹,也没有 vsfptd.conf。
它是否安装在不同的文件夹中或......?
root@bla:/etc# apt-get install vsftpd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
vsftpd
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/141kB of archives.
After this operation, 471kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously deselected package vsftpd.
(Reading database ... 32857 files and directories currently installed.)
Unpacking vsftpd (from .../vsftpd_2.2.2-3ubuntu6_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up vsftpd (2.2.2-3ubuntu6) ...
vsftpd start/running, process 10749
答案1
检查软件包是否已安装
dpkg -l vsftpd
使用以下命令检查包的内容(Ubuntu 是否有 /etc/vsftp 目录,Ubuntu 包将其内容放在哪里):
dpkg -L vsftpd
检查它是否实际正在运行
status vsftpd
和/或
ps -ef | grep ftp
答案2
答案3
Ubuntu 中的 vsftp.conf 在 etc 目录中:/etc/vsftpd.conf