fishj1

fishj1

coder

  • 财富值5
  • 威望值0
  • 总积分5

个人信息

  • 回复了 的回复

    经测试修改
    [root@instance-name var]# vi /etc/selinux/config

    输入上面的命令打开文件看到以下内容

    SELINUX= can take one of these three values:

    enforcing - SELinux security policy is enforced.

    permissive - SELinux prints warnings instead of enforcing.

    disabled - No SELinux policy is loaded.

    SELINUX=enforcing

    SELINUXTYPE= can take one of these two values:

    targeted - Targeted processes are protected,

    minimum - Modification of targeted policy. Only selected processes are protected.

    mls - Multi Level Security protection.

    SELINUXTYPE=targeted

    把SELINUX=enforcing 值修改成 SELINUX=disabled 然后保存重启服务器即可

    这个和关了之后可以访问了

  • 赞了回复

    经测试修改
    [root@instance-name var]# vi /etc/selinux/config

    输入上面的命令打开文件看到以下内容

    SELINUX= can take one of these three values:

    enforcing - SELinux security policy is enforced.

    permissive - SELinux prints warnings instead of enforcing.

    disabled - No SELinux policy is loaded.

    SELINUX=enforcing

    SELINUXTYPE= can take one of these two values:

    targeted - Targeted processes are protected,

    minimum - Modification of targeted policy. Only selected processes are protected.

    mls - Multi Level Security protection.

    SELINUXTYPE=targeted

    把SELINUX=enforcing 值修改成 SELINUX=disabled 然后保存重启服务器即可

实习生 等级规则
5/20
资料完整度
20/100
用户活跃度
0/100

Ta的关注

0

Ta的粉丝

0

Ta的访客

0