Ubuntu16.04安装vsftpd教程,Linux系统FTP安装

技术文章 litterfat 5年前 (2018-12-14) 5156次浏览 已收录 扫描二维码

Ubuntu16.04 安装 vsftpd教程,Linux系统 FTP 安装
在 Linux 下创建 ftp 用户(这里设置用户名:lixl 密码:lixl)
创建用户 lixl 并指定目录

sudo useradd -d /home/ftp/myftp -M lixl

在终端输入

sudo passwd lixl

然后自定义重复输入密码两次,我这里默认使用 lixl 作为密码(输入密码时,无星号提示)
先更新软件包管理器 apt-get

sudo apt-get update

安装 vsftpd

sudo apt-get install vsftpd

创建 ftp 上传文件夹

sudo mkdir /home/ftp

设置文件夹权限

sudo chmod 755 /home/ftp

在 /home/ftp/ 创建文件夹

sudo mkdir /home/ftp/myftp

设置文件夹权限

sudo chmod 777 /home/ftp/myftp

设置相关配置

sudo vim /etc/vsftpd.conf

修改 /etc/pam.d/vsftpd

sudo vim /etc/pam.d/vsftpd

auth required pam_shells.so前加#

重启服务

sudo service vsftpd restart

查看服务状态

service vsftpd status

Ubuntu16.04 安装 vsftpd 教程,Linux 系统 FTP 安装


喜欢 (2)
Searching for the best XXX images on the web? Look no further than our premier destination for all things erotic. the highest quality content on the web, with crystal clear video and audio that will make you feel like you're right there in the action https://eroticpictures.org/