-
Notifications
You must be signed in to change notification settings - Fork 0
Ubuntu18.04安装FTP
Ghost826 edited this page Nov 19, 2019
·
1 revision
- 查看是否安装有vsftpd服务器
#vsftpd -version
- 安装vsftpd服务器
#apt-get install vsftpd
- 配置vsftpd服务器
#cp /etc/vsftpd.conf /etc/vsftpd.conf.bak
#vi /etc/vsftpd.conf
listen=NO listen_ipv6=YES anonymous_enable=NO local_enable=YES write_enable=YES local_umask=022 dirmessage_enable=YES use_localtime=YES xferlog_enable=YES connect_from_port_20=YES chroot_local_user=YES secure_chroot_dir=/var/run/vsftpd/empty pam_service_name=vsftpd rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key ssl_enable=NO pasv_enable=Yes pasv_min_port=10000 pasv_max_port=10100 allow_writeable_chroot=YES
5.重启服务
#service vsftpd restart
- 有问题完全卸载 vsftpd服务器
#apt-get purge vsftpd