Cov txheej txheem:

Nws nyob qhov twg hauv Linux?
Nws nyob qhov twg hauv Linux?

Video: Nws nyob qhov twg hauv Linux?

Video: Nws nyob qhov twg hauv Linux?
Video: tos koj hauv nruab dab - nuj xeem - nkauj tawm tshiab fullMV 2021 2024, Plaub Hlis Ntuj
Anonim

ib init yog pib ncaj qha los ntawm cov ntsiav thiab resists teeb liab 9, uas feem ntau tua cov txheej txheem. Tag nrho lwm cov kev pab cuam yog pib ncaj qha los ntawm ib init los yog los ntawm ib qho ntawm nws cov txheej txheem me nyuam. ib init yog lub hauv paus teeb tsa hauv cov ntaub ntawv /etc/inittab qhov twg cov kev khiav haujlwm tau txhais (saib Tshooj 13.2. 1, "Runlevels").

Ntxiv mus, dab tsi yog init file hauv Linux?

ib init . Nws yog thawj txheej txheem ua tiav los ntawm cov ntsiav thaum lub sij hawm booting ntawm ib qho system. Nws yog cov txheej txheem daemon uas khiav mus txog thaum lub kaw lus kaw. Tias yog vim li cas, nws yog leej niam ntawm tag nrho cov txheej txheem. Los ntawm kev nyeem qhov no ntaub ntawv , ib init txiav txim siab seb lub kaw lus yuav tsum tau teeb tsa li cas hauv txhua qhov kev khiav haujlwm thiab teeb tsa qhov kev ua haujlwm tsis raug.

Kuj Paub, dab tsi yog txheej txheem init hauv Unix? Hauv Unix -raws li computer operating systems, ib init (luv rau pib ) yog thawj txheej txheem pib thaum booting ntawm lub computer system. Init yog daemon txheej txheem uas txuas ntxiv mus txog thaum lub kaw lus kaw.

Tom qab ntawd, lo lus nug yog, siv init hais kom ua li cas hauv Linux?

Khiav Level Commands:

  1. shutdown: init 0. shutdown -h tam sim no. -a: Siv cov ntaub ntawv /etc/shutdown.allow. -c: Ncua tseg lub sijhawm kaw. nres -p. -p: Tua lub hwj chim tom qab kaw. fais fab tuag.
  2. Reboot: init 6. shutdown -r tam sim no. rov pib dua.
  3. Nkag mus rau ib tus neeg siv hom: init 1.
  4. Xyuas tam sim no runlevel: runlevel.

Lub hom phiaj ntawm qhov txheej txheem init yog dab tsi?

Txheej txheem tswj pib

Pom zoo: