Study

CentOS(센트오에스) IP(아이피) 관련

메디츠 2024. 1. 22. 03:28
반응형

17년 4월 기준.

 

systemctl stop firewalld

systemctl mask firewalld

 

yum install iptables-services

systemctl enable iptables

 

service iptables save

// firewalld 대신 iptables 사용 관련

 

yum install net-tools

// ifconfig 사용하기 위해 net-tools 설치

 

ip addr show

// centos7 ip확인시 ifconfig 안됨. ip addr show로 확인

 

반응형