1. sudo introduction sudo is a common tool in linux that allows common users to use superuser permissions. It allows system administrators to execute some or all of the root commands, such as halt, reboot, and su. This not only reduces the login and
Linux users are basically used to clearing terminal screens by using the clear command or Ctrl + L combination shortcut keys. In fact, the screen is not really cleared, but when you scroll up with the mouse, you can still see the output of the
Method 1 (for virtual machines): Adjust the linux resolution under VMWARE
After linux is installed in VMWARE, the default resolution is 800x600, and the resolution is adjusted to 1024x768. The process of pixels being millions of pixels is as
Overview
Ssh and scp between some common devices can save a lot of time without entering a password.Generate key
Check whether the local device has a key. If yes, do not generate the key. Otherwise, the previously connected devices will be
The standard format when fork is used in this book isPid_t pid;If (pid = fork () {}Else if (pid = 0) // sub-process{}Else // parent process{}When the code is written in the same format as above, the sub-process is always executed, and the
For the sake of data security, we usually like to install the system in a system partition of about GB, and store all other data in another data partition, even if the system has a problem, we need to reinstall it, you only need to format the system
Linux interrupt kernel ProgrammingPrefaceAfter analyzing the basic principle of interrupt, you can write a kernel interrupt program to experience the following, or you can continue to learn more about the kernel interrupt execution process.I. kernel
Unix is secure, reliable, powerful, and has multiple users.Linux free version of Unix
PrerequisitesHard Disk and partitionInstall the operating system in the primary PartitionExtended partition data storageLogical Partition Everything is a fileHard
Through the network port binding (bond) technology, you can easily achieve network port redundancy and load balancing to achieve high-availability load balancing.
[Root @ localhost ~] # Cat/etc/issueCentOS release 6.5 (Final)Kernel \ r on an \
I. Class A address starts with 0 and 10.0.0.0 is A private address.
Class B address starting with 10, 172.16.0.0 ~ 172.31.255.254 is a private address.
Class C address starting with 110, 192.168.0.0 ~ 192.168.255.254 is a private address.
Host
The scheduler of a process is a kernel subsystem that ensures that the process can work effectively. The scheduler is responsible for deciding which process to run, when to run, and how long to run. To put it simply, a scheduler allocates processing
During this time, the attempt to install lamp for migration of the 2013 2013 project also took a lot of detours. Some of the records may be messy, but some of them are difficult to solve, for record reference.
Use vmware workstation to install
How does the CPU go from RING0 to RING3?
First look at the implementation code
Ax
Each privilege level corresponds to a stack of its own,
RING0 -- ESP0, SS0
RING1 -- ESP0, SS1
RING2 -- ESP0, SS2
The stack must be changed when the CPU jumps to
Hard Links and Symbolic Links)
Address: http://blog.csdn.net/caroline_wendy/article/details/21593971
Hard links): Creates additional entries for the file.Use Time, No difference with files;Deleting, Will only delete the link, will not delete the
1. What is system callIn the Linux World, we often encounter the term system call. The so-called system call is a series of functions provided by the kernel with very powerful functions. These system calls are implemented in the kernel, and then the
Cross-development
Cross-development refers to the development process of editing, compiling, and connecting software on a general PC and then downloading it to embedded devices for debugging. A general PC is called a host machine, and an embedded
Conversion conditions: TCP and ASCII. (The status does not include conn_swallow, which is used by the binary protocol)1 Overview
Enum conn_states {conn_listening,/**
2 receive connections distributed to worker threads
3. Data Reading
4. Command
For RHEL/CentOS 6 32-64 Bit
## RHEL/CentOS 6 32 Bit OS ### wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm# rpm -Uvh rpmforge-release-0.5.2-2.el6.rf.i686.rpm## RHEL/CentOS 6 64 Bit OS ### wget
Lab environment:
Create four hosts on vmware:
Linux server A, linux Server B, client win7, and client server2008!
Ideas:
Server A adds two NICs, eth0 connects to vm1, and eth1 specifies vm2;
Connect to vm1 using win7 as the client of server;
Server
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