CentOSLinux How to Set or Change Hostname in CentOS/RHEL 7/8 by Admin September 6, 2021 written by Admin September 6, 2021 Stapes 1: # vi /etc/hostname Stapes 2: press i button Stapes 3: Overtight if existing or type your hostname like kir2.carrothost.com after that press the Esc button and type wq! press Enter 0 comment 0 FacebookTwitterPinterestEmail Admin next post How to install XenServer Tools in Linux You may also like How to delete terminal history in Linux September 6, 2021 How to change CentOS password September 6, 2021 Install a Minecraft Server on CentOS 7 September 6, 2021 Leave a Comment Cancel ReplyYou must be logged in to post a comment.