Your best source of information and news about drivers , windows and secrets on the internet حسابك أفضل مصدر للمعلومات والأخبار عن السائقين ، واسرار نوافذ على شبكة الإنترنت

Vista ARTICLES مقالات فيستا TOP 50 أفضل 50 Spyware Virus فيروس برامج التجسس Vista SOFT ميسر فيستا Vista HELP فيستا مساعدة

Ubuntu Prelinking أوبونتو Prelinking


A lot of Ubuntu software relies on other pieces of code to work. وهناك الكثير من أوبونتو برمجيات تعتمد على قطعة أخرى من قانون العمل. These are sometimes referred to as libraries, which is a good indicator of their purpose: to provide functions that programs can check in and out whenever they need them, as if they were borrowing books from a library. وهذه هي التي يشار اليها أحيانا المكتبات ، والذي يعد مؤشرا جيدا للالغرض منها : توفير الوظائف التي يمكن التحقق من البرامج داخل وخارج كلما كانوا في حاجة لهم ، كما لو كانت استعارة الكتب من مكتبة.

Whenever a program starts, it must look for these other libraries and load them into memory, so they’re ready for use. متى يبدأ البرنامج ، يجب أن نبحث عن هذه المكتبات الأخرى وتحميلها على الذاكرة ، حتى انهم على استعداد لاستخدامها. This can take some time, particularly with larger and more complicated programs. وهذا يمكن أن يستغرق بعض الوقت ، ولا سيما مع أكبر وأكثر تعقيدا برامج. Because of this, the concept of prelinking was invented. وبسبب هذا ، فإن مفهوم prelinking كان اختراع. By a series of complicated tricks, the prelink program makes each bit of software you might run aware of the libraries it needs, so that memory can be better allocated. من خلال سلسلة معقدة من الحيل ، prelink يجعل كل برنامج من البرامج لكم قليلا وربما تكون قد علم من المكتبات التي تحتاجها ، ذلك أن الذاكرة يمكن تحسين تخصيص.

Prelinking claims to boost program startup times by up to 50% or more, but the problem is that it’sa hack—a programming trick designed to make your system work in a nonstandard way. Prelinking المطالبات لتعزيز برنامج أوقات بدء التشغيل بنسبة تصل إلى 50 ٪ أو أكثر ، ولكن المشكلة هي أن الإختراق انها خدعة للبرمجة بين تهدف إلى جعل النظام الخاص بك في العمل بطريقة غير قياسي. Because of this, some programs are incompatible with prelinking. وبسبب هذا ، بعض البرامج تتعارض مع prelinking. In fact, some might simply refuse to work unless prelinking is deactivated. في الواقع ، ربما لمجرد رفض بعض لعمل ما لم prelinking هو أبطل مفعولها. At the time of this writing, such programs are in the minority. وفي وقت كتابة هذا التقرير ، في مثل هذه البرامج هي الأقلية. However, keep in mind that prelinking can be easily reversed if necessary. ومع ذلك ، نضع في اعتبارنا أن prelinking يمكن بسهولة عكس إذا لزم الأمر. Alternatively, you might want to weigh whether it’s actually worth setting up prelinking in the first place. وكبديل لذلك ، قد ترغب لوزن ما اذا كان فعلا يستحق إنشاء prelinking في المقام الأول.


Configuring Prelinking التشكيل Prelinking
If you decide to go ahead with prelinking, you’ll need to download the relevant software from the Ubuntu software repositories. إذا قررت المضي قدما في prelinking ، ستحتاج لتحميل البرمجيات ذات الصلة من مستودعات أوبونتو البرمجيات. Open the Synaptic Package Manager (System -> فتح باقة مدير متشابك (النظام -->
Administration -> Synaptic Package Manager), click the Search button, and type prelink into the search box. الإدارة --> متشابك باقة مدير) ، انقر على زر البحث ، ونوع prelink في مربع البحث. Mark prelink for installation, and then click Apply. مارك prelink للتركيب ، وبعد ذلك انقر على تطبيق.

Before you can run a prelinking sweep of your system, you need to enable it in one of its configuration files. قبل أن تتمكن من تشغيل prelinking الاجتياح النظام الخاص بك ، تحتاج إلى تمكينها في واحدة من ملفات التكوين. To do this, type the following in a terminal window: وللقيام بذلك ، اكتب الأمر التالي في نافذة الصالة :

gksu gedit /etc/default/prelink gksu gedit / الخ / التقصير / prelink

