Ungachinja sei zita remuchina muLinux kubva kune iyo terminal

Chinja zita remuchina muLinux Chero ani mushandisi akaisa Linux pakombuta yavo anenge aona nhanho yatinosarudza zita redu rekushandisa, password uye zita remakomputa. Nekukanganisa, akawanda maLinux anoparadzira mazita muchina "Username" - "PC-Model", iyo inogona kuturikirwa se "pablinux-Aspire-One-MODEL". Ini pachangu, handisati ndambofarira iro zita uye mune ino nhanho ndinochichinjira kune rimwe. Kana, chero chikonzero, isu tichida chinja zita rechikwata Mushure mekushandisa sisitimu yekuisa, mazhinji ekuparadzira kweLinux haana chero sarudzo dziripo mumasethingi.

Sezvinenge nguva zhinji nezvose zvinenge zviri muLinux, tinogona kuzviita na pakati pekupedzisira. Kusiyana nedzimwe shanduko senge username, chinja zita rechikwata, iro rinozivikanwa se hostname, ndechimwe chinhu chiri nyore uye chakachengeteka zvachose. Uchazongofanira kuita shanduko mbiri dzakakamurwa kuita nhanho dzinoverengeka dzatinotsanangura pazasi.

Kuchinja zita reboka kwakachengeteka zvachose

  1. Chinhu chekutanga chatichaita kuvhura iyo terminal, chimwe chinhu chatinogona kuita nenzira ipfupi Ctrl + Alt + T mune akawanda Linux kugoverwa.
  2. Isu tinosuma unotevera kuraira, uko kwatichafanirwa kushandura «newname» kune iro zita ratiri kuda kushandisa:
sudo hostname nuevonombre
  1. Tevere, tinonyora zvinotevera uye tinyore password yemushandisi wedu:
sudo nano /etc/hosts
  1. Izvo zviri pamusoro zvichavhura mupepeti wedu mauto. Ikoko tinofanirwa kushandura zita rechikwata chedu uye nekuisa nyowani. Tinogona kufamba kuburikidza nemupepeti nemakiyi ekupururudza ePC yedu.
  2. Kana tango shandurwa, tinodzvanya Ctrl + O kuchengetedza uye Pinda kuti usimbise shanduko.
  3. Pakupedzisira, tinobuda neCtrl + X.

Panguva ipi neipi mukuita kwacho tichaona chero shanduko. Kuzviona, zvakanakisa zvatinogona kuita restart terminal, panguva iyoyo tichaona zita remushandisi wedu, chiratidzo uye zita idzva reboka. Ini ndaimboshandisa zita rimwechete nemushandisi, asi hazvina kundigutsa. Iye zvino ndasarudza kuisa iyo vhezheni yeiyo inoshanda sisitimu yandiri kushandisa, mune ino kesi K (ubuntu) 1904. Izvo zvakakosha kutaura kuti kana isu tikaisa iyo poindi, inongogamuchira chete chikamu chekutanga, icho mune uyu muenzaniso chingave "19".

Iine nmcli

Kana nzira iri pamusoro isingashande kwatiri, tinogona zvakare kushandisa rairo nmcli. Nemurairo unotevera tichaona iro zita rizere remidziyo:

nmcli general hostname

Kuti tishandure zita rechikwata, isu tinowedzera zita idzva kumurairo wekare, uyo mumuenzaniso wangu ungaratidzika seizvi:

nmcli general hostname K1904

Ichi chidzidzo chidiki chekuti ungachinja sei zita remuchina muLinux chakakubatsira?


Izvo zviri muchinyorwa zvinoomerera pamisimboti yedu ye tsika dzekunyora. Kuti utaure chikanganiso tinya pano.

Makomendi gumi, siya zvako

Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa.

*

*

  1. Inotarisira data: AB Internet Networks 2008 SL
  2. Chinangwa cheiyo data: Kudzora SPAM, manejimendi manejimendi.
  3. Legitimation: Kubvuma kwako
  4. Kutaurirana kwedata
  5. Dhata yekuchengetedza: Dhatabhesi inobatwa neOccentus Networks (EU)
  6. Kodzero: Panguva ipi neipi iwe unogona kudzora, kupora uye kudzima ruzivo rwako

  1.   Luis akadaro

    sezvazviri zvisingawanzoonekwa: kongiri, inoshanda uye pamusoro pezvose: inoshanda.

  2.   Julian akadaro

    Iyi dzidziso ndiyo yakanakisa, kwete chete iyo yakandidzidzisa maitiro ekushandura zita remubati, asiwo maitiro ekunyora magwaro akajeka, kuburikidza nano raira, ndatenda zvikuru.

  3.   rwizi rwizi akadaro

    Mhoro, ipa ne:

    sudo hostname nyowani zita
    sudo nano / etc / mauto

    Izvi zvakachinja zita rinowoneka mushure me @ mune terminal, asi zita rechikwata rakaramba risina kuchinja. Zvakare, mushure mekutanga kwepc, iyo terminal yaizodzokera kuzita rimwe chete.

    Ipapo ndakaedza na

    nmcli general hostname zita remudunhu

    uye izvi zvakandishandira.
    Ndinokutendai zvikuru.

  4.   Ur akadaro

    Hongu! ! !

    Funca!

  5.   Juan akadaro

    Sarudzo yechipiri yakandishandira
    gracias

  6.   Louis mtz akadaro

    Maitiro ekutanga haana kundishandira, asi yechipiri nzira ine nmcli kana yaindishandira parizvino ndinoshandisa KDE neon uye kana mumwe munhu achida kuziva kuzviita mune iyo distro shandisa yechipiri