Likely () and unlikely () are the two macros defined in the kernel (version 2.6 should have). Located in/include/linux/compiler.h,It is defined as follows:#define LIKELY (x) __builtin_expect (!! (x), 1)#define UNLIKELY (x) __builtin_expect (!! (x), 0
A machine SSH login B machine does not need to enter a password, when the application has a large number of servers when the password is a waste of time in the Hadoop installation requires password-free login;Create a. SSH folder created in the user'
http://pan.baidu.com/s/1ntqLA7vHere are some of the documents I've summed up to make it easy to understand how the system generates uimage step-after-step when we enter make Uimage, and I'm using a reverse analysis approach.The compiler structure of
Linux introduces the concept of node7 bootmem_data_t Bootmem_node_data[max_numnodes] __initdatawhere Max_numnodes#ifdef #define Nodes_shift #else#define nodes_shift #endif#define max_numnodes #define Numa_no_node (-1)Each node has many
we are logged in Linux When you finish entering your account and password, Linux will first find /etc/passwd If there is an account in the file, if not, then jump out, if any, he will read the account User ID and the Group ID at the same time the
Extract:Tar zxvf 22gif.tar.gzCompression:Tar zcvf 22gif.tar.gz www.22gif.com (directory name, here is full station compression backup)To view the services and ports that are in useYou can use the Netstat-tunlp,netstat-antup,lsof-i:port command to
first, the Linux i386 is 32-bit, AMD64 is 64 bits (generally not limited to Intel or AMD)servers are server editions, Desktop isDesktop is a community open source version, with some new features new software, free but not guaranteed high stability
NanyiDate: March 14, 2014When developing a Web site, you often need to configure your own Linux server.This document records the initial process of configuring a Linux server, the next thing to do after the system installation is complete. This is
First, installation JDK
Download the JDK from Oracle website for Linux Systems (official website address: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html);
To switch the system login account to root,
Network-related files:1)/etc/sysconfig/network set the host name and whether the network can be started2)/etc/sysconfig/network-scripts/ifcfg-eth0 set the file card parameters3)/etc/modprobe.conf the file to load the kernel module when booting
Linux shutdown Command Xiang solution1. Direct Power off2. Init 03, Telinit 04. Shutdown-h Now5, halt6, Poweroff1.shutdown shutdown command to safely shut down the system. It is dangerous for some users to turn Linux off using a direct power-off.
Recently, I have been learning to transplant the kernel and driver to the TQ2440 Development Board. I really feel that this knowledge is very difficult. But from another perspective, the more difficult it is, the more space it can improve !!1.
In other words, some things are very suitable for one day before the holiday, but they are definitely not suitable for you to take a look before you are going to eat... I met such a worried thing last week. In the end, I ended up with low blood
On vmwarevm, how does one perform tty1 in linux ~ Tty6 switchover?
Symptom:
The hotkey for switching between the terminal (text) interface and the graphic interface in Linux is:Enter the terminal, that is, the character interface (tty1-tty6):
1. view detailed linux Version Information
File/sbin/init
2. Download the corresponding nmon version
Http://pkgs.repoforge.org/nmon/
3. Install
Rpm-ivh nmon-14f-1.el5.rf.i386.rpm
4. Collect data
1)./nmon_x86_rhel52-s10-16A-f-m.
-S10 collects data
[Grep introduction:]Grep is used to filter rows containing specific characters. It can use regular expressions to search for text. When searching for a string in data, it selects data in the unit of positive behavior. usage: grep [cinvs] 'pattern'
For simple configuration of vsftpd, refer to this tutorial.Portal
The xinetd configuration in the tutorial is invalid,
The following method is used to start ftp in xinetd mode:
1. Create a file vsftpd in the/etc/xinetd. d/directory.
The content is
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