Design patterns of several concurrent servers under Linux1> single-threaded or single-processThe equivalent of a short link, when the accept, the start of data reception and data transmission, do not accept new connections, that is, a server, a
1. Command format:diff[parameter [file 1 or directory 1][file 2 or directory 2]2. Command function:The diff command can compare individual files or directory contents. If you specify that the comparison is a file, it is only valid if the input is a
One, the file descriptorFor Linux, all operations on a device or file are performed through a file descriptor. When a file is opened or created, the kernel returns a file descriptor (non-negative integer) to the process. Subsequent operations on the
1. What is the command to get an IP address automatically? Do you know under what circumstances your Linux can automatically obtain an IP address?Use the command dhclient to obtain an IP address automatically, only if our Linux network has a DHCP
Question EightStart Apache Error:[Sun Dec 27 11:28:26 2009] [Alert] (EAI 2) Name or service not known:mod_unique_id:unable to find IPv4 address of "Vm85.bc.com″Configuration FailedAdd in/etc/hosts:127.0.0.1 vm85.bc.comQuestion NineStart Tomcat Error:
First, about the Linux partition situationAlthough the hard disk partition table can store up to four partitions, but we actually use only two partitions, one is the primary partition (Primary partion) is an extended partition (extended partition)
"Summary of common commands for Linux"1. Create a directory--mkdir2. Explicit directories and files in long format--ls ld3. Switch directory hierarchy--CDEnter the new directory and enter the new folder.4. Create a file or modify a file
Linux SVN useBlog Category:
Linux
SubversionsvncentoslinuxSVN is a version management system, formerly known as CVS, which is the cornerstone of open source software. Even in the case of sufficient communication, many people maintain
FileFile typeCreate a fileChange permission bitSymbol modeR W x: File owner Permission This is the previous three bitsR-x: Same group of user rights This is the middle three bitsR-x: Other user rights This is the last three bitsThe general format of
File Search Command The which command, which can be used to query the path where a command exists, so you know who can use it. Attach can see the command's alias record, that is, the LS will automatically color the folder. Discussed in the previous
1. User Management Commands(1) User add command Useraddcommand format:useradd [options] Username option:-u UID: Manually specify the UID number of the user-D home directory: Manually specify the user's home directory-C user description: Manually
Name: He WeizinStudy No.: 20135223(* Original works reproduced please specify the source *)(Learning course: Linux kernel Analysis MOOC course http://mooc.study.163.com/course/USTC-100002900)Learn about the Linux kernel and understand the Linux
High Linux cpu usage debugging
After the top command is used to debug the program today, the cpu usage of the program is found to be very high and it has been running at 99. This is terrible, so we can debug the program.
Use the top command to
Linux tree Command learning notes
The Linux tree command is used to list the contents of a directory in a tree chart. Run the tree Command to list all the files in the specified directory, including the files in subdirectories.
Syntax
Tree
Fully Distributed Hadoop cluster installation in Ubantu 14.04
The purpose of this article is to teach you how to configure Hadoop's fully distributed cluster. In addition to completely distributed, there are two types: Single-node and
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