I-Prelink (noma ungayenza kanjani i-KDE boot ngemizuzwana emi-3)

Isiqalo sokuqala uhlelo olusetshenziswayo ukwenza izinhlelo zivuleke ngokushesha. Yize incazelo yokuthi ingayifanele kanjani i-athikili ephelele, singasho ngendlela enokhahlo ukuthi itshela kanambambili ukuthi iqale ibheke kuphi imitapo yolwazi enamandla edinga ukuyilayisha.

Ngakho-ke, ake sicabange ukuthi sine-kanambambili encike kumtapo wezincwadi we-QtCore, uma sesenze i-prelink kuyo, izosesha kuqala esikhaleni esinqunyelwe i-prelink, futhi uma ingayitholi (isibuyekezo, se isibonelo) izoyifuna ngendlela yendabuko.

I-Prelink isebenza kunoma yiluphi uhlelo oluhambisana ne-POSIX, njenge-GNU / linux noma ama-BSD.

Ungasifaka kanjani isicelo se-prelink

Ukuthuthukisa uhlelo nge-prelink kulula, singakwazi ukwengeza kanambambili sisebenzisa (njengezimpande):

prelink binario

Kepha ukwenza lonke uhlelo lusebenze kahle:

prelink -amvR

Uzobona into enjengale:

Isiqalo sokuqala

Isiqalo sokuqala

Nayi incazelo eningiliziwe yencazelo yamapharamitha:

  • a: kulingana- konke, kwenza ukuthi isebenze kulo lonke uhlelo
  • m: ilingana ne-memory-memory, incazelo yokuthi isebenza kanjani iyinkimbinkimbi, kepha igcina isikhala
  • v: okulingana ne -verbose, kusivumela ukuthi sazi ukuthi yimiphi imitapo yolwazi exhunywe ngaphambili
  • IMP: Ilingana nokungahleliwe, khulisa ukuphepha ngokwenza inani lingahleliwe. Angiyazi imininingwane yokusebenza kwayo
Isiginali yiYakuake, uma ngabe noma ngubani enentshisekelo.

Ukuze un-pre-link (unlink) kanambambili

prelink  -u

Lonke uhlelo:

prelink -au

Ukusatshalaliswa okuningi okufana no-Ubuntu kunikela nge-cron evame ukuxhumanisa kuqala wonke ama-binaries wesistimu uma i-prelink ifakiwe
I-Prelink ingadala izinkinga kumabhanari amaningi okuphathelene, ngakho-ke imvamisa yeqiwa ngokuzenzakalela. Noma kunjalo, qiniseka ukuthi ifayela lakho le /etc/prelink.conf liqukethe le migqa:
# Skype -b / usr / lib32 / skype / skype -b / usr / lib / skype / skype # Flash Player Plugin -b /usr/lib/mozilla/plugins/libflashplayer.so # NVIDIA -b / usr / lib / libGL .so * -b / usr/lib32/libGL.so* -b //usr/lib/libOpenCL.so* -b //usr/lib32/libOpenCL.so* -b / usr / lib32 / vdpau / -b / usr / lib / vdpau / -b / usr/lib/xorg/modules/drivers/nvidia_drv.so -b /usr/lib/xorg/modules/extensions/libglx.so* -b / usr / lib / libnvidia- * - b / usr / lib32 / libnvidia- * # Catalyst -b / usr / lib / libati * -b / usr / lib / fglrx * -b / usr / lib / libAMDXvBA * -b / usr/lib/libGL.so* - b / usr / lib / libfglrx * -b / usr/lib/xorg/modules/dri/fglrx_dri.so -b /usr/lib/xorg/modules/drivers/fglrx_drv.so -b / usr / lib / xorg / amamojula / izandiso / fglrx / -b / usr/lib/xorg/modules/linux/libfglrxdrm.so -b /usr/lib/xorg/modules/extensions/libglx.so

Lungiselela i-KDE

Okuthenjiswayo yisikweletu. Ukube ubusuxhume ngaphambili uhlelo lwakho kungenzeka awubonanga mehluko ezikhathini zokulayisha ze-KDE. Lokhu kungenxa yokuthi i-KDE isebenza njengensiza ebizwa ngokuthi i-kdeinit ukulayisha yonke imitapo yolwazi edingekayo. Ukugwema ukusebenzisa leli thuluzi kumele sazise i-KDE ukuthi ixhunywe ngaphambili. Ukuze senze lokhu kufanele (njengezimpande) senze ifayela eliguqukayo:

nano /etc/profile.d/kde-prelink.sh

Esinamathisela kuyo umugqa olandelayo

export KDE_IS_PRELINKED=1

