•  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
 

การรักษาความปลอดภัยเพิ่มเป็นโมดูลรักษาความปลอดภัยลินุกซ์ที่ให้นโยบายการควบคุมการเข้าถึงการใช้งานลินุกซ์ SELinux อาจจะมีปัญหากับการใช้งานถ้าไม่ได้ถูกกำหนดค่าสำหรับหน้าเว็บเช่น Apache สามารถแสดงที่ต้องห้าม 403, SSH เข้าสู่ระบบราก / ผู้ใช้จะช่วยให้การปฏิเสธที่จะเข้าสู่ระบบการเชื่อมต่อ MySQL จะถูกลดลง, การเชื่อมต่อ Java, เล่น Minecraft จะลดลง ปัญหามากมายที่สามารถทำให้เกิดชั่วโมงของการแก้ไขปัญหา TME, ผมไม่แนะนำให้ปิดการใช้งาน SELinux แต่ขอแนะนำให้ผู้ใช้สามารถเรียนรู้วิธีการใช้ แต่หลายคนไม่ต้องการที่จะเรียนรู้สิ่งที่พวกเขาเคยชินจะจัดการ Everday เพื่อปิดการใช้งาน SELinux เป็นเรื่องง่ายที่จะทำ

1. ตรวจสอบว่าเป็น SELinux เปิดใช้งานบนเครื่องลินุกซ์ในประเทศของคุณ

 [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

  • How to disable selinux on Almalinux?
  • Disable Selinux Centos 7
  • Upgrade Centos 6 to Centos 7
  • Red Hat: Not just about Linux anymore!
  • แหล่งที่มาด้านบนที่จะช่วยให้คุณเรียนรู้ลินุกซ์
  • ซอฟแวร์การบริหารจัดการโครงการด้านบน
  • SaaS, PaaS and IaaS: An Overview
  • NVMe Dedicated Server
  • Location
  • Launch of New Data Center In Sao Paulo, Brazil
  • How to setup a dedicated server for Minecraft Bedrock
  • How to find SSH Key
  • How To Secure cPanel?
  • E3 1230 Dedicated Server
  • Cloud Hosting Chicago
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