Chào mừng bạn đến với Diễn Đàn Máy Chủ - Chia sẽ kiến thức máy chủ.
  • Đăng ký
    • Login:
    Server Dell email 247 Tên miền Hosting giá sốc Tang loa Frei Tang loa Frei Tên miền tiếng việt giá bèo cdn rẻ vô địch May Chu Khong Lo - Gia Xi Trum SSL 2 nam giam 15%
    + Trả lời bài viết
    Hiện kết quả từ 1 tới 2 của 2
    1. #1
      Advisors
      Tham gia ngày
      Aug 2009
      Đến từ
      Nha Trang
      Bài gửi
      1.287

      Mặc định Cài đặt csf firewall !

      Ưu điểm tích hợp với cpanel và directadmin ,webmin :
      ################################################## #############################
      # Copyright 2006-2009, Way to the Web Limited
      # URL: http://www.waytotheweb.com
      # Email: sales@waytotheweb.com
      ################################################## #############################


      Installation
      ============
      Installation is quite straightforward:

      rm -fv csf.tgz
      wget http://www.configserver.com/free/csf.tgz
      tar -xzf csf.tgz
      cd csf
      sh install.sh

      Next, test whether you have the required iptables modules:

      perl /etc/csf/csftest.pl

      Don't worry if you cannot run all the features, so long as the script doesn't
      report any FATAL errors

      You should not run any other iptables firewall configuration script. For
      example, if you previously used APF+BFD you can remove the combination (which
      you will need to do if you have them installed otherwise they will conflict
      horribly):

      sh /etc/csf/remove_apf_bfd.sh

      That's it. You can then configure csf and lfd by edit the files
      directly in /etc/csf/*, or on cPanel servers use the WHM UI

      csf installation for cPanel is preconfigured to work on a cPanel server with all
      the standard cPanel ports open.

      csf installation for DirectAdmin is preconfigured to work on a DirectAdmin
      server with all the standard DirectAdmin ports open.

      csf auto-configures your SSH port on installation where it's running on a non-
      standard port.

      csf auto-whitelists your connected IP address where possible on installation.

      You should ensure that kernel logging daemon (klogd) is enabled. Typically, VPS
      servers have this disabled and you should check /etc/init.d/syslog and make
      sure that any klogd lines are not commented out. If you change the file,
      remember to restart syslog.

      See the readme.txt file for more information.

      Webmin Module Installation/Upgrade
      ==================================

      To install or upgrade the csf webmin module:

      Install csf as above
      Install the csf webmin module in:
      Webmin > Webmin Configuration > Webmin Modules >
      From local file > /etc/csf/csfwebmin.tgz > Install Module


      Uninstallation
      ==============
      Removing csf and lfd is even more simple:

      On cPanel servers:

      cd /etc/csf
      sh uninstall.sh

      On DirectAdmin servers:

      cd /etc/csf
      sh uninstall.directadmin.sh

      On generic linux servers:

      cd /etc/csf
      sh uninstall.generic.sh

      ================
      Nếu phát sinh lỗi
      Checking for perl modulesfailed
      You need to install the LWP perl module (libwww-perl) and then install csf
      Fix :
      yum install perl-libwww-perl
      Chấp Nhận Thua 1 Trận Chiến Nhưng Sẽ Thắng Cả Cuộc Chiến .

    2. #2
      Experts
      Tham gia ngày
      Nov 2011
      Bài gửi
      31

      Mặc định

      Link wget http://www.configserver.com/free/csf.tgz này không còn này, mọi người thay thế thành link sau nhé

      https://download.configserver.com/csf.tgz

     

     
    + Trả lời bài viết

    Thread Information

    Users Browsing this Thread

    There are currently 1 users browsing this thread. (0 members and 1 guests)

    Chủ đề tương tự

    1. firewall cứng
      By hidenmagic in forum Tin Tức Bảo Mật
      Trả lời: 2
      Bài cuối: 01-03-2018, 04:08 PM
    2. TƯỜNG LỬA (Firewall)
      By quanmaster in forum Firewall & Proxy
      Trả lời: 0
      Bài cuối: 15-02-2010, 06:08 PM
    3. Setup AFP firewall trên Linux
      By vô danh in forum Linux General
      Trả lời: 0
      Bài cuối: 19-08-2009, 04:34 PM
    4. Firewall nho nhỏ hỗ trợ cho server *nix !
      By vô danh in forum Security & Anti Virus
      Trả lời: 0
      Bài cuối: 19-08-2009, 03:13 AM

    Quyền viết bài

    • Bạn không thể gửi chủ đề mới
    • Bạn không thể gửi trả lời
    • Bạn không thể gửi file đính kèm
    • Bạn không thể sửa bài viết của mình