Problem: After Apache is installed, modify/user/local/apache2/CONF/httpd. the DocumentRoot parameter in the conf file is still accessed in/var/www/html. Apache can be started even if the configuration file is deleted.
The cause is that the
Makefile of the kernel module in Linux 2.6
Favorites
Makefile of the kernel module in Linux 2.6
# Makefile 2.6OBJ-M + = Hello. o
Kdir: =/lib/modules/$ (shell uname-R)/build# Pwd = $ (shell PWD)
ALL:Make-C $ (kdir) M = $ (PWD)
1: syntax differences between Intel and at&t assembly. Intel assembly's target operand is on the left of the original operand, while the latter is on the right of the original operand.
2: $ is added before the immediate Number of at&t assembly,
The members in struct mntent correspond directly to entries in the/etc/fstab file. Its content is as follows:
Struct mntent {Char * mnt_fsname;/* Name of the mounted file system */Char * mnt_dir;/* mount point */Char * mnt_type;/*
Valgrind.
Able to detect
1) Use uninitialized memory2) read/write memory released3) read/write memory out of bounds4) Inappropriate read/write memory stack space5) Memory leakage6) malloc/New/new [] and free/delete/Delete [] do not match.Simplest
Linux Cal commands
Usage: Cal [-mjy] [month [year]Note:Display calendar. If there is only one parameter, the year (1-9999) is displayed. The year must be written in full: ''cal 89 ''will not display the year 1989 region. Two parameters are used to
Question: File A contains two columns per row. The format is url ip, and file B contains one column per row. The format is URL. awk is used to find out whether the URL in file B is in file a. If yes, output the URL and corresponding IP address (the
Usage: ls [Option]... [file]...List the information (the current directory by default ).If-cftuvsux or -- sort is not specified, it is sorted by letter size.
Parameters required for long options are also required when short options are used.-A, --
The open function is used to open and create files. The following is a brief description of the open function.
# IncludeFcntl. h>
Int open (const char * pathname, int Oflag,.../* mode_t mode */);
Returned value: if the operation is successful, the
First, why should we establish a kernel tree? Because we know that the driver can be compiled into the kernel for execution, or loaded into the kernel as a module for execution. The kernel of the driver version 2.6 is different from that of the
Due to the unreasonable design during system installation, the rapid growth of log files due to network communication faults, and other reasons, such as the full disk space, may lead to the inability to read and write disks, the application cannot
Linux memory count
Another calculation ......
Using Oracle in recent days, we have found that Oracle uses a memory of up to 10 MB. Khan, quickly asked the manager to buy a new 1g memory to install, and then found that they could not recognize it.
Socket send error
(15:50:53)
Reprinted
Tags:SocketSendIt
Research on sigpipe and related errno in socket Data TransmissionI haven't done c development for a long time, and recently I have been focusing on old business.I heard
Header file:
# Include # Include # Include # Include # Include # Include # Include # Include # Include # Include # Include
Server code:
Int main (INT argc, char ** argv){Struct sockaddr_un address;Int sock, Conn;Int addrlength;Char Buf [1024] = {0
Build Linux kernel tree for ARM platform Date: | category: Linux | tags: Miscellaneous
Copyright statement: reprinted in the form of hyperlink to indicate the original source and author information and this statement http://jezze.blogbus.com/logs/156
Kernel tree ~ O 'Reilly's Linux device drivers have repeatedly stressed that kernel trees must be built when writing drivers. The so-called kernel tree is a logical form of kernel source code.
First, check the kernel version used by your OS.
Shana @
Preface:I have been working on nginx Load Balancing for the last few days. After nearly a week, I checked a lot of information on the Internet and finally ran a series of processes and functions today. During the course of study, I found that most
1. preparations:01, download 1: apache-tomcat-6.0.35.tar.gz. 2, jdk-6u18-ea-bin-b01-linux-i586-20_aug_2009.bin.02. Prepare the war package for the ishowchina project.03. The installation directory of this example is/usr/local/
2. Install JDK:01.
I. http_loadThe program is very small, and less than 100 kb after decompressionHttp_load runs in Parallel Multiplexing to test the Web server throughput and load. However, unlike most stress testing tools, it can run in a single process without
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