본문 바로가기

운영체제

CentOS 7 설치 후 확인 할 것 (UUID , 방화벽, 런레벨)

728x90

UUID ( universally unique identifier)

- 16byte (128bit)

 

- 중앙 관리 시스템이 없는 분산 시스템에서 정보를 유일하게 식별하기 위한 값

( 특히 장치 disk(sda1..), nic(eth0, ens32..) )

 

# blkid (디스크 관련)

# nmcli connection (NIC 관련)

 

 

 

centos 7은 iptables가 기본 방화벽 X

- 기본방화벽 : firewall

 

iptables 설치

# yum -y install iptables-services

 

- 둘다 시작할때 사용안함  

cent6 의 chkconfig 과 같은 기능 

 

enable : 시스템 시작 시 자동 시작 

 

=> disable 로 설정

 

 

runlevel

# vi /etc/inittab

여기서 런레벨 다른 이름을 알 수 있음 

 

런레벨 3

# systemctl set-default multi-user.target 

# init 6 

=> 런레벨 3으로 넘어감(minmal 같은 모드)

 

런레벨 5 

# systemctl set-default graphical-target 

# init 6

=> 런레벨 5로 다시 넘어감 

 

728x90

'운영체제' 카테고리의 다른 글

Linux - NFS (CentOS 7)  (0) 2021.07.08
DNS 정리하기 ,,  (0) 2021.07.07
DNS Linux_메일 서버  (0) 2021.07.06
Linux - DNS 설정  (0) 2021.07.05
dns mail 구축  (0) 2021.07.02