Ukuphatha izinsizakalo eziqala kukhompyutha yethu nge-rcconf

Ukwenza lula uhlelo lwethu kufanele sikhubaze imiphumela yezithombe, sisuse izinhlelo zokusebenza eziqala nezinye izinto eziqondene nendawo ngayinye, noma kunjalo, noma ngabe kusetshenziswa imvelo yedeskithophu, noma ngabe awufuni ukukhanyisa uhlelo ... umkhuba omuhle wokukhulisa izinsizakalo eziqala ngokuzenzekelayo kukhompyutha yethu.

Izicelo zokunika amandla (noma cha) izinsizakalo zohlelo lwethu ngokuzenzakalela ziningi, ngizokhuluma ngazo ikakhulukazi ikakhulukazi ukuze kube lula futhi kube lula ukusetshenziswa, ibizwa ngokuthi: nxibhabhe

Ukuyifaka mane ufake iphakheji rcconf (apt-get install rcconf ... pacman -S rcconf, njll ;)), bese beyisebenzisa (ngamalungelo ezimpande) futhi bazobona into enjengale:

Bayisebenzisa kahle besebenzisa iSudo:

sudo rcconf

Noma-ke, uma usuvele ungene ngemvume njengempande, uzokwazi ukuthi wenzeni ngaleso sikhathi 🙂

Noma kunjalo, uma beyisebenzisa, okuthile okufana nalokhu engikukhombisa khona ngenhla kuzovela, umugqa ngamunye uyinsizakalo lokho okungenzeka noma kungalungiselelwe ukuqala ngokuzenzekelayo ngekhompyutha, manje ngizochaza ngokuningiliziwe ukuthi ungasebenza kanjani nxibhabhe:

- I-Las imicibisholo yokuqondisa ikhibhodi emile (phezulu nangaphansi) izokusiza ukuthi uhambe phakathi kolayini.
- Nge ukhiye wesikhala kukhibhodi ungafaka noma ususe leyo asterisk oyibona ekuqaleni kolayini abaningana.

- Lokho i-asterisk kusho ukuthi insizakalo yalolo layini izoqala ngokuzenzekelayo ngekhompyutha. Isibonelo, esithombeni sikubona lokho sudo kumakwe nge-asterisk, lokhu kusho ukuthi kuzoqala ngokuzenzakalela lapho ngiqala ikhompyutha yami, ngenkathi mysql ayikhethiwe ngakho-ke ngeke iqale ngokuzenzakalela.

- Lapho nje beqeda ukwengeza nokususa ama-asterisk, ngokucindezela inkinobho ye-Tab ([Ithebhu]) angaya kokukhethwa kukho ukwamukela y khanselaNgokusobala uma sizibeka ku-Yamukela bese ucindezela u- [Enter] izinguquko zethu zizolondolozwa.

Uma konke lokhu sekwenziwe, ngokuzayo lapho siqala ikhompyutha, yizinsizakalo esizishiye zimakwe nge-asterisk isikhashana esedlule ezizoqala 😉

Kodwa-ke, uma ungafuni ukulinda futhi kufanele uqale kabusha uhlelo, uma usebenzisa nxibhabhe ngepharamitha --now ushintsho abalwenzayo luzosebenza ngokushesha, okungukuthi, ngaleli pharamitha uma bekhubaza insiza lapho bevala i-rcconf leyo sevisi izomiswa.

Angiqedile okwamanje… for… ngezihibe eziningi kakhulu, anepharamitha etholakalayo --expert, okufana nokuthi igama layo likhombisa imodi yochwepheshe be-rrconf, bheka kepha QAPHELA ukuthi ungabhubhisi uhlelo lwakho 😉

Noma kunjalo, ngiyethemba kube usizo kuwe.

Phendula ngokucaphuna


Okuqukethwe yi-athikili kunamathela ezimisweni zethu ze izimiso zokuhlelela. Ukubika iphutha chofoza lapha.

Amazwana ayi-17, shiya okwakho

Shiya umbono wakho

Ikheli lakho le ngeke ishicilelwe. Ezidingekayo ibhalwe nge *

*

