随笔分类 - linux系统
摘要:5.4. Enabling and Disabling SELinux Use the /usr/sbin/getenforce or /usr/sbin/sestatus commands to check the status of SELinux. Thegetenforce command returns Enforcing, Permissive, or Disabled. Th...
阅读全文
摘要:一、vsftp服务能开启却连接不上的解决办法: 用虚拟机装了centos,vsftp是用centos自带的。启动vsftd服务后却一直连不上,原因是被防火墙给挡了。 查看防火墙状态:/etc/init.d/iptables status 停掉防火墙:/etc/init.d/iptables stop 也可以永久关闭防火墙:chkconfig --level 35 ipt...
阅读全文