Ubantu搭建FTP
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... Done Building dependency tree Reading state information... Done The 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-plugin Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: vsftpd 0 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 reboot Processing 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
命令可以看到系统已经
作者:舆-风动名扬 出处:http://www.cnblogs.com/gnool/
© 作者和博客园,欢迎转载,未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。如果觉得还有帮助的话,可以点一下右下角的【推荐】想跟我一起进步么?那就【关注】我吧。