Disable iptables?
Hi!
I have CentOS in textual mode. Through the installation process I have checked the "firewall enabled" field, but now I want to disable it. Does anyone know how to disable firewall (iptables) in textual mode? Thank you! |
As root, type this:
Code:
service iptables stop Code:
/etc/init.d/iptables stop |
if in case u got the SeLinux enabled u can disable it using :
#setenforce 0 Then edit the /etc/sysconfig/selinux file and disable selinux permanent. |
To disable SELinux completely, you need to disable it in the kernel by passing "selinux=0" to the kernel in the GRUB configuration.
|
apache "DocumentRoot must be a directory"
this is what I had to do to get apache to be able to use a NFS mount as DocumentRoot. I edited the /etc/sysconfig/selinx file and disabled selinux and rebooted. It now works fine.
|
All times are GMT -5. The time now is 03:11 AM. |