The log file of nginx does not have the rotate function. If you do not process it, the log file will become larger and larger. Fortunately, we can write an nginx log cutting script to automatically cut the log file. The first step is to rename the
The cpu usage of the aix system is too high. we found that the cpu usage of oracle is too high today. as long as oracle is used on the machine, it should be caused by SQL statements, it was caused by an SQL statement. The specific operation is as
Common linux compression commands (I) Principles of compression technology: -- Principle 1: because 1byte8bit, eight memory units are contained in each byte, and each memory unit can be 0, 1. When we record the number 1, seven bits should be empty.
The linux command chmod755 indicates that chmod is the command for setting file permissions in Linux. the following number indicates the permissions of different users or user groups. Generally, there are three numbers: the first number indicates
Tcpdump parameter usage description The following describes how to use tcpdump (1) tcpdump option-a converts the network address and broadcast address to the name; -d: the code that matches the information package is provided in an assembly format
Preface I have long wanted to write an article on Linux security settings. One advantage of writing an article is that you can understand your own ideas, and you will be able to remember it if you forget to write an article later. This article is
# Open DNS on this host and external DNS host interaction queries: use udpiptables-AOUTPUT-oeth0-pudp-s $ FW_IP -- sport53-dany/0 -- dport53-jACCEPTiptables-AINPUT-ieth0-pudp-sany/0 -- sport53-d $ FW_IP -- dport53-j
# Enable interaction between DNS
The first type keyword mainly includes host, net, port, such as host210.27.48.2, specifying 210.27.48.2 as a host, net202.0.0.0 specifying 202.0.0.0 as a network address, and port23 specifying port number as 23. If no type is specified, the default
Example 1), # iptables? AINPUT? Ptcp -- dport22? JLOG -- log-level5 -- log-prefix "IPTABLES:" -- log-level: log level is 5, -- log-prefix information is "IPTABLES:" for why log level is 5, possible
IptablesAn example of using the firewall with the
#! /Bin/shechotemp.1echotemp. 3 # There is no limit on how many msn packet tcpdump-f-lnx-s0host192.168.0.1andport1863temp.0lines 'cattemp. 0 | wc-l 'line1while [$ line-le $ lines] do # get the time, ip address, and other information for memo.
#!
Generally, the systems installed by the provider are all self-contained apache Shenma, which occupies the hard disk and occupies the memory. if they are accidentally conflicted, they will be mounted to Shenma ...... That is to cry. So, this adult ...
The first type keyword mainly includes host, net, port, such as host210.27.48.2, specifying 210.27.48.2 as a host, net202.0.0.0 specifying 202.0.0.0 as a network address, and port23 specifying port number as 23. If no type is specified, the default
Tcpdump is a tool used to intercept network groups and output group content. With powerful functions and flexible interception policies, tcpdump becomes the preferred tool for network analysis and troubleshooting in UNIX-like systems. Tcpdump
Among today's many hacking technologies, sniffer is the most common and important technology. Anyone who has used the sniffer tool on windows (for example, netxray and snifferpro) may know that in a shared Lan, using the sniffer tool can provide a
Tcpdump is defined as simple as possible, namely: dumpthetrafficeonanetwork. a packet analysis tool that intercepts packets on the network according to the user's definition. As a necessary tool for the classic system administrator on the Internet,
The biggest advantage of LVM is that it can elastically adjust the file system capacity online. There is an active LV with a capacity of 100 MB. Now we are ready to resize this partition (note that the entire resizing operation is directly online
The communication between user hosts and BAS is divided into PPPoEDHCP/DHCP + WEBPortal. communication protocol between BAS and AAAServer: the standard Radius protocol is used to implement enhanced functions (for example, authorization information
We are running some of the world's largest Internet operations. Therefore, we pay great attention to reliability and stability and are our top priority. Therefore, we only use Linux to support customers' systems. But which Linux release should we
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service