My Oracle Support Banner

如何永久性地更改甲骨文基础云(OCI)计算实例的主机名基于Linux (Doc ID 2398656.1)

Last updated on NOVEMBER 14, 2018

适用于:

Linux OS - 版本 Oracle Linux 6.0 和更高版本
Oracle Cloud Infrastructure - 版本 N/A 到 N/A [发行版 1.0]
Linux x86-64 on Oracle Public Cloud

目标

问题:如何永久性地更改甲骨文基础云(OCI)计算实例的主机名

请注意:根据设计,如果不执行下述操作,即使更改/etc/hosts和resolv.conf文件,重启instance后所做改动也不会保留。
 

解决方案

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

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


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