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 ,保存更改。