First, modify the operating system core parameters
Under root user, perform the following steps:
1 Modify the user's shell restrictions, modify the/etc/security/limits.conf file
Enter command: vi/etc/security/limits.conf, press I to enter edit mode
Original paste: http://www.sudu.cn/info/html/edu/linux/20080102/290238.html
Xargs
Most Linux commands produce output: A list of files, a list of strings, and so on. But what to do if you want to use one of the other commands and take the output of
Source: http://www.zkbhj.com/articles/?id=3863
We can install Composer via Composer mirroring, before you make sure that you have PHP installed on your machine and that you can execute commands through PHP. If your server must be executed on a full
1. You can see which ports are open by "~$ NETSTAT-ANP".
(Note: The parameter '-n ' will turn the application to the port display, that is, the number format of the address, such as: nfs->2049, ftp->21, so you can open two terminals, each
The following code is the value of a parent-child process alternating print variable counter. Because after fork, the child process copies the stack of the parent process, the signal processing function, the signal screen word, and the following
One, memory image
When you run the program, the system automatically maps a virtual memory, and the application runs in such a virtual memory space as follows:
Second, storage typeIn C, when defining a variable or an array, the variable or array's
Related Concepts
Competitive Conditions
Multiple thread of execution (process/thread/interrupt handler) accesses a shared resource concurrently (in parallel) because the execution order is different, resulting in a different result, called a
1. Get download Linux version Apache, here is the download version: httpd-2.2.22.tar.gz
2. Download the file through the FTP upload tool uploaded to the Linux directory, here is the directory to upload:/usr/java (Java for its own new
Important NOTE: The main information of this article is from Dr. Zhao's "Linux kernel full annotation" book, the other part of the information from the Internet. This article should be a form of reading experience, but also hope to provide some
1. Check the process PS command to find the process-related PID number: PS A shows all the programs under the current terminal, including other user programs. PS-A Displays all programs. PS C when listing the program, displays the actual instruction
Question: If there is no network, how to use the Yum source.
Answer: Use CD to build Yum source
Build steps:
1. Mount CD
Mkdir/mnt/cdrom #建议挂载点mount/dev/cdrom/mnt/cdrom/#挂载光盘
2, the network Yum source failure
Cd/etc/yum.repos.d/#进入yum源目录MV
1, recently in the write I2C under the EEPROM driver, but found that using the I2c_new_probed_device function can not enumerate to the device, so want to debug the function (in driver/i2c/i2c-core.c), see some of the debugging information is as
Linux crontab Command format
Basic format:* * * * commandTime-sharing and Lunar Week command
The 1th column represents minutes 1~59 per minute with * or */1The 2nd column represents the hour 1~23 (0 for 0 points)The 3rd column represents the date 1~3
I.IDR mechanismI.IDR IntroductionMany of the system's resources are identified with an integer ID, such as process ID, file descriptor ID, IPC ID, and so on; Resource information is usually stored in the corresponding data structure (for example,
There are two files A.txt and b.txt in a directory, the file format is (ip,username),Columns such as:A.txt
127.0.0.1 Zhangsan127.0.0.1 Wangxiaoer127.0.0.2 Lisi127.0.0.3 Wangwu
B.txt
127.0.0.4 Lixiaolu127.0.0.1 Lisi
At least 1 million lines per file,
solving the problem of producer and consumer by signal quantity
experimental purposes
Through the experiment, grasps the windows and the Linux environment mutually exclusive lock and the signal quantity realization method, deepens to the critical
Server version of Linux installed, but there is no graphical interface, we can only go through the console to the operating system, we have to use a similar DOS command of the Linux command to the operating system, then we have the following Linux
For a friend who often uses Linux, it's annoying to have to type in a lot of commands every time you want to input a large number of times, and often to enter them more than once, for each repeat input or "↑" to select historical input, and today we'
What you will encounter at work
A program needs to be executed every minute to check the system running status
Daily Lincheng need to count business data for the past day
Log files need to be backed up every week
Need to back up
Linux view ports are occupied1, Lsof-i: Port number is used to view the occupancy of a port, such as viewing 8080 ports usage, lsof-i:8080If you execute the lsof-i:8080 system prompt:-bash:lsof: Command not found, install lsof using yum install lsof
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