Init: Difference between revisions

From ICO wiki
Jump to navigationJump to search
Vkolesni (talk | contribs)
Vkolesni (talk | contribs)
Line 185: Line 185:
*http://upstart.ubuntu.com/faq.html
*http://upstart.ubuntu.com/faq.html
*http://www.comptechdoc.org/os/linux/startupman/linux_suinit.html
*http://www.comptechdoc.org/os/linux/startupman/linux_suinit.html
*http://ru.wikipedia.org/wiki/%D0%9F%D1%80%D0%BE%D1%86%D0%B5%D1%81%D1%81_%D0%B7%D0%B0%D0%B3%D1%80%D1%83%D0%B7%D0%BA%D0%B8_Linux


== Video näided ==  
== Video näided ==  

Revision as of 22:39, 14 April 2011

Artikli autor ja logi

Nimi: Vladimir Kolesnik
Grupp: A22
Viimati muudetud: 14.04.2011

Versioon Lisatud   Kommentaar
0.1 5.04.2011     Artikli loomine
0.2 14.04.2011     Sissejuhatus, lingid, sisu, tabelid
test date2     Artikli täiendamine
test date3     Valmis

Sissejuhatus

Antud artiklis ma ... Milleks see on vajalik ja kasulik on.. Jagasin kaheks osaks. Esimeses osas hakkan rohkem räägima teooriast: mõistetest... Teises osas juba liikun praktika...

Teorootiline osa

Üldine ülevaate

Init (ehk initialization) on rakendus mõelnud UNIX süsteemidele mis käivitab kõike teiste protsessi. Igal UNIX operatsioonsüsteemis init konfig on natukene teistsugune, aga üldiselt võib öelda, et tegu on runlevel-itega. Igal runlevel-il on oma PID, ehk number mis vastutab kuidas käivitatakse operatsioonsüsteemi.

Erinevates Linuxi derivatiivides on sisseehitatud oma rakendus, kuidas init-i funktsioonlsust rakendatatakse. Enamus Linuxi distrod kasutavad System V. Ubuntul on selle jaoks mõelnud Upstart.

Init erinevates UNIXi süsteemides

Ubuntu

Distro: Ubuntu pärast 6.10

Selgitus Runlevel number
test 1
test 2
test 3
test 4
test 5
test 5

Red Hat Linux / Fedora Core (version)

Distro: Fedora 14 Desktop Edition

Selgitus Runlevel number
test 1
test 2
test 3
test 4
test 5
test 5

SUSE Linux

Distro: Open SUSE

Selgitus Runlevel number
test 1
test 2
test 3
test 4
test 5
test 5

Init alternatiivid

Various efforts have been made to replace the traditional init daemons with something better. Below is a list of these alternatives in no particular order.

SystemStarter

a process spawner started by the BSD-style init in Mac OS X prior to Mac OS X v10.4

launchd

a replacement for init introduced in Mac OS X v10.4 (it launches SystemStarter to run old-style 'rc.local' and SystemStarter processes)

Initng

a full replacement of init designed to start processes asynchronously

Upstart

a full replacement of init designed to start processes asynchronously initiated by Ubuntu

=== Service Management Facility === a complete full replacement/redesign of init from the ground up in Solaris starting with Solaris 10

runit

a cross-platform full replacement for init with parallel starting of services

BootScripts

in GoboLinux

DEMONS

a modification of the init start process by KahelOS, where daemons are started only when the DE (desktop environment) started.

Mudur

an init replacement written in Python and designed to start process asynchronously in use by the Pardus Linux distribution.

Vähem tuntud alternatiivid

Siin on alltootud veel igasuguseid init... Kui tunnete huvi vastu, võite uurida...

eINIT, a full replacement of init designed to start processes asynchronously, but with the potential of doing it without shell-scripts svscan from daemontools used as process 1 - seems to be superseded by runit cinit twsinit, partly written in x86 assembler, more a proof of concept minit ninit OpenRC systemd, a replacement for init with parallel starting of services, initiated by Red Hat.

Init-i rakendamine praktikas

info... blablabla

Ubuntu

Fedora

OpenSUSE

Kasutatud materjaalid

Veebipõhised allikad

Video näided