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