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

Linuxif condition judgment statement

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

LinuxGrub2 guides you to modify the background image

LinuxGrub2 guides you to modify the background. change the boot background image: add the background image to/boot/grub/and click OK. * is supported *. jpg *. JPG *. jpeg *. JPEG *. png *. PNG *. tga *. TGAwww.2cto. com2. modify the default

Ubuntu12.10serverNginx product installation

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

Recommended books for LINUX

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

Configure port ing in iptables

[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

Differences between RHEL (RedHatEnterpriseLinux) and CentOS (8)

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

Bugzilla installation configuration process record

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

Resolve Netfilter & iptables and DNAT in Linux

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

Tcpdump filters specified ports

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.

RHEL6.2 system configuration use local yum source

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

64-bit CentOS6.5 system installation and configuration Tomcat + MySQL (rpm) JSP environment

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

Debian Linux kernel compilation method

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-

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

UbuntuLinux system configuration/etc/fstab enables automatic mounting of hard disk partitions upon startup

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

AWK operators in AIX

[Plain] www.2cto. comawk operator & mdash; & mdash; & md [Plain] www.2cto.com AWK operator ----------------------------------------------------------- = + = * ==%= ^ = assignment operator in the awk language under AIX? Conditional expression

In linux, the top command calculates the memory size used by each user.

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 account enabling + modifying file attribute permissions

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

Install ant in linux

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:

Total Pages: 2732 1 .... 2672 2673 2674 2675 2676 .... 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.