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
Linuxif condition to determine whether Statement 1 has a directory: if [! -X $ dirname] Whether the thenmkdir $ dirnamefi2 file exists in www.2cto. comif [! -E $ filename] whether a string if exists in the thentouch $ filenamefi3 text! (...
In
The source code is always downloaded from the Nginx site for compilation and installation, from manual mode to automatic script. However, if you want to deploy multiple machines, this method is obviously not good, so do not drag the deployment into
Since last year, I started my Linux learning with a learning attitude. now, it has been almost a year, and I have gained a lot. I dare not say that I am proficient in Linux. However, I am still worthy of the word "slightly understood. I have read a
[Environment description] Gateway Server: (connect two different networks, redhatenterpress5.0) eth0: 10.1.154.86eth1: 192.168.203.128WEB server: IP: 10.1.154.100 client: IP: 192.168.203.100LINUX firewall function must be enabled! Otherwise, the
1. The first difference between RHEL and CentOS in your eyes is the logo, and then the yum source. 2. differences between RHEL/CentOS and other Linux releases. ubuntu, which has been used for a long time recently, has developed the auto-complete
I configured a bugzilla in the previous group because of project requirements, and encountered some minor problems in the middle, so I recorded the process. after several months of operation, I moved from the Internet to the intranet, these two
Netfitler maintains a table named NAT in the kernel for nat to handle all operations related to address ING. Such as filter, nat, mangle, or raw. some of the table concepts in the user space exist in the kernel in the form of modules, such as filter;
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
Tcpdump is used to filter a port. generally, Tcpdump is used when we use tcpdump: Java code tcpdump-iethx. the command below is to view the access volume of port 80 and sort it, take the first 20 Java code tcpdump-ieth0-tnndstport80-c1000 | awk-F.
1. mount the local CD to the system: Mount the rhel6.2 installation CD to the optical drive, run mkdir/media/rhel in the command line of the terminal. # create the mount/dev/cdrom/media/rhel Directory. # mount the disc to the cd/media/rhel directory
System environment and related installation package: CentOS6.564-bit system tomcat6: apache-tomcat-6.0.39.tar.gzmysql5.1.17: rpm package jdk1.6: jdk-6u29-linux-x64.binjdbc: mysql-connector-java-3.1.13-bin.jar1, install mysql, rpm installation
System
1. the traditional way to compile the official kernel directly in the console, the need for the following software package bin86-16-bitassemblerandloaderdiff-Filecomparisonutilitieslibc6-dev-GNUCLibrary: DevelopmentLibrariesandHeaderFileslibncurses5-
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
Basically, all Linux distributions Mount partitions when starting the system according to the/etc/fstab file configuration. In/etc/fstab, the Mount parameters are also different for partitions in different formats, and the results are different for
In linux, the top command is used to calculate the memory size of each user. the script content is as follows: www.2cto.com #! /Bin/shiftest $ #-eq2thenusername $1 resindex $ 2summ 'top-n1-u $ username | awk-vres $ resindex & amp; #39 ;...
In linux,
Ubuntu10.04root's account enabled + permission to modify File attributes has been viewed online for a long time and has not been completed yet. when it was achieved, I suddenly realized that it was easy to share my experience with Cainiao, change
Linux installation of antapacheant Web site: http://ant.apache.org/www.2cto.com:apache-ant-1.8.4-bin.tar.gzhttp://labs.mop.com/apache-mirror/ant/binaries/apache-ant-1.8.4-bin.ta
Install ant apache ant in linux web site:
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