FTP服务的使用
1.安装FTP服务
yum install vsftpd -y
2.设置ftp匿名路径为opt
vi /etc/vsftpd/vsftpd.conf cat /etc/vsftpd/vsftpd.conf .... anon_root=/opt #添加 ....
3.启动vsftp
systemctl start vsftpd
[root@localhost ~]# netstat -ntpl Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1015/sshd tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1190/master tcp6 0 0 :::21 :::* LISTEN 1401/vsftpd tcp6 0 0 :::22 :::* LISTEN 1015/sshd tcp6 0 0 ::1:25 :::* LISTEN 1190/master
4.ftp:ip


浙公网安备 33010602011771号