*

  1. Ubhekele imininingwane: Miguel Ángel Gatón
  2. Inhloso yedatha: Lawula Ugaxekile, ukuphathwa kwamazwana.
  3. Ukusemthethweni: Imvume yakho
  4. Ukuxhumana kwemininingwane: Imininingwane ngeke idluliselwe kubantu besithathu ngaphandle kwesibopho esisemthethweni.
  5. Isitoreji sedatha: Idatabase ebanjwe yi-Occentus Networks (EU)
  6. Amalungelo: Nganoma yisiphi isikhathi ungakhawulela, uthole futhi ususe imininingwane yakho.

  1.   U-Ernesto Infante kusho

    Isebenziseka kakhulu, empeleni ngelinye ilanga bengizihambela njengohlanya ngizama ukukhumbula i-rcconf ..

    ukufaneleka ukufaka i-sysv-rc-conf

    1.    KZKG ^ Gaara kusho

      Yebo, empeleni i-sysv-rc ikuvumela ukuthi usebenze nama-runlevels ngawodwana, okuthile okuwusizo kakhulu lapho udinga ukuthola izinqubo (amademoni) kunama-runlevel ahlukile specific

      I-Gracias por tu comentario

      1.    Hugo kusho

        Yebo, nami ngiyayisebenzisa leyo, ngiyithola isebenza kakhulu. Yize njengamanje nge-systemd ama-runlevels engasasebenzi

  2.   U-Ernesto Infante kusho

    Ah enye into ... kuyalulekwa ngemuva kokufaka i-rcconf ukwenza

    buyekeza-rcconf-umhlahlandlela

  3.   umagazine kusho

    Valee, ngiyabonga ngokwabelana ngayo ndoda!

    Ukubingelela!

  4.   Marcelo kusho

    "I-Rcconf idinga ingxoxo noma i-whiptail"

    Uma uthola lelo phutha, yenza Sudo ln -s / bin / whiptail / usr / bin / whiptail bese ungaliqhuba kahle 🙂

    1.    KZKG ^ Gaara kusho

      Ngafaka ibhokisi futhi liyangisebenzela, kepha ngiyabonga ngethiphu yakho.

  5.   F3niX kusho

    Kwi-chakra repo akuyona: / noma ku-ccr noma.

    1.    pvv92 kusho

      I-Chakra isebenzisa uhlelo d, ngicabanga ukuthi yingakho!

  6.   Hetare kusho

    noma yiliphi ithuluzi elifanayo le-fedora ?? i-rcconf ayikho kuma-repos, futhi i-sysv-rc-conf

  7.   UCarlos andres kusho

    Futhi kuyasebenza ukususa izimvume zokwenza umsebenzi kusuka ku-chmod-x ku-init.d

  8.   kassiusk1 kusho

    Umnikelo omuhle 😀

  9.   Umhambi kusho

    Ngibonga kakhulu ngomnikelo

  10.   py_crash kusho

    I-Arch Linux ayisekeli eminye imibhalo yokubhala ukuze iphakethe lingasebenzi 😛

  11.   F3niX kusho

    Uhlelo lokusebenza olufana nalolu alukho kuma-distros ane-systemd

  12.   I-N3to kusho

    Sawubona, ifaka kahle, kepha lapho ngifaka insizakalo engifuna ukuqala ngayo ngohlelo bese ngifaka kabusha i-rcconf, insiza ebengiyimakile ayisekho lapho. Ngifuna ukuqala i-lampp njenge-daemon ku-debian. nakhu engikwenzile mayelana nefayela:

    1. Dala ifayela elibizwa nge-lampp bese uligcina ku- /etc/init.d

    Isinyathelo2: Kuhlala kuphela ukwengeza insizakalo entsha
    buyekeza-rc.d -f lampp okuzenzakalelayo
    ku / opt / lampp / htdocs kulapho ugcina khona amaphrojekthi
    iskripthi esivela kufayela le-lampp

    #! / bin / bash
    #
    ### QALA INIT INFO
    # Inikeza: apache2 httpd2 xampp
    # Okudingekayo-Qala: $ local_fs $ remote_fs $ network
    # Okudingekayo-Misa: $ local_fs $ remote_fs $ network
    # Okuzenzakalelayo-Qala: 3 5
    # Okuzenzakalelayo-Stop: 0 1 2 6
    # Incazelo emfushane: XAMPP
    # Incazelo: Iqala futhi iyeke ukwenza ngezifiso-XAMPP
    ### END INIT INFO

    icala $ 1 ku
    "Qala")
    insiza mysql stop
    / opt / lampp / lampp isiqalo sokuqala%
    / khetha / isibani se-lampp / isibani sokuqala se-lampp%
    insiza mysql stop
    ;;
    "Ima")
    / opt / lampp / isibani sokuma
    ;;
    "Qala kabusha")
    / opt / lampp / isibani sokuma
    ukulala 4
    / opt / lampp / lampp isiqalo sokuqala%
    / khetha / isibani se-lampp / isibani sokuqala se-lampp%
    ;;
    ukuthi uC

  13.   nxumalo kusho

    Ngithola le "rcconf idinga ingxoxo noma i-whiptail" lapho ngifaka "Sudo rcconf" ??