Nginx log cutting

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

High cpu usage in the aix system

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

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.

Linux command chmod755

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

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

Fedoracore server security settings tutorial

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

Iptables firewall settings

# 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

How to use the tcpdump command

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

Iptables firewall and log system

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

Common commands for Linux statistical port connection

View connections across all port 80 netstat-nat | grep-i80 | wc-l sort connected IP addresses by number of connections netstat-ntu | awk {print $5} | cut-d: -f1 | sort | uniq-c | sort-n view TCP connection status netstat-nat | awk {print $6} | sort |

Use tcpdump to intercept msn communication data

#! /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. #!

DebianVPS system optimization

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 ...

How to use the tcpdump command in Linux

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 command format

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

How to install and use the tcpdump command in Linux

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

Usage parameters of the tcpdump command

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,

LVM resizing method

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

Introduction to BAS and user authentication methods

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

Why do I choose CentOS instead of Debian/Ubuntu?

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

Summary of using iptables open ports

# Iptables-IINPUT-ptcp -- dport80-jDROP # iptables-IINPUT-s192.168.1.0/24-ptcp -- dport80-jACCEPT # iptables-IINPUT-s211.123.16.123/24-ptcp -- dport80-jACCEPTiptables-IINP #Iptables-I INPUT-p tcp -- dport 80-jDROP# Iptables-I INPUT-s

Total Pages: 2732 1 .... 2589 2590 2591 2592 2593 .... 2732 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.