Futhi siyinikeza izimvume ezifanele (asifuni noma yimuphi ogangile ukungeza rm-rf /)

chmod 755 /etc/profile.d/kde-prelink.sh

Futhi uma ungangikholwa, nansi ividiyo yeKDE iqalisa uhlelo lwami:

[imininingwane] Imininingwane yohlelo:
  • I-HDD ku-7200 RPM
  • I-Gentoo
  • I-XFS
  • I-Ksplash ikhutshaziwe (imbangela yesikrini esimnyama sevidiyo
[/ izincazelo]

I-Cron ne-prelink

Uma usebenzisa uhlelo olufana ne-Archlinux, lapho ukuvuselelwa kuvame kakhulu, kungahle kube nentshisekelo ukufaka i-cron esebenzisa i-prelink nsuku zonke.

Ngakho-ke, sivula ifayela le-cron nge-nano (njengezimpande):

nano /etc/cron.daily/prelink

Futhi sinamathisela okulandelayo:

#! / bin / bash
[[-x / usr / bin / prelink]] &&
/ usr / bin / prelink -amR &> / dev / null

Ngemuva kwalokho siyinikeza izimvume ezifanele (sengivele ngishilo ukuthi akekho umuntu ofuna umuntu ongeze ikhodi enonya):
chmod 755 /etc/cron.daily/prelink

Umkhuba omuhle lapho ufunda i-athikili ukucwaninga lokho okwenziwa ngumbhalo uqobo. Umkhuba omuhle uma uyibhala ukuchaza ukuthi wenzeleni. Lapha ukuwohloka

  1. Ulayini wokuqala ukutshela isistimu ukuthi iyini i-bash script nendawo yetolika.
  2. Eyesibili yenza i-bash ikhiphe isifinyezo kumodi yokulungisa iphutha, angazi ukuthi kungani, kepha kuyanconywa, kungaqedwa ngaphandle kwengozi. I && isho ukuthi uma umyalo uqeda, sebenzisa okulandelayo.
  3. Yenza i-prelink neminye imingcele esivele ichaziwe, i- &> / dev / null iqondisa kabusha noma yikuphi okukhiphayo ku / dev / null, okungukuthi, iyakulahla

Izixhumanisi zentshisekelo


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

Amazwana ayi-27, shiya okwakho

Shiya umbono wakho

Ikheli lakho le ngeke ishicilelwe.

*

*

  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-Ivan Barra kusho

    Nge "siteleka" osinikeze u- [ENTER], okuncane okuncane okwenziwe i-pc yethukile futhi kwaqala ukusebenza ngejubane eliphindwe kabili laphambilini, uthi sebenzisa i-PRELINK, kepha uhlelo lwakho lususelwa kokwesaba ... hahaha!

    Ukubingelela nokuthunyelwe okuhle

    Siyabonga ngokwabelana.

    1.    umgwaqo kusho

      Umm, ngomsindo owenzayo angimangali uma bekukhona imayini kukhompyutha yami ye-XD.

    2.    isihlibhi kusho

      I-Epic ihlaya, kuyiqiniso ukuthi ubelangazelela ukungena, hehe.

  2.   USheosi kusho

    Ngingathanda ukuphawula ukuthi esikhashaneni esedlule bengikubeka uphawu lokhu, futhi ngibona ukuthi umehluko ubucishe bungekho (sebenzisa njengezivivinyo engicabanga ukuthi bese ucwilisa izingcezwana ze-firefox ne-nautilus).
    Uma kukhona abanentshisekelo ngizolishicilela ifayela (angizange ngilishicilele ngaleso sikhathi sobuvila).

    1.    umgwaqo kusho

      Umm, akuwona wonke amafayela angabonakala ethuthuka, kepha okungenani uhlelo luvame ukuqala ngokushesha.

  3.   usuku kusho

    Kunesikhathi lapho bengisebenzisa khona i-e4rat futhi ithuthukise ukuqalisa imizuzwana embalwa, ngoba iyi-hdd iqala ngokushesha okukhulu kulokho engikubonayo, njengamanje ngine-ssd encane enama-kaos nakuma-xfs nalapho ngibona ukuqala khona isikhathi angizange ngikukholwe.
    http://i.imgur.com/ds6WqIT.png

    1.    Joao kusho

      Ngifuna ukwazi itimu yedeskithophu oyisebenzisayo nesethi yesithonjana (kuma-vibes amahle)

      1.    umgwaqo kusho

        Ngingafunga ukuthi isihloko sithi helium.

      2.    usuku kusho

        Ingqikithi ye-plasma nezimpawu kubizwa nge-Dynamo kanye ne-Next thin window.
        http://sta.sh/02ful04ags1
        http://hombremaledicto.deviantart.com/art/Dynamo-Plasma-beta-473014317
        http://kde-look.org/content/show.php?content=164722

        Uxolo kumbhali wengoma ye-off 🙂

    2.    ujose-rod kusho

      Sibizwa kanjani leso siqalisi sohlelo lokusebenza? 🙂

      1.    umgwaqo kusho

        Ngicabanga ukuthi ibizwa ngokuthi isiqalisi esilula se-qml.

      2.    usuku kusho

        Njengoba umgwaqo esho, yi-QML

      3.    ujose-rod kusho

        Mthokozisi

  4.   eliotime3000 kusho

    Ithiphu enhle kakhulu, noma ngabe i-KDE isebenzisa izimangaliso ku-Arch naku-Slackware (ngizizamile futhi ziyamangalisa ngempela).

  5.   I-Azureus kusho

    Ngiyabonga kakhulu. Ngikuhlolile ku-Arch yami, ngenza i-prelink ejwayelekile futhi kufanele ngithi ukuthuthuka kuhle impela futhi ngizizwa ngikhululekile hehe

  6.   ngobe kusho

    Angazi noma yimi…. kepha angiwuboni umehluko futhi ngokuhlaziywa kwesistimu kusathatha isikhathi eside ukuqala ...

    1.    umgwaqo kusho

      Yebo, kufanele kube nenkinga ethile ku-OS yakho, uyazi, i-prelink -au nakho konke okuxazululiwe.

  7.   Bla bla bla kusho

    Ngokwazi kwami ​​(ngokwami ​​ukubona), okungenani kwi-Gentoo awudingi ukudala ifayili elisha ukuze udlulise inani le-KDE_IS_PRELINKED variable. Vele ungahambisi umugqa KDE_IS_PRELINKED = 1 ku /etc/env.d/43kdepaths (anginasiqiniseko sokuthi leyo yindlela eqondile yini, ngoba anginawo umshini wami okwamanje).

    Njalo lapho i-KDE ihlanganiswe ngokuphelele, kufanele uhlole lelo fayela, njengoba amanye amaphakheji eliwafakayo azobhala ngaphezulu ifayela engikhulume ngalo.

    1.    umgwaqo kusho

      Futhi kungenzeka kusakazwa okuningi. kepha ukukwenza ngendlela engikwenze ngayo ngiyaqinisekisa ukuthi lokhu kulungiselelwa akushintshiwe.

  8.   Isitatimende kusho

    Okuthunyelwe okuhle kakhulu, Halala

    Ngiphakamisa ukuthi udale okokufundisa ukufaka i-Gentoo

    1.    umgwaqo kusho

      Ngizokugcina engqondweni. Ngiyabonga

  9.   Cristianhcd kusho

    ukusetshenziswa okuhle kakhulu, yize kungangisebenzisi, ngoba ngine: enyanyekayo ku-KDE

  10.   Javier kusho

    Ingabe ihlengethwa lizoshesha? Bekulokhu kubonakala kuphuza ukuqala

    1.    umgwaqo kusho

      Kufanele, angazi, ngihlala ngiyisebenzisa ngokuzenzakalela. Ngisebenzisa i-gentoo, i-portage, uma ithola ukuthi i-prelink ifakiwe, izixhuma ngokuzenzakalela ama-binaries, ngakho-ke, awazi mqondo.

  11.   UPepo kusho

    Kuyathakazelisa, ngiyabonga!

    PD- Library = Umtapo Wezincwadi, hhayi umtapo wolwazi 😉
    Yebo, ideskithophu ibizwa ngePlasma Desktop, hhayi i-KDE. Kulungile, ngiyamisa i-xD

    1.    umgwaqo kusho

      Ku-jargon yekhompyutha ukwehluleka okwamukelekayo, ngemuva kwakho konke, izilimi ziyi-pragmatic, ikakhulukazi ekuhumusheni.
      https://es.wikipedia.org/wiki/Librería_(desambiguación)

  12.   dulf kusho

    kuhle. Bengizoyivivinya ku-ArchLinux KDE (isisekelo, hhayi i-DE ephelele) futhi inginika «Iphutha lokulondoloza '/etc/cron.daily/ Iphutha lokulondoloza' /etc/cron.daily/prelink ': Ifayela le-prelink noma umkhombandlela ayikho ': Ifayela noma umkhombandlela awukho ». Anginayo i- "cron" efakiwe futhi kwi-wiki [1] bakhuluma nge-cronie, i-fcron nokunye okuhlukile. Yini engidinga ukuyifaka noma ukuyenza ukuqedela okokufundisa?

    [1] https://wiki.archlinux.org/index.php/cron#Installation

i-bool(iqiniso)