عرض مشاركة واحدة
  #10  
قديم أضيفت بتاريخ 04-11-2008, 07:55 AM
الزعيم الزعيم غير متواجد حالياً
عضو مشارك
 
تاريخ التسجيل: 21-02-2008
المشاركات: 85
معدل تقييم المستوى: 18
الزعيم will become famous soon enoughالزعيم will become famous soon enough
افتراضي


تركيب برنامج يساعد على ترتيب العمليات في البروسيس وراح تلاحظ معدل انخفاض 5-25%
البرنامج SPRI (Priority Scheduler)


طريقة تركيب البرنامج :

كود PHP:
cd /root
wget http
://www.rfxnetworks.com/downloads/spri-current.tar.gz
tar xvfz spri-current.tar.gz
cd spri
-0.5
./install.sh
spri 
-

ندخل لـ WHM لننهي اخر الخطوات :

نروح للمود سيكورتي من خلال WHM

Main >> Plugins >> Mod Security

نضغط على Edit Config

ونضع فيها الرولز التالي :
اضغط هنا للتحميل

الآن نسخ للمحتوى النوتة ونسوي لصق في المود سيكورتي

نسوي حفظ للعمل



ونروح للخيار :
نضع علامة صح على الخيارات التالية :
Main >> Server Configuration >> Tweak Settings
كود PHP:
[xAlways redirect users to the ssl/tls ports when visiting /cpanel, /webmailetc.
[
xOnly permit cpanel/whm/webmail to execute functions that have a referrer that matches one of the domains/ip on this serverThis will help prevent XSRF attacksbut may break integration with other systemslogin applications, and billing software
Main >> Server Configuration >> Tweak Settings

ضع نفس هذه الاعدادات :



• Stats Programs

كود PHP:
[xAnalog Stats
[xAwstats Stats
[xWebalizer Stats 

• System :

كود PHP:
[xAlways redirect users to the ssl/tls ports when visiting /cpanel, /webmailetc.
[
x] Use native SSL support if possiblenegating need for Stunnel
[x] Do not start deprecated Melange 1.10 chat server 
4 •


Main >> Server Contacts >> Change System Mail Preferences





ثم اضغط change وقم بعمل نفس الشيء لكل من :

nobody's mail . cpanel's mail


بعد ذلك الى :
ونروح الى الخيار Background Process Killer
Main >> System Health >> Background Process Killer

ونسوي علامة صح للكل الخيارات

كود PHP:
[x]BitchX
[x]bnc
[x]eggdrop
[x]generic-sniffers
[x]guardservices
[x]ircd
[x]psyBNC
[x]ptlink
[x]services 

1 •

نذهب الى :
Main >> Security >> Modify Apache Memory Usage




Main >> Security >> Security Center


Configure cPHulk

اضغط :


PHP open_basedir Tweak

[x] Enable php open_basedir Protection

ثم اضغط :


Apache mod_userdir Tweak


[x] Enable mod_userdir Protection.

ثم اضغط :


Shell Fork Bomb Protection


اضغط :


2 •




Main >> Service Configuration >> Configure PHP and SuExec

نضع الأعداد كما في الصورة



Main >> Service Configuration >> FTP Configuration


اضغط على هذا الزر :


Main >> Service Configuration >> Service Manager

هذه هي مجموعة الخدمات الي يجب ان تكون فعالة بالسيرفر فقط

كود PHP:
antirelayd : [xEnabled  [xMonitor 
exim 
: [xEnabled  [xMonitor 
eximstats 
: [xEnabled  [xMonitor 
ftpd 
: [xEnabled  [xMonitor 
imap 
: [xEnabled  [xMonitor 
mysql 
: [xEnabled  [xMonitor 
named 
: [xEnabled  [xMonitor 
pop 
: [xEnabled  [xMonitor 
spammd 
: [xEnabled  [xMonitor 
syslogd 
: [xEnabled 
ثم اضغط : save


3 •





بعد ذلك نقوم بتغير الكلام الي يظهر اثناء ما تدخل بمعلومات SSH

اكتب الإمر هذا

كود PHP:
pico /etc/motd 


واكتب الأمر التالي :

كود PHP:
Welcome To SSH Host2NeeD.Com Web Servers

Now You Can 
Use Your Server

Tack your Time 
بعد كذا احفظ العمل
رد مع اقتباس