Change the line that reads PRELINKING=unknown to PRELINKING=yes. تغيير الخط الذي يقرأ PRELINKING = = غير معروف لPRELINKING نعم. Then save the file and quit Gedit. ثم حفظ الملف واستقال Gedit.

To run a prelinking scan of your system, simply issue this command: لتشغيل prelinking المسح الضوئي من النظام الخاص بك ، ببساطة مسألة قيادة هذه :

sudo prelink -a sudo - prelink أ

This will prelink practically all the binary files on your system, and may take some time to complete. هذا وسوف prelink عمليا كل الملفات الثنائية على النظام الخاص بك ، وقد يستغرق بعض الوقت لإكمال. You may also see some error output, but you don’t need to pay attention to it. يمكنك ايضا ان نرى بعض الخطأ الناتج ، ولكن لا حاجة لإيلاء الاهتمام لذلك. Prelinking was automatically added as a daily cron job when you installed it, so any new programs you add will be automatically prelinked. واضاف Prelinking تلقائيا بوصفها وظيفة كرون يوميا عندما لكم تركيب أنها ، أي حتى لكم برامج جديدة سوف تضاف تلقائيا prelinked.


Deactivating Prelinking التعطيل Prelinking
Should you find prelinking makes a particular application malfunction or simply stop working, you can try undoing prelinking. وينبغي أن تجد prelinking يجعل من تطبيق معين أو وجود عطل ببساطة التوقف عن العمل ، يمكنك محاولة فك prelinking. To do this, find out where the main binary for the program resides, and issue the prelink command with the --undo command option. الى ذلك ، معرفة أين الرئيسية للبرنامج ثنائي يقيم ، وإصدار prelink مع القيادة -- قيادة التراجع عن الخيار. For example, to remove prelinking from the Gedit text editor program, you could type the following: فعلى سبيل المثال ، لإزالة prelinking من Gedit محرر نصوص البرنامج ، هل يمكن أن نوع ما يلي :

whereis gedit whereis gedit

This command will show that the gedit binary is found at the location /usr/bin/gedit in the file system. هذه القيادة سوف تظهر أن gedit ثنائي هي التي عثر عليها في موقع / usr / بن / gedit في نظام الملفات. Next, attempt to undo prelinking on the binary: المقبل ، محاولة لإزالة prelinking على ثنائي :

sudo prelink --undo /usr/bin/gedit sudo prelink -- إبطال / usr / بن / gedit

However, this may not work, because some programs might rely on additional binaries on the system. ومع ذلك ، لا يجوز هذا العمل ، لأن بعض البرامج يمكن أن تعتمد على ثنائيات إضافية على النظام. Therefore, the solution might be to undo prelinking for the entire system, which you can do by typing the following: ولذلك ، فإن الحل قد يكون لإزالة prelinking لكامل النظام ، الذي يمكنك القيام بكتابة ما يلي :

sudo prelink -ua sudo - prelink تعميم الوصول إلى الخدمات

After this, you should remove the prelink package, via the Synaptic Package Manager, to stop it from running again in the future (or manually remove its cron entry). بعد هذا ، يجب عليك إزالة prelink مجموعة ، عبر باقة مدير متشابك ، لمنعه من الترشح للرئاسة مرة أخرى في المستقبل (أو يدويا إزالة كرون دخول).

Source of Information : Apress Beginning Ubuntu Linux 3rd Edition مصدر المعلومات : Apress بداية أوبونتو لينكس 3rd الطبعة

Popularity: 1% شعبية : 1 ٪


Written by magakos. كتبها magakos. Read more great feeds at is source اقرأ المزيد العظيم هو مصدر في يغذي WEBSITE موقع
no comments لا تعليقات . .
Read more articles on اقرأ المزيد المواد المتعلقة Ubuntu Linux أوبونتو لينكس and و otherSoftware otherSoftware . .

Related articles المواد ذات الصلة

No comments لا تعليقات

There are still no comments on this article. لا توجد تعليقات على هذه المادة.

Leave your comment... ترك تعليقك...

If you want to leave your comment on this article, simply fill out the next form: إذا كنت تريد ترك تعليقك على هذه المادة ، لمجرد ملء الشكل التالي :




You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong> . يمكنك استخدام هذه العلامات الأقسام المختلفة : <ahref="" title=""> <abbrtitle=""> <acronymtitle=""> <b><blockquotecite=""> <code><em><ط > <strike><strong>.