mutual exclusion between processes, We can let these processes share a memory area (MMAP implementation) and then use some type of synchronization variable in that shared memory areaHowever, fcntl record locks are often easier to use.#include
Memcache is a high-performance, distributed memory object caching system for reducing database load and increasing access speed in dynamic applications. It is said that the official says its users, including Twitter, Digg, Flickr, and so on, are
ObjectiveOne of the most important ideas in the Linux system-"Everything is a file"-can be said throughout Linux. The general understanding of this concept of files are word,excel,txt such an editable viewable program, Linux will all the hardware
Disk Management---Creating file systems and Mounts
Creating a file system
Formatting[Email protected] devices]# MKFS.EXT4/DEV/SDB1Or[Email protected] devices]# mkfs-t EXT4/DEV/SDB1MKFS.EXT4 Options when formatting:-b--specifying the
Follow Marco Network full course learning routeReally start System learning Linux, a lot of chewing Linux basics650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6F/5F/wKiom1WaRyWxQQfKAAHvgNx5TSA378.jpg "title=" Qq20150706170017.png "alt="
1.chmodFunction: Change the permissions of the fileGrammar:chmod u/g/o +/-/= r/w/x filenameExample: chmod u+wx filenamechmod g=rwx filenameR-4W-2X-1For example: rwxr-xr--corresponds to 754chmod 754 filenameFurther understanding of file
How to view the current host name:#hostname650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6F/68/wKioL1Wbhj7x68vFAAA1hRoL7xM984.jpg "title=" b_x~ W3pouehc~g{y64umn3s.png "alt=" Wkiol1wbhj7x68vfaaa1hrol7xm984.jpg "/>To modify the current
Both path and Ld_library_path are variables, and the so-called variables mean that they are assigned by others, and intuition tends to allow us to add and reduce certain paths to the variable itself, which is actually not true. The right thing to do
This article is reproduced, the original address is: http://www.cnblogs.com/ggjucheng/archive/2013/01/13/2856901.htmlIntroductionSed is an online editor that processes a single line of content at a time. When processing, the currently processed rows
ForkWhen you run a script using fork, it is the shell (parent process) that produces a child process to execute the script when the child process finishes , the parent process is returned, but the parent process environment is not changed by the
Linux lvs DR configuration and linuxlvsdr Configuration
Three servers, (1) routing, (2) (3) realserver
IP Address: 192.168.196.121 (1)
192.168.196.122 (2)
192.168.196.123 (3)
Install ipvsadm on (1) load banlance Machine
Before installation, check
Delete unused LINUX kernel after linux update.Delete unused LINUX kernel after LINUX updateWhen I was using fredoa 21, I had to upgrade the system several times for Nic drivers without knowing it. After each startup, there were several kernels for
One linux Command every day (20): find command exec, findexec
Find is a commonly used Linux Command, but we generally look for it not only, but also further operations. At this time, the role of exec becomes apparent.
Exec explanation:
-The exec
How to connect to a wireless network in CentOS 7
How to connect to the wireless network in CentOS 7. Although I have consulted the relevant network materials, the following content is original content, only dry goods, no nonsense.
1. Switch to the
Update the python version of centos and centospython.
Because a later version of python is required to install a program today, you can upgrade the python that comes with the system.
First, query the python version of the system.
#python -V
Show is 2
Linux Kernel compilation Test
Kernel Compilation:Step 1: configure the kernel compilation options.
make menuconfig
Optional Step: exclude dependencies between compiled result files (. o.
make mrproper
Optional Step: Clear the Historical Compilation
Head and tail commands in linux
Head syntax example tail syntax example head and tail combination usage exampleHead syntax
head [-n -k ]... [FILE]...
Example
The first 10 rows are displayed by default.
head /etc/passwd
Displays the first k
Build an Apache multi-site
A lamp environment is built with Apple MacBook, but a problem occurs when multiple sites are used: you don't have permission to access/on this server. After reading the information, some of them are deny problems, and some
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