Category: Linux

Tất cả về linux

Configure Redis to Use Unix Socket Speed Boost

Redis is a high speed caching system for storing objects in RAM. It works well with WordPress and WooCommerce as an object cache for storing transients so they are not stored in the MySQL database. On WooCommerce particularly this can help a lot because of the number of transients used by plugins, orders and shoppers. Unix […]

Hướng dẫn đồng bộ thời gian trên Linux và Windows

Khi nói đến việc đồng bộ hóa thời gian cho mọi hoạt động, Network Time Protocol (NTP) sẽ giúp chúng ta giải quyết cả hai vấn đề, cung cấp cho người dùng thời gian chính xác trải dài trên nhiều thiết bị khác nhau. NTP là một giao thức internet – được sử dụng để đồng […]

Tạo SSH key trên Ubuntu/Linux

1. Khởi tạo cặp SSH key – keypair mới Mở terminal (Ctrl + Shift + T với Ubuntu), chạy lệnh: Ở đây bạn có thể chọn tên file cho SSH, mặc định là id_rsa. Nếu bạn chưa có SSH key nào, chúng tôi khuyến cáo bạn dùng tên này. Sau khi chọn tên file, Terminal […]

How To Fix 8 Common Errors on CSF (ConfigServer Security & Firewall)

ConfigServer Security & Firewall (CSF) is one of the most advanced firewalls available for Linux servers. It can be easily installed on almost all Linux-based operating systems, including RedHat Enterprise Linux (RHEL), CentOS, CloudLinux, Debian, Ubuntu, Fedora, and OpenSUSE. In addition, almost all types of virtual private servers are also compatible with CSF Firewall like KVM […]

Hướng dẫn cài đặt và cấu hình CSF Firewall chi tiết nhất 2021

1. CSF Firewall là gì CSF (ConfigServer Security & Firewall) là tường lửa Stateful Packet Inspection (SPI) mã nguồn mở phổ biến, giúp bảo vệ hệ thống sử dụng hệ điều hành Linux. Ngoài các tính năng cơ bản của Firewall là filter packet in/out thì CSF còn hỗ trợ ngăn chặn các cuộc tấn công […]

Giải thích và sử dụng CSF (ConfigServer & Firewall)

Các câu lệnh thường dùng trong CSF (ConfigServer & Firewall) Lệnh Chú thích Ví dụ thực tế csf -e Bật csf (start csf) [root@sv ~]#csf -e csf -x Tắt csf (stop csf) [root@sv ~]#csf -x csf -s Bắt đầu các quy tắt tường lửa (Start the firewall rules) [root@sv ~]#csf -s csf -f Flush/Stop firewall […]

Định cấu hình SSL cho Docker

Thiết lập SSL cho Docker của bạn bằng proxy Nginx. Khi bạn đã cài đặt Kendis Docker và nó hoạt động, bạn có thể làm theo các bước sau để định cấu hình SSL. Bước 1: Tạo thư mục Tạo một thư mục với tên ” docker_ssl_proxy ” để lưu trữ tệp cấu hình NGINX […]

Allow Outbound SMTP

How to Configure CSF to Allow Outbound SMTP? When we enabled CSF on the server, most of the WordPress users are having issues with sending emails. After disabling the CSF, the sender will be able to send the emails. To fix this issue, you would need to allow the SMTP on server firewall. For more […]

Cấu hình CSF chống DoS, chống Hack (ConfigServer & Firewall)

– File cấu hình nằm ở /etc/csf/csf.conf , các file còn lại được nhắc đến bên dưới nếu không nêu rõ đường dẫn thì đều nằm ở thư mục /etc/csf/ – Các tham số khi cấu hình có dạng ARGS = “VALUE” , trong đó + VALUE = “0” => Disable + VALUE = “1” […]

Reset Password CentOS7 Cloud OpenStack

Truy cập lại ổ đĩa khởi động Kernel   2. Ở file cấu hình console dòng “linux16” Remove tất cả tham số bắt đầu “console=” và thêm vào “rd.break enforcing=0” ở cuối dòng. 3. Nhấn Ctrl + X để vào boot, kết quả như hình. 4. Gộp root filesystem read write mount -o remount,rw /sysroot Bây […]