Gadziridza yako Ubuntu zvizere nemutemo mumwe chete ne zzUpdate

zZupdate

Kune avo vari vashandisi veUbuntu ivo vanozoziva kuti kugadzirisa kwavo system iri nyore chaizvo, Iwe unongofanirwa kutaipa akati wandei mirairo uye uve neinternet kubatana panguva yekuzviita uye iyo system ichagadzirisa.

Maitiro aya haana kumiririra chero dambudziko kunyangwe kune akanyanya novice. Kune zvekare mamwe maturusi akagadzirirwa kuita basa iri zvinoita kuti izvi zvive nyore kwatiri uye pamusoro pezvose zvinotiponesa nguva yakawanda.

Vakawanda ve avo vedu isu tiri vashandisi veUbuntu uye takaita update nemaoko Tinofanira kuziva kuti pane akateedzana emirairo yatinoita nawo maitiro aya, yatinogona kutsanangudza pazasi:

Kuita iyo cache yekuchenesa:

sudo apt-get clean

Gadziridza yedu runyorwa rwezvinyorwa uye mapakeji

sudo apt-get update

Dhawunirodha uye gadza yazvino package package, kutsamira uye pamwe yazvino kernel.

sudo apt-get dist-upgrade -y

Simudzira kune inotevera Ubuntu vhezheni

sudo do-release-upgrade

Bvisa mapakeji ese akapera uye kuti hadzichadiwi

sudo apt-get autoremove -y

Kuisa imwe neimwe yemirairo iyi pakupera kweiyo yapfuura kunogona kutora nguva, saka haisi iyo iri nyore kwazvo kugadzirisa kakawanda.

Ndokusaka zuva ra ho uye isu tichataura nezve chinyorwa chakanangana nebasa iri kugadzirisa system yedu, script yatiri kutaura nezvayo ndeye zzUpdate.

zzUpdate iri nyore uye inogadziriswa script yekunyatso gadziridza yako Ubuntu kubva pamutsetse wekuraira uye iri basa rekuita rairo yega yega kuti iite yekuvandudza izere yehurongwa hwako pasina kumirira kusimbiswa nhanho inotevera.

Chinoita kuti chinyorwa ichi chinakidze ndechekuti zzUpdate ichagadzirisa Ubuntu kune inotevera inotevera vhezheni kana paine vhezheni yakajairwa, nepo Ubuntu LTS vhezheni ichiedza kungotsvaga inotevera LTS vhezheni uye kwete yazvino Ubuntu vhezheni iripo.

gadziridza-ubuntu

Maitiro ekuisa zzUpdate paUbuntu uye zvigadzirwa?

Si ivo vanoda kuisa iyi script pane yavo masystem Isu tinongofanirwa kuvhura terminal uye nekuita inotevera mirairo. Maitiro acho ari nyore isu tinongofanirwa kuve nechokwadi chekuisa zvimwe zvinotsamira kuitira kusava nazvo.

sudo apt install curl

Kuvimbika kwatove kwakaiswa ikozvino tichaenda kurodha pasi script uye ichaisa git kuitira kusave neyakavimbika yakaiswa mune yedu system

curl -s https://raw.githubusercontent.com/TurboLabIt/zzupdate/master/setup.sh | sudo sh

Kana vachinge vaibudirira kuiisa, ikozvino isu tinofanirwa kugadzirisa yedu yekumisikidza faira, asi kutanga isu tinofanirwa kuigadzira ne:

sudo cp /usr/local/turbolab.it/zzupdate/zzupdate.default.conf /etc/turbolab.it/zzupdate.conf

Faira Iyo ine gadziriso inogona kunzi inokurudzirwa, asi isu tinokwanisa kuigadzirisa kune zvatinoda nazvo.

Isu tinogadzirisa ne:

sudo nano /etc/turbolab.it/zzupdate.conf

Kwatinozoona chimwe chinhu chakadai, uko 1 ndiuye uye 0 ari kwete:

REBOOT = 1

REBOOT_TIMEOUT = 15

VERSION_UPGRADE = 1

VERSION_UPGRADE_SILENT = 0

COMPOSER_UPGRADE = 1

SWITCH_PROMPT_TO_NORMAL = 0
  • Iko iko kwekutanga sarudzo Isu tinoratidza kana isu tichida kutangazve kana kwete pakupera kwesisitimu yekuvandudza, Inoteverwa nenguva yekuvhara kuita restart.
  • Mune yekusimudzira vhezheni sarudzo, yekutanga, kuitira kuisa 1, ichagadzirisa kune yeUbuntu vhezheni kana iri mu1, VERSION_UPGRADE_SILENT ichaita iyo yekuvandudza pasina kubvunza chero chinhu kana kuzivisa mushandisi nezvazvo.
  • Sarudzo dzekupedzisira kuitira kuti uve 1 dzinoisa Muumbi uye dzigadzirise zvinogoneka uye yekupedzisira sarudzo inogadzira iyo Prompt = yakajairwa paramende mu / etc / update-maneja / kuburitsa-inokwidziridza faira. Izvi zvinobvumidza Yakareba Rutsigiro (LTS) kumisikidzwa kusimudzira kune yazvino isiri-LTS vhezheni inowanikwa

Yakatogadzirirwa kune zvatinoda tinogona kuita zzupdate kugadzirisa yedu system pese patinochida, kune izvi isu tinongonyora mune in terminal:

sudo zzupdate

Paunenge uchinge watangisa, zzupdate ichagadzirisa iyo script otomatiki kuburikidza git kutanga pane zvese, ipapo ichagadzirisa ruzivo rwemapakeji aripo, inokumbira iwe kudzima yechitatu-bato repositori, kugadzirisa mapasuru pazvinenge zvichidikanwa, uye tarisa itsva Ubuntu vhezheni.


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. Raida minda anozivikanwa ne *

*

*

  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.   nevi akadaro

    Izvo zvinoita zvakare kuita mirairo zvakateerana (command1; command2; command3) kana mamiriro (command1 && command2 && command3) kudzivirira kumirira kupedzwa kwemumwe murairo kuti uite imwe; Iko mune idzi kesi apo iyo -y sarudzo ine musoro.

  2.   Jose Juan akadaro

    Iwo script akanaka, asi kuuisa iwo nemabasa aya kunoita kuti ndisave nekuchengetedzeka sezvo ichizvivandudza pachayo uye musimudziri anogona kuchinja kodhi kune yakaipa, kunyangwe iri paGitHub. Chokwadi chaisavimba ZaneCEO.

    Ichi chikamu chekodhi yako (setup.sh) uye inogona kubviswa kana zvichidikanwa:

    ## Isa / gadziridza
    wakanda kunze ""
    kana [! -d "$ INSTALL_DIR"]; ipapo
    echo "Kuisa ..."
    ndokurasa "-----"
    mkdir -p "$ INSTALL_DIR_PARENT"
    cd "$ INSTALL_DIR_PARENT"
    git clone https://github.com/TurboLabIt/${SCRIPT_NAME} .git
    mumwe
    echo "Kugadziridza ..."
    vakanda "----"
    fi