CARA MEMATIKAN FIREWALL DAN SELinux (Security-Enhanced Linux) PADA CENTOS 5
- · Jiga ada firewall yang berjalan di lan anda. Anda harus menghentikan iptables dengan perintah sebagai berikut
[root@server]# /etc/rc.d/init.d/iptables stop
Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT: filter [ OK ]
Unloading iptables modules: Removing netfilter NETLINK layer.
[ OK ]
[root@server]# chkconfig iptables off
[root@server]# chkconfig ip6tables off
- · Matikan SELinux jiga anda tidak membutuhkannya..
[root@server]# vi /etc/sysconfig/selinux
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=disabled #ubah dari enable ke desabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
No comments:
Post a Comment