美文网首页
开启 Ubuntu FTP 服务

开启 Ubuntu FTP 服务

作者: 小叶与小茶 | 来源:发表于2018-07-04 22:20 被阅读17次

Ubuntu 安装完成后,FTP 服务可能并未打开,因此无法通过 FTP 进行文件传输。

1. 更新源列表

sudo apt-get update

2. 安装 vsftpd

sudo apt-get install vsftpd

**3. 修改 vsftpd 配置文件,主要是设置可写权限。

sudo vi /etc/vsftpd.conf

# Uncomment this to allow local users to log in.
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES

4. 开启 FTP 服务

sudo service vsftpd start

5. 确认 FTP 服务已经开启

ps -e | grep ftp

可能会显示如下的结果,证明 SSH 服务已经开启:
3284 ?        00:00:00 vsftpd

6. 通过 WinSCP 等 FTP Client 工具进行连接

相关文章

网友评论

      本文标题:开启 Ubuntu FTP 服务

      本文链接:https://www.haomeiwen.com/subject/benyuftx.html