Home
Disable Selinux
  • disable SELINUX

 

Security-Enhanced Linux is active by default while installing Linux. This system which is designed to provide more security in Linux operating systems may give problems with the normal settings to the applications use Internet. It is uncommon that a system administrator to change the settings of SELINUX but used to disable it.

Security-Enhanced Linux is active by default while installing Linux, and if you dont disable it, you may not access to your apache servers. Open the "config" file with the command below:

#vi /etc/selinux/config

Enable edit mode by pressing INSERT or "i": change "SELINUX=enforcing" to "SELINUX=disabled", after that use ESC to leave edit mode and press SHIFT+ZZ to save the file and quit. After that process, SELINUX will be still active till you reboot the machine. To disable immediately, write this command:

#setenforce 0

If you disable SELINUX only for access from outside, you can remove httpd check:

# setsebool -P httpd_disable_trans 1
# service httpd restart

 
VeriTeknik I.T. Solutions Ltd., is a DataCenter company in Turkey.
VeriTeknik Telecom Ltd., is an Internet Service Provider in Turkey.

VeriTeknik I.T. Sloutions Ltd., VeriTeknik Telecom Ltd. 2004 - 2010
Eskişehir Yolu 17.km. Çamlık Park Sitesi 2365. sk. No:7 Bağlıca Ankara Turkey +90.312 234 20 00