This article is just a kernel network protocol practice example, first explain the purpose of adding, the next chapter to start concrete implementation.
Kernel version: 2.6.34; In support of 802.1 hosts, the general format of the message:
There
Kernel version: 2.6.34
Message IP checksum, ICMP checksum, TCP/UDP checksum using the same algorithm, defined in the RFC1071, online data and examples are many, do not explain the algorithm flow, but focus on the implementation of changes and
In the Linux environment, whether it is programming or other maintenance, time is essential, but also often use the operation of time, skilled use of the date command to express the time they want to express, can certainly give their work to bring
Environment
Red Hat Linux 9 + Windows 7 Ultimate
Problem
How to mount a USB drive under Linux
Solve
1.Linux to mount a U disk need to start VMware USB Service (VMware usbarbitration service);
2. Mouse point into Linux;
3. Desktop---------->
A foreign hacker named Dmitry Grinberg has tried to create a 8-bit simple computer micro-control device that runs Linux on it.
He wrote an ARM simulator: 2 hours after starting to see the command line prompt (Init=/bin/bash), 4 hours later saw the
Take Linux REDHAT6.3 as an example:
Native Insert REDHAT6.3 system ISO Image CD1
1. Configure Yum Local Installation Source:
Log on to the system as root
Mkdir/mnt/cdrom
Mount-t Iso9660/dev/sr0/mnt/cdrom
Cd/etc/yum.repos.d
To see if the
First, virtual memory
Let's take a look at a picture (from the Linux kernel complete anatomy), as follows:
Segmentation mechanism: is divided into code snippets, data segments, stack segments. Each memory segment is associated with a privilege
1 IP Address
1 IP address is a two-tier address scheme, an IP address identifies a host (or a network interface)
2 Now the most widely used is IPv4, has begun to gradually fragrant IPv6 switch
3 IPv4 address is 32 digits, IPv6 is 128 bits
41 IPv4
Understand what a swap partition is
Swap is a virtual memory partition under Linux, his main role is that when physical memory is not enough, it is necessary to release some of the space in physical memory, so that the current program to use, these
DHCP overview
1 Necessity of using DHCP
On a TCP/IP network, each workstation must have a basic network configuration before it can access resources on the network, some key parameters such as IP address, subnet mask, default gateway, DNS, and so
1. Put the first sheet of the installation disk into the optical drive, and then reboot the machine to boot the system in the BIOS using an optical drive.
2. After the installation interface comes out, press [F4] key (Fedora, select Rescue System),
1, the use of Xmanager,linux enable XDMCP protocol (can directly modify the configuration file, can also be used in the Xshell run Gdmconfig or Gdmsetup, select the XDMCP tab, tick start XDMCP can), Xbrowser can discover Linux hosts and Access Linux
RAID English full name redundant array of independent disks meaning "Independent disk redundancy", referred to as the disk array.
RAID0 is used to extend the disk, the disadvantage if a hard drive breaks down the system crashes; RAID1 is one to do
First, users and user groups
To better understand file permissions, we need to first have the concepts of users and groups of users. Because within Linux, any file has individual permissions for the 3 identities of the user (user), group (user
In Linux, there is no concept of file creation time. Only the file's access time, modification time, and state change time.
That is, you cannot know when the file was created. However, if the file has not been modified after creation, the
For bonding Network Load Balancing is commonly used in file servers, such as the three card, as a piece to use, to solve an IP address, traffic is too large, server network pressure is too big problem. For a file server, such as NFS or a Samba file
DHCP is the full name of the Dynamic Host Configuration Protocol, its purpose is to reduce the TCP/IP network planning, management and maintenance of the burden of addressing the lack of IP address space. DHCP is divided into two parts: one is the
What is a DHCP protocol?
The Dynamic Host Setup protocol, which is a network protocol for a LAN, uses the UDP protocol for two purposes: automatically assigns an IP address to an internal network or network service provider (Configuration). To the
Don't repeat the invention of the wheel
One of the core ideas of open source culture is not to reinvent the wheel, many open source software is the combination of existing software, code and functionality, just as with parts assembly machines,
Edit class:
Vim and Emacs. In Windows there are versions, and a lot of people ask me, vim and Emacs should learn that? My point of view is that vim and Emacs, although keyboard bindings are not the same, do not solve the problem in the same way
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