الويب العربي

الويب العربي (http://www.arabwebtalk.com/index.php)
-   إدارة وتشغيل السيرفرات (http://www.arabwebtalk.com/forumdisplay.php?f=80)
-   -   طريقة التعامل مع النواه ومعاملاتها (http://www.arabwebtalk.com/showthread.php?t=163511)

صالح عباس 13-10-2011 01:22 AM

طريقة التعامل مع النواه ومعاملاتها
 
بعد التحية الكريمة لجميع الإخوة الأعضاء، أقدم لكم هذا الموضوع البسيط الذى تناولت فيه نبذة عن النواة، طريقة ترقيتها، وأخيرًا التعامل مع معاملاتها والتعديل عليها بإستخدام أمر sysctl.

تُعتبر النواة هى قلب النظام الذى لا يمكن الإقلاع بالنظام من دونها إطلاقًا، حيث تعمل النواة كحلقة وصل بين الـ shell و الـ hardware، وتتكون النواه من مجموعة من الـوحدات(Modules).

حيث يمكن عرض الوحدات التى تعمل أثناء عمل النظام بإستخدام أمر lsmod، وأيضًا للتعرف على وظيفة كل وحدة يمكننا إستخدام الأمر modinfo هكذا.

كود:


lsmod

sr_mod                14187  1
cdrom                  34035  1 sr_mod
ahci                  32835  2
pata_acpi              2487  0
ata_generic            2555  0
ata_piix              19016  1
dm_mod                63859  2 dm_mirror,dm_log

وهكذا ظهرت لنا بعض الوحدات المُستخدمة الآن، وللتعرف على وظيفة وحدة معينه، نقوم بإستخدام أمر modinfo هكذا. (ملاحظة هذا جزء فقط من المخرجات)

كود:

modinfo dm_mod
filename:      /lib/modules/2.6.32-71.el6.i686/kernel/drivers/md/dm-mod.ko
license:        GPL
author:        Joe Thornber <dm-devel@redhat.com>
description:    device-mapper driver
srcversion:    FB83897AAD999FEDAA4E579
depends:       
vermagic:      2.6.32-71.el6.i686 SMP mod_unload modversions 686
parm:          major:The major number of the device mapper (uint)

أما من ناحية ترقية النواه إلى أحدث نسخة من النواة الموجودة فى المستودعات نقوم بتنفيذ الأمر،
كود:

yum -y update kernel

ونأتى إلى الجزء الأخير وهو التعديل على معاملات النواه (يمكن حذف معاملات النواه الغير مُستخدمة لتعطى أداء أفضل وأفضل) نستخدم الأمر echo، والآن نقوم بعرض جميع معاملات النواه المتاحة عن طريق إستخدام الأمر sysctl، هكذا (ملاحظة هذا جزء فقط من المخرجات)

ويجب الأخذ فى الإعتبار أن التعديل يمكن أن يكون فوريًا مع عدم حفظه عند عملية الإقلاع القادمة، ويمكن أن يكون ثابتًا ومحفوظًا أثناء إقلاع النظام مرة أخرى، فإذا قمنا بإستخدام أمر echo فإن التعديل سوف يتلاشى ونعود لما كانت القيم الأولية، أما إذا قمنا بإستخدام sysctl سوف نقوم بحفظ التعديل.

كود:

net.ipv4.ip_forward = 0
net.ipv4.xfrm4_gc_thresh = 262144
net.ipv4.ipfrag_high_thresh = 262144
net.ipv4.ipfrag_low_thresh = 196608
net.ipv4.ipfrag_time = 30

لو أردنا تغير قيمة المعامل net.ipv4.ip_forward لتفعيل خاصية إعادة توجية الحزم (فى الغالب لن نحتاجها، ولكنه كمثال فقط)
كود:

sysctl -w net.ipv4.ip_forward=1
net.ipv4.ip_forward = 1

وفى النهاية أتمنى أن يكون الموضوع قد حقق الإفادة المرجوة بإذن الله، وأسأل الله عزوجل أن يجعله فى ميزان حسناتانا، والسلام عليكم ورحمة الله وبركاته.

1server 13-10-2011 01:28 PM

معلومات وشرح وافـي

تقبل تحياتي

idodidlinly 08-03-2012 01:47 PM

video putting out
 
S&P’s Disparage on U.S. Encumbrance under obligation Means Undersized to Consumers…for Now

After a enthusiastic deal of civic wrangling, legislators at the end of the day approved a riding-boot to America's borrowing limit in August 2011, which raised the administration's debt ceiling beside a more $2.4 trillion. This impel, which enables the us regime to fulfill its needs from top to bottom 2013, was approved as the control promised valued and complementary spending cuts to cut down or kill stable government programs.
S&P’s Dispossess on U.S. Indebtedness Means Teeny-weeny to Consumers…after At present
reverse mortgages
After a huge deal of political wrangling, legislators at the end of the day approved a riding-boot to America's borrowing limit in August 2011, which raised the government's in arrears ceiling by a more $2.4 trillion. This impel, which enables the us regime to fulfill its needs through 2013, was approved as the government promised impressive and complementary spending cuts to reduce or kill absolute domination programs.
reverse mortgage company
reverse mortgage companys
reverse mortgage
S&P’s Disparage on U.S. Debt Means Little to Consumers…recompense Any more

catering halls nyc
catering halls in nycwedding halls long island
wedding halls on long islandparty hallswedding venues
After a weighty apportion of administrative wrangling, legislators once approved a expel to America's borrowing limit in August 2011, which raised the regulation's due ceiling not later than a more $2.4 trillion. This stir up, which enables the us regime to fulfill its needs under the aegis 2013, was approved as the management promised impressive and complementary spending cuts to cut down or away absolute domination programs.

Enlarge Met with Rating Gradient
http://business.theforumnetwork.com/...profile;u=4763
http://www.services.taxresolutiontip...profile&u=3999
http://www.reise-forum.weltreiseforu...fi le&u=27596
http://forum.reborn-engine.ru/member.php?u=115464
http://modelsforum.net/member.php?u=332281

http://vote29.com/newmyblog/forum/in...rofile;u=10803
http://heylaurawhat.com/member/16441
http://www.idoggiebag.org/index.php?/member/43947/
http://www.mdrcracing.com/forum/inde... rofile;u=584
http://bookmarksdiary.com/story.php?id=373012

idodidlinly 08-03-2012 01:57 PM

video production companies
 
S&P’s Disparage on U.S. Indebtedness Means Tiny to Consumers…in support of At present

After a great apportion of administrative wrangling, legislators finally approved a riding-boot to America's borrowing limit in August 2011, which raised the regulation's due ceiling by a more $2.4 trillion. This shift, which enables the us government to fulfill its needs from top to bottom 2013, was approved as the ministry promised significant and complementary spending cuts to cut short or eliminate absolute sway programs.
S&P’s Downgrade on U.S. Owing Means Undersized to Consumers…in support of Instanter
reverse mortgages
After a enthusiastic handle of partisan wrangling, legislators finally approved a boost to America's borrowing limit in August 2011, which raised the sway's in hock ceiling not later than a more $2.4 trillion. This impel, which enables the us administration to fulfill its needs under the aegis 2013, was approved as the government promised pithy and complementary spending cuts to cut down or blue-blooded stable government programs.
reverse mortgage company
reverse mortgage companys
reverse mortgage
S&P’s Disparage on U.S. Encumbrance under obligation Means Tiny to Consumers…for Instanter

wedding reception halls long island
bronx catering halls
banquet halls in njparty halls long island
wedding places
long island wedding catering halls
After a great attend to of political wrangling, legislators once approved a riding-boot to America's borrowing limit in August 2011, which raised the sway's debt ceiling not later than a more $2.4 trillion. This shift, which enables the us regime to fulfill its needs through 2013, was approved as the control promised pithy and complementary spending cuts to reduce or eliminate certain government programs.

Enlarge Met with Rating Downgrade
http://lawteachersresources.co.uk/Fo...rofile&u=22105
http://224bursa.org/forum/member.php...il e&uid=3230
http://www.hostzz.com/memberlist.php...of ile&u=8973
http://www.cswraith.com/memberlist.p... ofile&u=7264
http://www.modchipscout.de/forum/mem...ofile&uid=5566

http://www.igleague.org/index.php?ac...file;u =10104
http://tommiebyers812.obolog.com/
http://www.thepoint.com/users/alvablack821/profile
http://www.aisquared.com/member/136641/
http://doujinforum.com/index.php?act...file;u= 63590


جميع الأوقات بتوقيت مكة المكرمة. الساعة الآن » 05:35 PM.

Powered by vBulletin
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © ArabWebTalk.Com 2004-2012