centos7架设vsftpd服务器

1.安装vsftpd
    yum install vsftpd

2.启动关闭
    设置开机自启
      systemctl enable vsftpd
    启动/关闭重启
      systemctl start/stop/restart vsftpd

3.关闭防火墙和selinux
    systemct disable firewalld
    systemctl stop firewalld
    vi /etc/selinux/config
    将SELINUX改为disabled
    reboot
   
4.通过sftp登陆vsftpd
    sftp [email protected]

5.浏览器访问
    ftp://username:[email protected]
   
    注:192.168.1.119是局域网服务器的ip
    查看ip命令ip addr

猜你喜欢

转载自jisonami.iteye.com/blog/2293609