CentOS 7.1 방화벽 내리기 [root@localhost ~]# iptables -LChain INPUT (policy ACCEPT)target prot opt source destinationACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHEDACCEPT all -- anywhere anywhereINPUT_direct all -- anywhere anywhereINPUT_ZONES_SOURCE all -- anywhere anywhereINPUT_ZONES all -- anywhere anywhereACCEPT icmp -- anywhere anywhereREJECT all -- anywhere anywhere reject-with icmp-host-prohibited Cha.. 컴퓨팅/리눅스 유닉스 7년 전
CentOS 7 hostname 변경 # hostnamectl set-hostname myhost# hostnamectl --static set-hostname myhost --static 옵션을 사용하지 않았을 경우, 대소문자가 다르게 출력되는 경우가 있다. 대소문자 구분이 필요한 경우 --static 옵션을 이용하면 된다. 컴퓨팅/리눅스 유닉스 7년 전
CentOS ssh 접속 지연 현상 ssh 접속시 아이디 입력 후 패스워드 입력까지 지연이 발생한다. 아래 부분 수정 후 sshd 재시작하면 해결된다. # vi /etc/ssh/sshd_configGSSAPIAuthentication noUseDNS no # service sshd restart 컴퓨팅/리눅스 유닉스 7년 전