호스트명_변경

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
호스트명_변경 [2015/06/04 02:10] zzung호스트명_변경 [2015/06/18 15:49] (현재) – 바깥 편집 127.0.0.1
줄 1: 줄 1:
-<WRAP center info 100%> 
-CentOS 6.6 64bit 환경에서 테스트 되었습니다. 
-</WRAP> 
 ====== RHEL 6 ====== ====== RHEL 6 ======
 ===== Step 1 : 현재 등록된 호스트명 확인 ===== ===== Step 1 : 현재 등록된 호스트명 확인 =====
줄 27: 줄 24:
  
  
 +====== RHEL 7 ======
 +===== Step 1 : 현재 등록된 호스트명 확인 =====
 +<code vim>
 +[root@server ~]# hostnamectl
 +[root@server ~]# hostnamectl 
 +   Static hostname: server
 +         Icon name: computer-vm
 +           Chassis: vm
 +        Machine ID: 1ccb951fbb4644d8813826bcb450f1bb
 +           Boot ID: 962941d25a6c4065a919ace6c0f0c750
 +    Virtualization: vmware
 +  Operating System: CentOS Linux 7 (Core)
 +       CPE OS Name: cpe:/o:centos:centos:7
 +            Kernel: Linux 3.10.0-123.el7.x86_64
 +      Architecture: x86_64
 +
 +[root@server ~]# hostname
 +server
 +</code>
 +
 +===== Step 2 : 호스트명 변경 =====
 +<code vim>
 +[root@server ~]# hostnamectl set-hostname client  // 리붓을 해야 정상적으로 설정된다. 
 +</code>
  
  
  • 호스트명_변경.1433383810.txt.gz
  • 마지막으로 수정됨: 2015/06/18 15:49
  • (바깥 편집)