تركيب برنامج يساعد على ترتيب العمليات في البروسيس وراح تلاحظ معدل انخفاض 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 -v
ندخل لـ WHM لننهي اخر الخطوات :
نروح للمود سيكورتي من خلال WHM
Main >> Plugins >> Mod Security
نضغط على Edit Config
ونضع فيها الرولز التالي :
اضغط هنا للتحميل
الآن نسخ للمحتوى النوتة ونسوي لصق في المود سيكورتي
نسوي حفظ للعمل
ونروح للخيار :
نضع علامة صح على الخيارات التالية :
Main >> Server Configuration >> Tweak Settings
كود PHP:
[x] Always redirect users to the ssl/tls ports when visiting /cpanel, /webmail, etc.
[x] Only permit cpanel/whm/webmail to execute functions that have a referrer that matches one of the domains/ip on this server. This will help prevent XSRF attacks, but may break integration with other systems, login applications, and billing software.
Main >> Server Configuration >> Tweak Settings
ضع نفس هذه الاعدادات :
• Stats Programs
كود PHP:
[x] Analog Stats
[x] Awstats Stats
[x] Webalizer Stats
• System :
كود PHP:
[x] Always redirect users to the ssl/tls ports when visiting /cpanel, /webmail, etc.
[x] Use native SSL support if possible, negating 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 : [x] Enabled [x] Monitor
exim : [x] Enabled [x] Monitor
eximstats : [x] Enabled [x] Monitor
ftpd : [x] Enabled [x] Monitor
imap : [x] Enabled [x] Monitor
mysql : [x] Enabled [x] Monitor
named : [x] Enabled [x] Monitor
pop : [x] Enabled [x] Monitor
spammd : [x] Enabled [x] Monitor
syslogd : [x] Enabled
ثم اضغط : save
3 •
بعد ذلك نقوم بتغير الكلام الي يظهر اثناء ما تدخل بمعلومات SSH
اكتب الإمر هذا
واكتب الأمر التالي :
كود PHP:
Welcome To SSH Host2NeeD.Com Web Servers
Now You Can Use Your Server
Tack your Time
بعد كذا احفظ العمل