In this article, we will make a summary document of our own brief understanding of the kernel synchronization mechanism. Within Linux, a series of methods are provided to provide mutually exclusive access to shared resources, as outlined
Linux View disk remaining space[Email protected]:~$ df File System 1k-blocks used available% mount point/dev/sda8 19554840 7407460 11130996 40%/none 4 0 4 0%/sys/fs/cgroupudev 1540740
Only the more commonly used parameters are listed here, please see man iptables for details.1. ViewIptables-nvl–line-number-L View all the rules for the current table, which is the filter table by default, and if you want to view the NAT table, you
▲ Routine CommandsAt ???? execute only once, from Linux In the task of cancelingcron???? will continue to work on a routine basis?▲ at at instruction can write work commands to a work log file, and the work log file is stored by default in
The distribution of Linux includes both commercial and non-commercial categories.Non-commercial versions are available in the following ways:CentOS: Emulate Red Hat Enterprise Linux.debian:www.debian.orgFedora:red Hat Company's community
Handavei @ Jilin Normal University2015.1.27.Reprint please indicate the source*********************************************Uboot and Linux Flash write speed is not the same, the main reason is that the delay between the use of the minimum latency
1, the role of the partner system:The partner system is primarily designed for efficient use of physical memory, minimizing the generation of memory fragments2, the concept of the partner system:Memory in the system is always 22 grouped, and two
Linux kernel-related1,linux Kernel memory allocation function summary
Unit
Interface
Algorithm
Dynamic size
Kmalloc/kfree/krealloc/kcalloc
An array of caches organized by size
Fixed
One, why need high-end memoryA: For a 32-bit machine, the maximum Linux virtual memory is 4G, where 3-4g space is used as the kernel space, considering that if the physical memory is greater than 1G, then the physical memory can not be fully mapped,
1. Modify the/etc/profile fileThis approach is recommended if your computer is used only as a development, because all user shells have the right to use these environment variables, which can pose a security issue for the system.• Open/etc/profile
Recently began to learn Linux, do not want to toss a dual system or virtual machine, followed by a Cygwin in the Windows simulation Linux environment.First, install some common plug-in packages: Make, gcc, g++, awk, sed, vim, and so on.First of all,
Large-scale deployment of unattended Centos 7
Specify a network architecture
If you have any problems during the installation process, you can communicate with each other. I have been involved for several days.1. Install DHCP, tftp, and HTTP.
[Root
Multi-thread synchronization in Linux and multi-thread synchronization in linux
When multiple threads share the same memory, make sure that each thread sees a consistent data view. When multiple threads modify the memory at the same time, there may
Batch deployment of unattended installation of Centos 6
Network Architecture Used for large-scale deployment and installation of Centos 6
We know that we must first install the DHCP service, tftp service, and NFS service on the server. In Centos 6
Smoke test)
Reasons for Smoke Testing:
Smoke testing should be the first concept proposed by Microsoft, which is closely related to the daily build that Microsoft has been advocating.
Specifically, the smoke test is a simple test of the basic
Compile and set the Eclipse plug-in of Hadoop2.6.0
Compile the eclipse plug-in of Hadoop2.6.0
Download source code:
Git clone https://github.com/winghc/hadoop2x-eclipse-plugin.git
Compile source code:
Src/contrib/eclipse-pluginAnt jar-Dversion = 2.6.
Solution to Chinese garbled characters in Tomcat application logs
Problem
Sometimes the output logs in Tomcat are garbled characters in Chinese, including garbled characters in the console window and output log files.
Solution
JDK reference
CentOS + Nginx step by step to configure Server Load balancer
Nginx Load Balancing
Nginx is a lightweight and high-performance WebServer. It can do the following two things:
As an http server (same as apache)
Server Load balancer as a reverse
How to configure the Chinese word divider mmseg4j in Solr
There are many splitters for Solr. The two most commonly used are mmseg4j and ik-analyzer. The differences between the two splitters can be found and compared online. The Solr environment I
An error is reported when you execute a wordcount instance in pseudo-distribution mode. solution:
Problem 1: memory cannot be allocated. The error message is as follows:
FAILEDJava. lang. runtimeException: Error while running command to get file
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