centos7配置
1.防火墙配置:
启动: systemctl start firewalld
关闭: systemctl stop firewalld
查看状态: systemctl status firewalld
开机禁用 : systemctl disable firewalld
开机启用 : systemctl enable firewalld
2.配置Telnet服务
安装xinetd、Telnet 、telnet-server
配置开机启动:
systemctl enable xinetd-service
systemctl enable telnet.socket
开启服务:
systemctl start telnet.socket
systemctl start xinetd
3.配置FTP:
安装vsftpd
yum install vsftpd
systemctl restart vsftpd.service
systemctl enable vsftpd.service
systemctl stop vsftpd.service
systemctl status vsftpd.service
注意:(ftp 登录上去要关闭pasv 模式,使用port模式)命令->passive