Prelink (kapa mokhoa oa ho etsa KDE boot ka metsotsoana e 3)

Selelekela ke lenaneo leo sesebelisoa sa lona e leng ho etsa hore mananeo a bulehe kapele. Le ha tlhaloso ea hore na e etsa joang e ka tšoaneloa ke sengoloa se felletseng, re ka re ka tsela e thata hore e joetsa binary moo e ka shebang pele bakeng sa lilaeborari tse matla tseo e hlokang ho li jarolla.

Kahoo, ha re nahane hore re na le binary e itšetlehileng ka laeborari ea QtCore, hang ha re se re e sebelisitse prelink ho eona, e tla qala ho batla sebakeng se khethiloeng ke prelink, mme haeba e sa e fumane (ntjhafatso, bakeng sa mohlala) e tla e batla ka mokhoa oa setso.

Prelink e sebetsa ho sistimi efe kapa efe e lumellanang le POSIX, joalo ka GNU / linux kapa li-BSD.

Mokhoa oa ho sebelisa prelink

Ho ntlafatsa sistimi ka prelink ho bonolo haholo, re ka ntlafatsa binary re sebelisa (joalo ka motso):

prelink binario

Empa ho ntlafatsa sistimi eohle re tlameha ho e etsa:

prelink -amvR

U tla bona ntho e kang ena:

Selelekela

Selelekela

Tlhaloso e qaqileng ea moelelo oa mekhahlelo ke ena:

  • a: lekana- kaofela, e etsa hore e sebetse tsamaisong eohle
  • m: e lekanang le ho boloka mohopolo, tlhaloso ea hore na e sebetsa joang e thata, empa e boloka sebaka
  • v: lekanang le -verbose, e re lumella ho tseba hore na ke lilaebrari tse hokahaneng pele
  • K: E lekanang le –ka mokhoa o sa tloaelehang, eketsa ts'ireletso ka ho etsa boleng bo sa fetohe. Ha ke tsebe lintlha tsa ts'ebetso ea eona
Sepetlele ke Yakuake, haeba mang kapa mang a ka thahasella.

Ho un-pre-link (unlink) binary

prelink  -u

Sisteme eohle:

prelink -au

Likabelo tse ngata tse kang Ubuntu li fana ka cron eo nako le nako e hokahanyang li-binaries tsa sistimi haeba prelink e kentsoe
Prelink e ka baka mathata ho li-binaries tse ngata tsa ho ba le thepa, ka hona hangata e tlotsoa ka boiketsetso. Leha ho le joalo, etsa bonnete ba hore file ea hau /etc/prelink.conf e na le mela ena:
# 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- * # Sethothetsi -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 / module / extensions / fglrx / -b / usr/lib/xorg/modules/linux/libfglrxdrm.so -b /usr/lib/xorg/modules/extensions/libglx.so

Lokisa KDE

Se tšepisitsoeng ke mokoloto. Haeba u ne u se u ntse u hokahantse sistimi ea hau mohlomong ha ua ka ua hlokomela phapang ea linako tsa ho kenya tsa KDE. Sena ke hobane KDE e sebetsa e le sesebelisoa se bitsoang kdeinit ho kenya lilaeborari tsohle tse hlokahalang. Ho qoba ho sebelisa sesebelisoa sena re tlameha ho tsebisa KDE hore e hokahantsoe pele. Ho etsa sena re tlameha (joalo ka motso) ho theha faele e fapaneng:

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

Ho eona re manamisa mola o latelang

export KDE_IS_PRELINKED=1

Mme re e fa tumello e nepahetseng (ha re batle hore mang kapa mang ea se nang thuso a kenye rm-rf /)

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

Mme ha o sa ntumele, ena ke video ea KDE e qalang tsamaisong ea ka:

