For When You Can't Have The Real Thing
[ start | index | login ]
start > CentOS > 7 > hostname

hostname

Created by dave. Last edited by dave, one year and 140 days ago. Viewed 650 times. #3
[diff] [history] [edit] [rdf]
labels
attachments
(2016-11-21)

Problem

Setting the computer's hostname hasn't changed for the last 20 years or so. This is a boring state of affairs, we need some different, unintuitive way of setting it, ideally hopelessly integrated into systemd somehow.

Solution

# hostnamectl set-hostname $HOSTNAME
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt