How do you come up with your naming scheme for Linux hostnames?
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I usually name servers by their OS, so we have ESXi01, ESXi02, etc. Or at least what version the OS is, like WS2012. If AD is needed we use the Official work names. Like building, room location, department, rack, and item designator. eg: NY_OFC115_S01.example.com
I was told by a (dr. at Unisys, unix) ages ago not to use /home/foo in any of my config or scripts. This helped me greatly later (ie, Apple iMac uses /Users/foo)
I was also told be careful choosing user names and was lax thinking "I'd get around to it", but never did. I was very tedious searching and replacing (awk) to fix it up.
It turns out you want UNIQ names within the space of files you would need to do any "search and replace" to make that perfectly easy.
Don't use directory names (/usr/local/apache) use $APACHE_LOC and such, user names shouldn't by *anywhere* but in /etc/passwords (they will hit on author lists - ughg).
Even knowing that for years I still ended up with hours of work when the time came: I needed to change all my particulars. Not too bad but it'd be one less job had I been more vigilant.
Finally: apple iMac is centralized (something like xrdb(1) ) so that changing user name or host name is effortless - which is totally cool (but requires allot more than usual old style linux scripting to start with - ie in linux, having X running for xrdb, or some other db running)
My oldest sister's name begins with an "L". I name the hardware machines with a 4-character tag, always beginning with "L": lost, lapp, leap, lieu, etc. Virtual machine domain names follow the OS/distribution they host: vm-centos, vm-fedora, vm-freebsd, vm-jessie, vm-solaris, etc. The VBox tag often includes the rev, etc., e.g.: vm-fedora-23-gnome, etc.
I usually customize the /etc/issue or equivalent to be able to produce very brief uptime statistics (see below).
On the other hand, our cats are named after characters from Moby Dick: Flask, Stubb, Starbuck, Fleece, Tash & Tego (from Tashtego), Pip, Billy (Captain Bildad), Boomer (Captain Boomer), Gabriel, Dolly (Fedallah), etc.
Best wishes ... cheers, makyo
Code:
# Uptimes for available machines 2016.10.05:
up 145 days 4 users: CentOS 6.4 (Final)
up 146 days 9 users: Debian 8.4 (jessie, vm-server-ng)
up 181 days 3 users: Debian 6.0 (squeeze, backups)
up 669 days 0 users: Debian 5.0 (lenny, vm-server)
up 7 days 32 users: Debian 8.6 (jessie)
up 118 days 2 users: Fedora 23 (Workstation)
up 30 days 3 users: Mac OS X 10.5.8 (leopard, workstation)
up 56 days 4 users: Mint 17.1 Rebecca
up 145 days 8 users: openSUSE 13.2 (ext4, "Harlequin")
up 145 days 4 users: Slackware 14.1
up 145 days 1 users: Solaris 11.3 X86
up 110 days 5 users: Ubuntu 14.04.2 (KDE, Trusty Tahr)
I dont recycle names so if I reinstall with a different distro or new hardware it gets a new name.
I used to use names of the planets pluto etc but I ran out of names now I use famous philosophers. Right now Im typing this on my laptop Nietzsche(Fedora24) (which can triple boot as Heidegger(Mint) or Voltaire(Win10)).
At our institute we started back in the 90's http://sax.iasf-milano.inaf.it/Oldsi...s/history.html when we got our first (Unix) Sun workstation acting as shared facility. Being it the Sun we called it helios. When we started adding more workstations, we used the planet names in greek, assuming we'd never have more than 9 workstations so aphrodite ares zeus .... The scheme failed quite soon ... but we sort-of sticked to something similar. Our first Sun with Solaris OS was solaria, a good asimovian planet name. An NT server was krypton (and the X-terminals attached to it were argon, xenon etc. ). When we doubled our server into one for internal services (dns, nis, still helios, fifth of the name), and one for outward services (www, mx ...) the latter one was called oort, thinking of the Oort cloud (but there is a local double meaning).
When we moved from Unix to Linux we had some discussion about a new naming scheme (the Peanuts, the Langobard kings, ...) but at the end we continued with the old names ... I've lost the generations of helios and oort, but my Linux HP workstation is poseidon V
I'm so original. My first computer was called home, to differentiate from my one at work. The next one became home2, and then home3 and home4. The original home went to recycling, and home2 is on the diagnostics bench; home3 is my backup server and home4 is now my primary computer.
My machine we linux boxes, so I call them "box"
with a suitable prefix. e.g. "blackbox" (that was
its colour) died on me 6 months ago and was
replaced by "tuxbox". Simple as that
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Rep:
The last company I worked for about 12 years named servers for astronomical bodes; the main server was sol, my Sun Solaris work station was ara, Ara (Latin: "The Altar") is a southern constellation situated between Scorpius and Triangulum Australe. Ara (Greek: Βωμός) was one of the 48 Greek constellations described by the 2nd century astronomer Ptolemy, and it remains one of the 88 modern constellations defined by the International Astronomical Union. (Wikipedia).
Golly. I did not name it, the admins did.
I was Unix sysadmin at a company before that used Warner Brothers cartoon character names; e.g., bugs, daffy and so on.
Both of those outfits use the first character of your given name plus the first four letters of your surname for your account (mine was trona, still use that on all my servers).
I started off using real and fictitious names of tyrants e.g. Vlad, Ghengis but for some reason my latest addition to the home network is called Ludwig - I have absolutely no idea where that came from.
I use scientists (physicists) who deserved the Nobel prize, but did not get it.
bose, meitner, vonneumann, majorana, gamow, cswu, bogoliubov, cabibbo
It was initiated the week Cabibbo died shortly after he was passed over the Nobel when Kobayashi and Maskawa (of Cabibbo-Kobayashi-Maskawa matrix fame) got it. They should be dead, but there are two guys (Dyson and Aharonov) who are still alive, in breach of our policy. There is still a long list to take from (hubble would be next).
At a past workplace we used curries (madras, vindaloo, biryani, korma etc).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.