Tag: centos

  • Change hostname on Centos (CLI)

    If you forgot to set the hostname at the installation process, it’s little bit tricky to change it using shell(CLI). This blog post will teach you how to change hostname using command line. Prerequisite1. You have root password/sshkey or sudo user’s password Step 01Check current hostname using hostnamectl. The value display under “Static hostname” is…