Birmingham mumbai



Download 15,21 Mb.
Pdf ko'rish
bet334/482
Sana13.01.2022
Hajmi15,21 Mb.
#355107
1   ...   330   331   332   333   334   335   336   337   ...   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)

[
 255 
]
We can also tell that this configuration file pertains to interface 
enp0s3
. Putting it 
all together, this file is telling us that interface 
enp0s3
 is configured to automatically 
obtain an IP address via DHCP. If we'd like to convert this configuration to a static IP 
address instead, we should first back up the file:
sudo cp /etc/netplan/00-installer-config.yaml /etc/netplan/00-
installer-config.yaml.bak
This way, if we make a mistake, we can easily restore the original file by renaming 
the backup file to the original name. This is a good practice to get into, regardless of 
the file we're editing. Being able to restore a previous configuration is a best practice 
for just about any change we might be making. The first change we need to make is 
to remove the following line:
      dhcp4: true
Essentially, to set 
up a static IP we will replace that line with the details specific to 
our configuration. Here's an example of the file, configured for a static IP address:
# This is the network config written by 'subiquity'
network:
  ethernets:
    enp0s3:

Download 15,21 Mb.

Do'stlaringiz bilan baham:
1   ...   330   331   332   333   334   335   336   337   ...   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