Path of the configuration file when Apache is started in Linux

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 Linux 2.6 kernel module

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)

Basic Linux Assembly knowledge

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,

Obtain information about the Linux File System

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;/*

Linux Kernel _ init & _ exit

Original Definition: Include/Linux/init. h# DEFINE _ init _ attribute _ (_ Section _ (". init. Text ")))# DEFINE _ initdata _ attribute _ (_ Section _ (". init. Data "))) # DEFINE _ exitdata _ attribute _ (_ Section _ (". Exit. Data "))) # DEFINE _

A good memory leak detection tool in Linux

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

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

[Awk] the difference between Linux and Windows is a strange error.

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

Linux LS command

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

Introduction to open functions in Linux

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

Linux driver learning: 1. Establish the kernel tree

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

Solution to "soft" with full disk space in Linux

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 (the cache mechanism for reading and writing files is different from that for windows, so that the cached value for reading and writing large files is very large and remains high)

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.

Research on sigpipe and related errno in Linux socket Data Transmission

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

Linux socket programming protocol family based on local UNIX domain format

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 an ARM Linux kernel tree in x86

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

Linux Kernel tree

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 @

Detailed Description: Server Load balancer for Tomcat and nginx in Linux and the implementation configuration of session sharing by memcached

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

Install JDK and tomcat in Linux and deploy the project and remove the project name.

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.

Introduction to four web server stress testing tools (http_load, webbench, AB, and siege) in Linux

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

Total Pages: 5467 1 .... 3523 3524 3525 3526 3527 .... 5467 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.