How to change the hostname for an OCI Compute Instance

Following are the steps that I followed to change the hostname of one OCI Compute Instance for one of my clients. Note that the operating system for this instance is Oracle Linux: 1. Use the hostnamectl utility to change the hostname hostnamectl set-hostname new_hostname 2. Update the /etc/hosts file with the new name [root@infodqmdm001 ~]# … Continue reading How to change the hostname for an OCI Compute Instance

OCI Compute Instance Hostname keeps changing after reboot

I created an OCI compute Linux Instance with hostname = hostname_1. After a while, and based on the client request, I changed the above virtual machine hostname to be hostname_2.Client used this machine for a while, and then reboot it for some reason, but surprisingly, he found that the compute Instance hostname changed back to … Continue reading OCI Compute Instance Hostname keeps changing after reboot

How to change an Oracle OCI Compute Instance Name and Host Name?

There is an Oracle OCI compute instance (with Oracle Linux 8 as operating system). There is a request from a customer to change both the compute instance name and its hostname.Here are the steps to do that. Change the Compute Instance Name: This is very simple. Just navigate to the compute instance: Navigation Menu ==> … Continue reading How to change an Oracle OCI Compute Instance Name and Host Name?