خب حالا میریم سراغ نصب ELS یکی از بهترین نرم افزار های امنیتی لینوکسی...
خب حالا شروع میکنیم:
اول دانلود میکنیم:
کد:
wget --output-document=installer.sh http://servermonkeys.com/projects/els/installer.sh; chmod +x installer.sh; sh installer.sh
دستور زیر رو بزنید تا نصب شروع بشه:
ممکنه بعضی از سوالا از شما پرسیده نشه پس بهش اهمیت ندید
خب حالا از شما درخواستایی داره که باید انجام بشه:
1:از شما ایمیلتونو میخواد برای ایمیل کردن ارور های سرورتون و ازتون میخواد که تاییدش کنین با y
============================
2:Several packages installed by yum may not be compatable or may causeproblems with DirectAdmin or cPanel. To help prevent complications, ELS can add special
packages to be skipped when running yum.
These packages can still be updated manually with yum .
yبزنید و اینتر
=====================
بعد ازتون میپرسه که سلینوکس رو خاموش کنه یا نه که y رو میزنین
=============================
sysctl is used to harden the kernel. If you have not hardened your
kernel with sysctl or do not know how to, it is recommended to have
ELS do it for you. Your current /etc/sysctl.conf will be backed up to
/usr/local/els/bakfiles/sysctl.conf .
n
==========================
This will only run cPanel's pre-installed scripts to update itself.
updatenow, upcp, sysup, and serveral other software updaters will be executed .
این سوال فقط در سرور های سی پنل میاد که y میزنید
==========================
ELS can tweak several cPanel/WHM settings for you to further
optimize and secure your server
این سوالم در سرور سی پنل میاد و جوابشy هستش
=====================
ELS can have an alert email sent to you each time someone logs in as root
اینم میگه که هر وقت کسی به عنوان روت وارد سرور شد بهتون ایمیل بده که انتخاب با خودتونه
=========================
ELS can now install RKHunter .
y
برنامه خوبیه نصب باشه خیلی عالیه
============================
Would you like for RKHunter to run and send you scan details
to your admin email address nightly? (y/n 
y
=============================
ELS can now install CHKROOTKIT
y
===============================
Would you like for CHKROOTKIT to run and send you scan details
to your admin email address nightly? (y/n 
y
==============================
ELS can now install APF
n
================================
ELS can now install BFD .
n
===================================
ELS can now install Libsafe .
y
===================================
ELS can now install MyTOP .
y
===============================
This feature can make the SSH deamon force SSH Protocl 2
n
===============================
This feature can chmod dangerous files only to root 30
y
========================
This feature can disable PHP register_globals .
y
======================
This feature can disable dangerous PHP functions .
y
=========================
This feature can secure and optimize your MySQL configuration .
y
========================
You can now renice MySQL to -10 (higher CPU priority.(
In MySQL intensive environments, overall performance can
increase dramatically by using highest CPU priority,
however in a few cases, this may offer no performance
gain or even decrease performance slightly.
If you wish to undo this, use the following command:
els --undomysqlrenice
n
==========================
This feature can optimize and repair all the MySQL database tables .
n
این مشکلی برای سرور به وجود میاره که بهتره خیر بزنید(با تشکر از دوست عزیز)
====================
ImageMagick is not installed.
ELS can now install ImageMagick.
y
================
ELS can install the Exim Dictionary Attack ACL
Created by Chirpy from ConfigServer Services
n
=====================
Changing SSH to use a non-default port helps prevent
against Brute Force attacks and potential hackers.
If you choose to change the SSH port, ensure the port is
not already in use by another program. There is a chance
of locking yourself out of SSH, so it is recommended to
add your Desktop's IP address to /etc/apf/allow_hosts.rules.
ELS can now change your SSH port for you .
n
==================
Disabling root login to SSH adds an extra layer of security
to prevent hackers from gaining root access. It requires
you to login as a special user and then use the command
'su -' to get prompted for root password and become root.
You should be careful and write the information necessary
down incase you need it .
n
===========================
خب دوستان نصب Els هم تموم شد به همین راحتی و به همین خوشمزگی
تشکرا فراموش نشه
وقت کردم میام توضیح میدم کی به کیه اینا...فعلا اینا رو همین طوری نصب کنید هر کودومم ندونستین پ.خ کنین تا واستون همینجا توضیح بدم
با تشکر