hostname 변경

2015. 9. 2. 10:16IT/Redhat

레드햇 계열에서 가능합니다.(RETHAT EL, CentOS, etc)

1. 명령어를 통한 변경
   hostname New_hostname

   hostname, uname -a 명령어를 통하여 변경된 hostname 확인

2. 파일내용 수정
   vi /etc/sysconfig/network

   HOSTNAME=New_hostname

3. 서버 리부팅
   reboot



방화벽 중지

service iptables stop

- 서버가 시작 될때 iptables 서비스가 시작되지 않도록 중지
  chkconfig iptables off


SELINUX

- sesttus : 상태점검

- /etc/selinux/config


'IT > Redhat' 카테고리의 다른 글

특정 port를 사용하는 Process 확인하기  (0) 2015.09.02
vmstat  (0) 2015.09.02
YUM 설정 - 로컬ISO이미지 활용  (0) 2015.09.02
syslog  (0) 2015.09.02