debian 系统如何安装 vsftpd

debian 系统安装 vsftpd 只需要执行 apt-get install vsftpd 即可。如果是新系统执行一下 apt-get update

apt-get install vsftpd

apt-get install vsftpd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  dh-python libc-dev-bin libpython3.7
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
  vsftpd
0 upgraded, 1 newly installed, 0 to remove and 71 not upgraded.
Need to get 153 kB of archives.
After this operation, 357 kB of additional disk space will be used.
Get:1 http://mirrors.tencentyun.com/debian buster/main amd64 vsftpd amd64 3.0.3-12 [153 kB]
Fetched 153 kB in 1s (138 kB/s)
Preconfiguring packages ...
Selecting previously unselected package vsftpd.
(Reading database ... 53135 files and directories currently installed.)
Preparing to unpack .../vsftpd_3.0.3-12_amd64.deb ...
Unpacking vsftpd (3.0.3-12) ...
Setting up vsftpd (3.0.3-12) ...
Created symlink /etc/systemd/system/multi-user.target.wants/vsftpd.service → /lib/systemd/system/vsftpd.service.
[vsftpd.conf:1] Line references path below legacy directory /var/run/, updating /var/run/vsftpd/empty → /run/vsftpd/empty; please update the tmpfiles.d/ drop-in file accordingly.
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for systemd (241-7~deb10u4) ..

查看安装的信息

dpkg -s vsftpd
Package: vsftpd
Status: install ok installed
Priority: optional
Section: net
Installed-Size: 349
Maintainer: Keng-Yu Lin <kengyu@lexical.tw>
Architecture: amd64
Version: 3.0.3-12
Replaces: ftp-server
Provides: ftp-server
Depends: debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.28), libcap2 (>= 1:2.10), libpam0g (>= 0.99.7.1), libssl1.1 (>= 1.1.0), libwrap0 (>= 7.6-4~), adduser, libpam-modules, lsb-base (>= 3.0-6), netbase, procps
Recommends: logrotate, ssl-cert
Conflicts: ftp-server
Conffiles:
 /etc/ftpusers 839f3157aad792bafbbdcd932a95a345
 /etc/init.d/vsftpd caec74bf42550509365f905291645344
 /etc/logrotate.d/vsftpd dac2cb7b9cfd8a03b4fa9ca3601a43a6
 /etc/pam.d/vsftpd e75200b7896d8b2c2f2590d0e3d4a6ef
 /etc/vsftpd.conf 0ed7ed3a33022af132b878c8c937bad9
Description: lightweight, efficient FTP server written for security
 This package provides the "Very Secure FTP Daemon", written from
 the ground up with security in mind.
 .
 It supports both anonymous and non-anonymous FTP access, PAM authentication,
 bandwidth limiting, and the Linux sendfile() facility.
Homepage: http://vsftpd.beasts.org/

重点可以看下,配置相关的文件。/etc/*

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注