728x90 🥰STUDY18 IP static으로 고정하기 # vi /etc/sysconfig/network-scripts/ifcfg-ens32 TYPE=Ethernet BOOTPROTO=none NAME=ens32 DEVICE=ens32 ONBOOT=yes IPADDR=172.25.0.156 NETMASK=255.255.255.0 GATEWAY=172.25.0.2 DNS1=8.8.8.8 DNS2=8.8.4.4 #systemctl restart network 2024. 2. 19. ping이 안될 때 systemctl status iptables #enable인지 확인. disabled라면.. 아래와 같이.. sudo systemctl enable --now iptables systemctl status iptables https://blog.naver.com/rpg2003a/221179743333 iptables의 마지막 줄을 보면 들어오거나 나가는 패킷을 모두 버리고 icmp-host-prohibited이란 작업을 한다는 뜻입니다. icmp-host-prohibited는 핑으로 거부되었다는 것을 알리는 것입니다. 이전 포스팅에서 웹서버를 만들때 작업했던 설정을 초기화하겠습니다. iptables -F iptables -L iptables-save reboot Chain INPUT (policy AC.. 2024. 2. 8. 쿠버네티스 pod 강제 삭제하기 kubectl delete pod nginx-pod --grace-period 0 --force 2024. 2. 5. 리눅스_alias 설정하기 # vi ~/.bashrc alias cls='clear' # source ~/.bashrc 2024. 2. 2. 리눅스 시간 변경하기 미국 시간에서 한국 시간(서울)으로 변경 sudo timedatectl set-timezone Asia/Seoul 2024. 1. 31. 이전 1 2 3 4 다음 728x90