1. Check whether ftp is installed: , Installation instructions: (Find a -y command)
rpm -qa|grep vsftpd
3. After the installation is completed, perform step 1 to see the ftp version information
4. After the installation is completed, start the FTP service:
yum install -y vsftpd
5. After starting, you can see that the system has listened to port 21:
service vsftpd start
6. Disable anonymous users
netstat -nltp | grep 21
7. Save and restart
vi /etc/vsftpd/vsftpd.conf (anonymous_enable=NO-----yes改为no)
The above is the detailed content of Whether to install ftp on linux. For more information, please follow other related articles on the PHP Chinese website!