[litlhaloso] Lintlha tsa sistimi:
  • HDD ho 7200 RPM
  • Gentoo
  • XFS
  • Ksplash e holofetse (sesosa sa skrine e ntšo ea video
[/ lintlha]

Cron le prelink

Haeba u sebelisa sistimi e kang Archlinux, eo lintlafatso li atisang ho ba teng, ho ka ba monate ho eketsa cron e tsamaisang prelink letsatsi le leng le le leng.

Kahoo, re bula faele ea cron ka nano (joalo ka motso):

nano /etc/cron.daily/prelink

Mme re manamisa tse latelang:

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

Ebe re e fa litumello tse loketseng (ke se ke boletse hore ha ho motho ea batlang hore motho e mong a kenye khoutu e kotsi):
chmod 755 /etc/cron.daily/prelink

Tloaelo e ntle ha u bala sengoloa ke ho etsa lipatlisiso hore na hantle-ntle script e etsa eng. Tloaelo e ntle ha u e ngola ke ho hlalosa hore na e etselitsoe eng. Mona ke ho senyeha

  1. Mohala oa pele o sebelisetsoa ho joetsa sisteme hore na bash script ke eng le sebaka sa mofetoleli.
  2. Ea bobeli e etsa hore bash ba phethe mokhoa o itseng oa ho lokisa bothata, ha ke tsebe hore na hobaneng, empa ho ea khothalletsoa, ​​e ka felisoa ntle ho kotsi. The && e bolela hore ha taelo e phethela, tsamaisa tse latelang.
  3. Etsa prelink ka likarolo tse ling tse seng li hlalositsoe, &> / dev / null e khutlisetsa tlhahiso efe kapa efe ho / dev / null, ke hore, ee lahla

Lihokela tsa thahasello


Litaba tsa sengoloa sena li latela melao-motheo ea rona ea melao ea boitšoaro ea bongoli. Ho tlaleha phoso tlanya mona.

Maikutlo a 27, siea ea hau

Siea maikutlo a hau

aterese ya hao ya imeile ke ke ho phatlalatswa.

*

*

  1. E ikarabella bakeng sa data: Miguel Ángel Gatón
  2. Morero oa data: Laola SPAM, tsamaiso ea maikutlo.
  3. Molao: Tumello ea hau
  4. Puisano ea data: Lintlha li ke ke tsa tsebisoa batho ba boraro ntle le ka tlamo ea molao.
  5. Polokelo ea data: Database e hapiloeng ke Occentus Networks (EU)
  6. Litokelo: Nako efe kapa efe o ka fokotsa, oa hlaphoheloa mme oa hlakola tlhaiso-leseling ea hau.

  1.   Ivan Barra a re

    Ka "strike" seo u se fileng [ENTER], batho ba banyenyane bao pc e ileng ea ba tšaba mme ba qala ho sebetsa ka lebelo le fetang la pele, o re sebelisa PRELINK, empa sistimi ea hau e ipapisitse le bokhukhuni ... hahaha!

    Lumeliso le poso e ntle

    Ke leboha ho arolelana.

    1.    tseleng a re

      Umm, ka lerata le etsang hore ke se ke ka makala haeba ho ne ho na le morafo ka komporong ea ka ea XD.

    2.    sethoto a re

      Epic the joke, ke 'nete hore o ne a labalabela ho kena, hehe.

  2.   Sheosi a re

    Ke kopa ho fana ka maikutlo a hore nakoana e fetileng ke tšoaile sena, mme ke bone hore liphapang li ne li batla li se na letho (sebelisa joalo ka liteko tseo ke nahanang le ho teba firefox le nautilus bits).
    Haeba ho na le ba nang le thahasello ke tla phatlalatsa faele (ha ke a e phatlalatsa ka nako ea botsoa).

    1.    tseleng a re

      Umm, ha se lifaele tsohle tse ka bonoang li ntlafala, empa bonyane sisteme e tloaetse ho qala kapele.

  3.   letsatsi a re

    Ho na le nako eo ke neng ke sebelisa e4rat mme e ntlafalitse ho qalisoa metsotsoana e seng mekae, hobane ke hdd e qala kapele haholo ho seo ke se bonang, hajoale ke na le ssd e nyane ka kaos le ho xfs mme ha ke bona ho qala Nako ke ne ke sa kholoe.
    http://i.imgur.com/ds6WqIT.png

    1.    João a re

      Ke batla ho tseba sehlooho sa desktop seo u se sebelisang le letšoao le behiloeng (ka li-vibes tse ntle)

      1.    tseleng a re

        Ke ne ke tla hlapanya sehlooho sa helium.

      2.    letsatsi a re

        Sehlooho sa plasma le litšoantšo li bitsoa Dynamo le Fensetere e latelang e tšesaane.
        http://sta.sh/02ful04ags1
        http://hombremaledicto.deviantart.com/art/Dynamo-Plasma-beta-473014317
        http://kde-look.org/content/show.php?content=164722

        Ke masoabi ho mongoli oa pina bakeng sa off 🙂

    2.    jose-molamu a re

      Sesebelisoa sa ts'ebeliso se bitsoa eng? 🙂

      1.    tseleng a re

        Ke nahana hore ke e 'ngoe e bitsoang qml e bonolo launcher.

      2.    letsatsi a re

        Joalokaha 'mila a bolela, ke QML

      3.    jose-molamu a re

        Lerato 😉

  4.   likeletso3000 a re

    Malebela a matle haholo, leha KDE e etsa mehlolo ho Arch le Slackware (ke li lekile mme ehlile lia makatsa).

  5.   Azureus a re

    Ke leboha haholo. Ke e lekile ho Arch ea ka, ke entse prelink e akaretsang mme ke tlameha ho re ntlafatso e ntle haholo mme ke ikutloa ke phutholohile haholo hehe

  6.   likotlo a re

    Ha ke tsebe hore na ke 'na…. empa ha ke bone phapang efe kapa efe mme ka ho e sekaseka ho ntse ho nka nako e telele ho qala ...

    1.    tseleng a re

      E tlameha ebe ho na le bothata ho OS ea hau, ua tseba, prelink -au mme tsohle li rarolloa.

  7.   Bla bla bla a re

    Ho ea kamoo ke tsebang (ka boiphihlelo ba ka), bonyane ho Gentoo ha ho hlokahale hore u thehe faele e ncha ho fetisa boleng ba phapang ea KDE_IS_PRELINKED. Tlosa feela mohala KDE_IS_PRELINKED = 1 ho /etc/env.d/43kdepaths (ha ke na bonnete ba hore na ke eona tsela e nepahetseng, kaha ha ke na mochini oa ka hajoale).

    Nako le nako ha KDE e hlophisitsoe ka botlalo, o tlameha ho lekola faele eo, kaha tse ling tsa liphutheloana tseo e li kenyang li tla hlakola file eo ke e boletseng.

    1.    tseleng a re

      Mohlomong e lipehelong tse ngata. empa ho e etsa ka tsela eo ke e entseng ka eona ke netefatsa hore phetolo ena ha e fetoloe.

  8.   Statike a re

    Poso e ntle, Kea leboha

    Ke khothaletsa hore o thehe thuto ho kenya Gentoo

    1.    tseleng a re

      Ke tla e boloka kelellong. kea leboha

  9.   Cristianhcd a re

    ts'ebeliso e ntle haholo, leha e sa nthuse, hobane ke na le: manyala ho KDE

  10.   Javier a re

    Na dolphin e tla potlakisa? Haesale ho bonahala e lieha ho qala

    1.    tseleng a re

      E tlameha, ha ke tsebe, ke lula ke e sebelisa ka boiketsetso. Ke sebelisa gentoo, portage, haeba e fumana hore prelink e kentsoe, e itšoaea li-binaries ka bo eona, ka hona, ha ho na maikutlo.

  11.   Pepo a re

    Ho khahlisang, kea leboha!

    PD- Laeborari = Laeborari, eseng laeborari
    Hantle, desktop e bitsoa Plasma Desktop, eseng KDE. Ho lokile, ke emisa xD

    1.    tseleng a re

      Ka jargon ea khomphutha ke ho hloleha ho amoheloang, hobane lipuo li pragmatic, haholo liphetolelong.
      https://es.wikipedia.org/wiki/Librería_(desambiguación)

  12.   dtulf a re

    hantle. Ke ne ke le mothating oa ho e leka ho ArchLinux KDE (base, eseng DE e felletseng) mme e mpha "Phoso ea ho boloka '/etc/cron.daily/ Phoso ea ho boloka' /etc/cron.daily/prelink ': Prelink file or directory does ha e eo ': Faele kapa sesebelisoa ha se eo ». Ha ke na "cron" e kentsoeng mme ho wiki [1] ba bua ka cronie, fcron le mefuta e meng. Ke hloka eng ho kenya kapa ho etsa eng ho phethela thupelo?

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

bool('nete)