Centos7 sets up vsftpd server

1. Install vsftpd
    yum install vsftpd

2. Turn on and off
    set boot auto-start
      systemctl enable vsftpd
    start/shutdown restart
      systemctl start/stop/restart vsftpd

3. Turn off firewall and selinux
    systemct disable firewalld
    systemctl stop firewalld
    vi /etc/selinux/config
    set SELINUX Change to disabled
    reboot
   
4. Log in to vsftpd via sftp
    sftp [email protected]

5. Browser access
    ftp://username:[email protected]
   
    Note: 192.168.1.119 is the ip of the LAN server to
    view the ip command ip addr

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326681304&siteId=291194637