Birmingham mumbai



Download 15,21 Mb.
Pdf ko'rish
bet321/482
Sana13.01.2022
Hajmi15,21 Mb.
#355107
1   ...   317   318   319   320   321   322   323   324   ...   482
Bog'liq
Mastering Ubuntu Server Gain expertise in the art of deploying, configuring, managing, and troubleshooting Ubuntu Server by Jay LaCroix (z-lib.org)

[
 244 
]
Setting the hostname
During installation, you were asked to create a hostname for your server. 
Specifically, the field was labeled 
Your server's name
 during the initial setup 
process. At that time, our goal was to simply get an Ubuntu Server installation set 
up for working through the examples in this book. At this point, you may consider 
changing the hostname of your server. When we utilize OpenSSH to remotely 
manage our servers (as we'll do later on in this chapter) the hostname is shown on 
the command line. That can be very confusing if all servers have the same name. 
More importantly, the hostname of a server gives it an identity. When it comes 
to real production deployments of Ubuntu Server, each individual server should 
have its own designated purpose, and be named accordingly. Often, organizations 
will have their own naming scheme. Perhaps web servers in a company are named 
similar to 
webserver-01
, or with a fully qualified domain name, such as 
server1.
mydomain.com
.
In this book, I won't assume any particular naming scheme, so when we do work 
through changing the hostname, feel free to adjust the name as you see fit. If you 
don't have a naming scheme (but would like to create one) feel free to get creative. 
I've seen quite a few variations, from naming servers after cartoon characters (who 
wouldn't want a server named 
daffy-duck
?), to Greek gods or goddesses. Some 
companies choose to be a bit boring and come up with naming schemes consisting 
of a series of characters separated by hyphens, with codes representing which rack 
the server is in, as well as its purpose. You can create your own naming convention if 
you haven't already, and no matter what you come up with, I won't judge you.
As I mentioned, the hostname of your server is its identity. It identifies your server 
to the rest of the network. While a simple hostname, such as 
ubuntu
, is fine if you 
have just one host, it would get confusing really quickly if you kept the default on 
every Ubuntu Server within your network. Giving each server a descriptive name 
helps you tell them apart from each other. But there's more to a server's name than 
its hostname, which we'll get into in 
Chapter 11

Setting Up Network Services
, when 
we discuss DNS. But for now, we'll work through viewing and configuring the 
hostname, so you'll be ready to make your hostname official with a DNS assignment, 
when we come to it.


Chapter 10

Download 15,21 Mb.

Do'stlaringiz bilan baham:
1   ...   317   318   319   320   321   322   323   324   ...   482




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish