반응형
selinux 중지
[root@localhost ~]# setenforce 0
중지 후 vi 편집기로 수정
[root@localhost ~]# 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 - No SELinux policy is loaded.
SELINUX=enforcing →→ disabled
# SELINUXTYPE= can take one of these two values:
# targeted - Targeted processes are protected,
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
반응형
'# IT # > Linux' 카테고리의 다른 글
# linux 7 , Centos 7 , redhat 7 ssh port 변경 # (0) | 2017.10.31 |
---|---|
# linux 퍼미션 정보 / rwx / 리눅스 퍼미션# (0) | 2017.10.12 |
Redhat rpm 파일 다운로드 방법 / rhel rpm download (0) | 2017.09.28 |
CentOS 7 MariaDB 설치 방법 / 마리아db (0) | 2017.09.27 |
linux 7.x basic 설치 시 network 설정 방법 / 리눅스 7.x 베이직 네트워크 (0) | 2017.08.25 |