the linux operating ftp

1 to see if the installation

  rpm -qa | grep vsftpd

  No output, indicating no installation

2, check the service status

  1)、service vsftpd status

    Output  

    vsftpd is stopped means closed

    vsftpd (pid 5773) is running ... will indicate on

  

  2)、netstat -an | grep 21

    There is this line represents the start

    tcp        0      0 0.0.0.0:21                  0.0.0.0:*                   LISTEN 

 

3, install ftp, the default installation directory: / etc / vsftpd

  yum -y install vsftpd

4, opening and closing service

  Start: service vsftpd start 

  Close: service vsftpd stop

  Restart: service vsftpd restart

 

  

 

Guess you like

Origin www.cnblogs.com/whalesea/p/11984394.html