1.安装并启动 FTP 服务
安装 VSFTPD
使用 apt-get
安装 vsftpd
kylin@kylin:~$ sudo apt-get install vsftpd -y[sudo] password for kylin: Sorry, try again.[sudo] password for kylin: Reading package lists... DoneBuilding dependency tree Reading state information... DoneThe following packages were automatically installed and are no longer required: gtk2-engines-xfce libkeybinder-3.0-0 libxfce4panel-2.0-4 libxfce4ui-utils linux-headers-4.10.0-28 linux-headers-4.10.0-28-generic linux-image-4.10.0-28-generic linux-image-extra-4.10.0-28-generic orage tango-icon-theme thunar thunar-volman xfce4-appfinder xfce4-panel xfce4-pulseaudio-pluginUse 'sudo apt autoremove' to remove them.The following NEW packages will be installed: vsftpd0 upgraded, 1 newly installed, 0 to remove and 28 not upgraded.Need to get 115 kB of archives.After this operation, 336 kB of additional disk space will be used.Get:1 http://cn.archive.ubuntu.com/ubuntu xenial/main amd64 vsftpd amd64 3.0.3-3ubuntu2 [115 kB]Fetched 115 kB in 0s (1,212 kB/s)Preconfiguring packages ...Selecting previously unselected package vsftpd.(Reading database ... 288442 files and directories currently installed.)Preparing to unpack .../vsftpd_3.0.3-3ubuntu2_amd64.deb ...Unpacking vsftpd (3.0.3-3ubuntu2) ...Processing triggers for systemd (229-4ubuntu21) ...Processing triggers for ureadahead (0.100.0-19) ...ureadahead will be reprofiled on next rebootProcessing triggers for man-db (2.7.5-1) ...Setting up vsftpd (3.0.3-3ubuntu2) ...Processing triggers for systemd (229-4ubuntu21) ...Processing triggers for ureadahead (0.100.0-19) ...
启动 VSFTPD
安装完成后 VSFTPD 会自动启动,通过
netstat
命令可以看到系统已经