nugawiki

./categories/os

CentOS 초기 설정 체크리스트

업데이트 2026-07-21 조회수

상세 절차: CentOS 초기 설정

네트워크 (ifcfg-eth0)

DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
IPADDR=...
NETMASK=...
GATEWAY=...
DNS1=...
systemctl restart network   # 또는 service network restart

SELinux / firewalld

# /etc/selinux/config → SELINUX=disabled
systemctl stop firewalld && systemctl disable firewalld

SSH / hostname

# /etc/ssh/sshd_config → Port NNNN
systemctl restart sshd
hostnamectl set-hostname NAME   # CentOS7+

로컬 yum ISO / virbr0 / iptables / 시간동기화

→ 개별 페이지: ISO local yum, virbr0 삭제, iptables, 시간·타임존

./comments