云服务器ubuntu连接filezilla ubuntuftp服务器
ubuntu16.04下ftp服务器的安装与配置 转载
由于要将本地程序上传至云服务器中,所以需要给云服务器端安装ftp服务器。记录一下ftp的安装过程,以便以后使用。服务器端所用系统为Ubuntu16.04.
1. 安装ftp服务器,
apt-get install vsftpd ftp2. 配置ftp服务器,在/etc/vsftpd.conf中修改,注意修改前先备份一份。
cp /etc/vsftpd.conf /etc/vsftpd_bk.conf vim /etc/vsftpd.conf3.
# 上面默认下不变 write_enable=YES utf8_filesystem=YES4. 重启ftp服务器
systemctl restart vsftpd5. 命令行下运行试试
zf ~ $ ftp localhost Connected to localhost. 220 (vsFTPd 3.0.3) Name (localhost:zf): zf 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp>6. 也可以试试root用户是否可以登录,默认是不让登录的,如果要root登录的话,需要把/etc/ftpusers中的root注释掉。
# /etc/ftpusers: list of users disallowed FTP access. See ftpusers(5). # root daemon bin sys sync games man lp mail news uucp nobody