1. What is INotifyINotify is the Linux 2.6.13 kernel to start supporting features, can monitor the specified file or directory changes and generate messages, generally combined with rsync, to achieve real-time file synchronization.2. Installation of
1. Registering a soft interrupt is of course through OPEN_SOFTIRQExamples are as follows:[CPP]View PlainCopy
void __init init_timers (void)
{
int err = Timer_cpu_notify (&TIMERS_NB, (unsigned long) cpu_up_prepare,
(void *) (long)
18th Chapter Commissioning
First, the preparation before the start of commissioning1. Getting Started
Bug
The version that hides the bug
Knowledge of related kernel code
The key to successful debugging is the ability to
Download websiteDownload the required versionExtractTar-xzf apache-maven-3.2. 3-bin. tar.gz Setting environment variablesEnvironment variables are divided into user variables and system variables.User Variable profile: ~/.BASHRC (hidden files in
File packaging and compression
Command
Options
Annotations
Example
Compress
Filename
Compresses the specified file in a compressed format of *.Z
Compress Install.log
-D
The kernel is designed in two ways: single-core and micro-core, both of which have pros and cons, and a comparison of the two can be found in wikis. Windowds and Solaris use a microkernel structure.The Linux kernel uses a single kernel structure,
1. Get the IP addressWindows:ipconfigLinux:ifconfig2. Go to the foldercd folder path3. RestartShutdown-r time (when )Reboot immediate Restart4. View the directory structurell query folderLl-a View All FilesLsDir5. View the current pathPwd6. Clear
18th Chapter Debug18.1 ready to start Things to prepare for:L A BUG: Most bugs are usually not reliable and well-definedL A kernel version that hides bugs: Find out which version of the bug first appearsL knowledge and luck related to kernel
There are many reasons why ping does not work, but the direct representation of the network is not successful communication;There are 3 main network modes used when building the interaction between the virtual machine and win:
Bridging Bridge
1. The throughput rate here refers specifically to requests processed within the Web server unit time. 2. Premise of stress test:1> number of concurrent users 2> total requests 3> Request Resource Description 3. Average user request Wait time the
As we all know, Apache Port 80 is the system reserved port, if it is started by other non-root users, the error is as follows: ( -) Permission Denied:make_sock:could not bind to address [::]: the( -) Permission Denied:make_sock:could not bind to
Add Nginx to System service nginx (start | stop | restart | reload), nginxreload
Vim/etc/init. d/nginx
1 #! /Bin/bash2 # nginx Startup script for the Nginx HTTP Server3 # it is v.0.0.2 version.4 # chkconfig: 2345 30 305 # description: Nginx is a
The AMD graphics card driver will be open-source and support Linux systems.
AMD has just made an important decision for the future of the company to become open-source. In addition to announcing that the Linux graphics card driver is open-source,
Linux and linux wildcardsOverview
This section describes how to use linux wildcards. Skillful Use of wildcards can improve work efficiency and simplify some complex processing steps.
Body Test Data
touch a a6.log abc.log ac.txt b c c5.txt x.log A"*
Use of relative paths, absolute paths, and cd commands
Cd (change directory) directoryJump to the specified directoryThere are two types of path definitions: absolute path (absolute) and relative path (relative)Absolute path: the file name or
Install git in Centos 6.7
Written in front: the blogger is a linux hacker. As soon as he got in touch, he was ready to install git on linux and encountered various small issues.1. From # to $, create your own user2. yum failure3. Solve the Problem
Install lemp on CentOS
Generally, the Nginx system architecture is used for large website construction environments, which is more vulnerable to threads and pressures than Apache. However, Apache environments are sufficient for general blogs and
Quick configuration of Rsync file backup service in centos
Rsync simple and quick Configuration
Rsync supports full and incremental local or remote data backup. An rsync is equivalent to scp, cp, rm, but better than each of their commands. Because
Create multiple SVN version Libraries under OcentOS
Create multiple SVN version Libraries under OcentOS
The SVN server version library has two formats,
One is FSFS,
One type is BDB
After a file is uploaded to the SVN version library, the uploaded
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