Saturday, October 24, 2015

How to Configure hostname in Oracle Linux 7

Set the hostname:

[root@localhost ~]# hostnamectl set-hostname
[root@localhost ~]#

Re-login terminal session:

login as: oracle
oracle@'s password:
Last login: Sat Oct 24 17:44:29 2015 from
[oracle@em12c ~]$ hostnamectl status
   Static hostname:
         Icon name: computer
           Chassis: n/a
        Machine ID: 15d9d5269a7143d5b035b02bf229b005
           Boot ID: 5253a1c387ef488aa662eec3b7d52f39
  Operating System: Oracle Linux Server 7.1
       CPE OS Name: cpe:/o:oracle:linux:7:1
            Kernel: Linux 3.10.0-229.14.1.el7.x86_64
      Architecture: x86_64

No comments:

Post a Comment