My Oracle Support Banner

Oracle Linux 7: How to Change System "hostname" (Doc ID 2312768.1)

Last updated on AUGUST 04, 2018

Applies to:

Linux OS - Version Oracle Linux 7.0 and later
Information in this document applies to any platform.

Goal

The following documentation explains how to change system hostname in Oracle Linux 7 (including Red Hat Enterprise Linux 7).

There are three classes of hostname: static, pretty, and transient.

Static: is the traditional hostname, which can be chosen by the user, and is stored in the /etc/hostname file.
Transient: is a dynamic host name maintained by the kernel. It is initialized to the static host name by default, whose value defaults to “localhost”. It can be changed by DHCP or mDNS at runtime.
Pretty: is a free-form UTF8 host name for presentation to the user. For example: "user's server" 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.