•  Home
  •  Dashboard
  •  Company
    • About Us
    • Blog
    • Careers
    • Contact Us
    • Data Centers
    • Looking Glass
    • Network
    • Reseller
  •  Hosting Services
    • Infrastructure
      • iColocation
    • Compute
      • cMetal
      • cVirtual
    • Storage
      • sObject
      • sBlock
    • Networking
      • nCDN
      • nIP Transit
      • nWavelength
    • Protection
      • pBackup
      • pDDoS
  •  Solutions
    • Ecommerce
    • Finance
    • Gaming
    • Hosting
    • Management
    • Security
    • System Integrator
  •  Support
    • Community
    • Knowledge Base
    • Open A Ticket
  •  USA & Canada: 800-933-1517
  •  International: 626-549-2801
  •  Email: sales@psychz.net
  • Services
    • new-colocation-header-img
      Infrastructure
      • iColocation
    • new-compute-header-img
      Compute
      • cMetal
      • cVirtual
    • new-storage-header-img
      Storage
      • sObject
      • sBlock
    • new-networking-header-img
      Networking
      • nCDN
      • nIP Transit
      • nWavelength
    • new-protection-header-img
      Protection
      • pBackup
      • pDDoS
  • Solutions
    • Ecommerce
    • Security
    • Gaming
    • Hosting
    • Management
    • Finance
    • System Integrator
  • Dashboard

如何禁用SELinux的?

  • Home
  • Client
  • Qa Forum
  • 如何禁用SELinux的?

Posted By: Test | 1 Replies | Last Reply On: Sep 23, 2015 14:18:53

selinux

如何禁用SELinux的?

Psychz - Luis

Votes: 0Posted On: Sep 23, 2015 14:18:53
 

安全,提升是一个Linux内核安全模块,提供访问控制策略,以Linux应用程序。 SELinux的可能是一个问题的应用程序,如果它不是正确配置,例如Apache的页面可以显示403禁地,SSH根/用户登录将继续拒绝登录,MySQL连接被丢弃,JAVA断开连接,玩家的Minecraft将下降。可以引起故障排除TME小时的问题很多,我不建议禁用SELinux的,但鼓励用户了解如何使用它,但没有多少人想学的东西,他们不会被管理锁具,因此禁用了SELinux是比较容易的事情。

1.检查SELinux的是让你的本地Linux机器上。

 [root@lb ~]# sestatus -v 
SELinux status: enabled SELinuxfs mount: /selinux Current mode: permissive Mode from config file: enforcing Policy version: 21 Policy from config file: targeted



2. 禁用了SELinux无需重启
[root@x ~]# setenforce 0
setenforce: SELinux is disabled



3. 手动禁用SELinux,以防止它areboot后重新启用。
vi or nano /etc/selinux/config change SELINUX=enforcing to SELINUX=disabled ,保存更改。




Was this reply helpful?

Related topics

  • 顶部神话关于Linux安全
  • 基本和有用的Linux命令
  • sObject - Delete
  • Unmetered Bandwidth Servers
  • Theft of Cryptocurrency of MyEtherWallet users by BGP Hijack
  • The Role of Dedicated Servers in Disaster Recovery and Business Continuity.
  • Intro to Header Override
  • How to setup a Dedicated server for Risk of Rain 2
  • How to check RAM for error using Ubuntu Live CD?
  • How To Start A Server Business?
  • Hotlink Protection
  • Full Rack In Ashburn
  • Dedicated Server for VPS Node
  • Colocation with gigabit burstable port and A+B power
  • COVID-19's Impact On Network And Compute Hardware
Copyright © 2025 Psychz Networks,
A Profuse Solutions Inc Company
Hosting Services
Infrastructure
  • iColocation
Compute
  • cMetal
  • cVirtual
Storage
  • sObject
  • sBlock
Networking
  • nCDN
  • nIP Transit
  • nWavelength
Protection
  • pBackup
  • pDDoS
Company
  • About Us
  • Blog
  • Careers
  • Contact Us
  • Data Centers
  • Looking Glass
  • Network
  • Reseller
Policies
  • Acceptable Usage Policy
  • Privacy Policy
  • Service Level Agreement
  • Terms and Conditions
Support
  • Community
  • Knowledge Base
  • Open A Ticket
Get In Touch
  • Psychz Networks,
    A Profuse Solutions Company
    611 Wilshire Blvd #300
    Los Angeles,California 90017
    USA
  • US/Canada: 800-933-1517
  • International: 626-549-2801