Tuesday, October 29, 2013

Csf tutorial

CSF Advanced Allow/Deny Filters In /etc/csf.allow and /etc/csf.deny you can add more complex port and ip filters using the following format (you must specify a port AND an IP address): tcp/udp|in/out|s/d=port|s/d=ip|u=uid Broken down: tcp/udp : EITHER tcp OR udp OR icmp protocolin/out : EITHER...

Saturday, October 19, 2013

Monday, October 14, 2013

Linux history command(change HISTSIZE variable)

History is a very handy command to see what was typed and executed in a shell for a period of time. For example, you are troubleshooting Linux server and you want to see the last 20 commands executed. $ history 20 Or you want to find all commands with sudo word in them. $ history | grep sudo You...

ĐỒNG BỘ HÓA THỜI GIAN GIỮA CÁC SERVER LINUX - NTP (NETWORK TIME PROTOCOL)

Giao thức NTP (Network Time Protocol - Giao thức đồng bộ thời gian mạng) là một giao thức để đồng bộ đồng hồ của các hệ thống máy tính thông qua mạng dữ liệu chuyển mạch gói với độ trễ biến đổi. Giao thức này được thiết kế để tránh ảnh hưởng của độ trễ biến đổi bằng cách sử dụng bộ đệm jitter. NTP cũng...