1, the function that prohibits kernel preemption is preempt_disable (), the method that allows kernel preemption is preempt_enable ()2, why call Preempt_disable () to close the preemption case before the real lockhttp://blog.csdn.net/kasalyn/article/
After executing a command with the administrator, the command is moved to the background with CTRL + Z. Causes the root cannot be exited.Input command: ExitTerminal display: There is stopped jobs.Workaround:Method One, enter the command:
Kernel-related parametersRelevant kernel parameters, if conditions can be modified parameter test validation.1,/proc/sys/vm/dirty_ratioThis parameter specifies how much of the file system caches dirty pages (such as 10%), and the system has to start
First, the NTP principle of the timeThe direction of NTP synchronization is to propagate from a node with a smaller stratum value to a larger node, and if an NTP client receives a stratum larger than itself, the NTP client thinks its time is more
du command : Displays disk usage space for each file and directory command format:du [options] [file]-K or--kilobytes output in kilobytes (1024bytes).-M or--megabytes is output in megabytes.-S or--summarize displays only the totals, listing only the
SVN Server Build- up ----- based on Red Hat Enterprise Linux Server release 6.4 (Santiago) ; Subversion1.6.11 Introduction: svn is a version management system, formerly known as CVS, are open source software. In order to improve efficiency,
In general, you need to specify the path of the compilation tool when configuring the cross-compilation tool chain, and you need to set the environment variables. For example, my MIPS-LINUX-GCC compiler is in the "/opt/au1200_rm/build_tools/bin
"Copyright Notice: respect for the original, reproduced please retain the source: blog.csdn.net/shallnet or .../gentleliu, the article is for learning communication only, do not use for commercial purposes"When there are multiple processes in a
shutting down the firewall from the configuration menu is not working, simply do not install the firewall at the time of installationTo view the firewall status:/etc/init.d/iptables StatusTo temporarily turn off the firewall:/etc/init.d/iptables
Shotcuts
Description
History
Show command History list
Ctrl+p
Show Previous command
CTRL + N
Show Next command
!num
The NUM command that executes the command history
Special permissions for GNU Linux-setuid, setgid, stick bit, and-setuidsetgid
/********************************************************************* * Author : Samson * Date : 01/06/2015 * Test platform: * 3.13.0-24-generic *
Start Node. js development in Ubuntu
Node. js learning has been put down for almost two months, and the world has changed so fast that many things have changed and express has been upgraded to 4. x, the change is not small!
My original learning
Iptables configure NOTRACK and TRACK of conntrack
Iptables itself does not have a TRACK target, so you cannot specify the whitelist of data packets to be processed by the conntrack module. For example, I want to achieve this: Besides the need to be
Analysis of SSH operations in Linux1. view the SSH status:
Service sshd status
Check whether ssh has been started and some status information
2. Start the SSH service:Systemctl restart sshd. service
Ps: some basic services under fedora are
Linux Command-sortName: sortLocation:/Usr/bin/sortPermission:All usersUsage:Sort [OPTION]... [FILE]...Sort [OPTION]... -- files0-from = FOption:-B -- ignore-leading-blanks: ignore the leading space.-F -- ignore-case fold lower case to upper case
Install and configure ssh in yum in CentOS
1. Install SSH
Sample Code for copying code:
Yum install ssh
2. Start SSH
Sample Code for copying code:
Service sshd start
3. Set the startup operation
Sample Code for copying code:
Chkconfig sshd on
1.
CentOS6.5 connect to iSCSI Network Storage
Connect to iSCSI network storage in Linux
Operating System Platform: CentOS 6.5 X86_64
Storage Server Software Version: openfiler esa 2.99.1
Install the required package file
[Root @ bogon/] #
If CentOS uses the CP command, the system does not prompt overwriting.
Today, I copied a folder on my VPS, but there is a folder with the same name and there are files in it. If I copied it directly, there are N prompts to confirm the replacement,
Linux disk relationship knowledge
I have learned more or less about linux disk management, including hard disks, logical disks, and lvm, however, I encountered a lot of problems and confusions when I checked the linux database yesterday. I also
Install and configure the Samba service in CentOS 6.40. environment Description samba Server System: CentOS 6.4 x86_64samba Server IP: 192.168.4.211samba Client System: CentOS 6.4 x86_64samba Client IP: 192.168.4.212 1. install Step-1 on the samba
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