"Copyright notice: Reprint please keep Source: Blog.csdn.net/gentleliu. E-mail: shallnew*163.com "The NIC driver inserts a data structure into a global network device list for each new interface. Each interface is described by a structure net_device
Memory Management1.listvmastatic void Mtest_dump_vma_list (void){struct Task_struct *task = current; Get the task_struct of the current processstruct Mm_struct *mm = task->mm;struct Vm_area_struct *vma; Get the VMA area of the current processint
The basic architecture of Linux is summarized by the following two graphs (two graphs are the same, but the focus is slightly different)From the knowledge, Linux is composed of two parts: User space and kernel space. Kernel space and user space are
"Copyright notice: Reprint please keep Source: Blog.csdn.net/gentleliu. E-mail: shallnew*163.com "Each CPU has a queue to handle the received frames, all have its data structure to handle ingress and egress traffic, so there is no need to use a
PrefaceOpenSSL is a powerful encryption tool. Many of us are already using openSSL to create RSA private keys or certificate signature requests. However, you may know that You can use openSSL to test computer speed.? You can also use it to encrypt
I recently learned how to install the software using the build source code, the exercises assigned by the teacher, and how to install the mplayer player with the learned knowledge. On the Internet, I learned that mplayer is very powerful and useful
In windows, you can log out of an online user through the task manager.There is also a similar method in linux, that is, using the pkill command, the steps are as follows:1. Use the w command to view the users currently logged on to the
Time Attributes of linux Files
Linux File time attributes include access time, modification time modifed time, and change time.
File access time
After a file is created, the file has the same access time, modification time modifed time, and
Split WindowThe simplest command to open a new window is as follows:: SplitThis command splits the screen into two windows and places the cursor in the window above:+ ---------------------------------- +|/* File one. c */|| ~ || ~ || One. c =========
Use the yum program to install the required development kit (The following is the standard rpm package name)
# Yum install gcc-c ++ gcc-g77 flex bison autoconf automake bzip2-devel zlib-devel ncurses-devel libjpeg-devel libpng-devel libtiff-devel
The find command has several options for searching files based on your system's timestamp. These timestamps include
Last modification time of mtime file content atime file was read or accessed time ctime file state change time
Mtime and atime are
Centos software installation can be divided into two types:
[Centos] rpm file installation, using the rpm Command similar to the [ubuntu] deb File Installation, using the dpkg Command [centos] yum installation similar to the [ubuntu] apt-get
During the O & M work, we found that the Linux system cannot be immediately put into the production environment after installation, which usually requires optimization by our O & M personnel.
Next, I will briefly explain some basic optimization
Nic binding means that multiple NICs are logically used as one Nic. It can be divided into two types: Server Load balancer binding and redundant binding.1. Edit the Virtual Network Interface Configuration File
[Root @ test ~] #
In Console mode, you cannot get information about the operating system by right-clicking> about. In Linux, you can useUname command to help you complete these tasks. Uname isThe abbreviation of unix name. In the console, you only need to type uname.
1. Generate a self-signed certificate
Generally, the https server requires an X509 Certificate certified by a formal CA. When the client connects to the https server, the CA's common key is used to check whether the certificate is correct. However,
This method is useful in learning and work. The method is as follows:
1. First share the windows system folder
2. in linux, use the following command to mount shared folders.
Mount-t cifs // 192.168.1.102/studyshare/mnt-o username = chocolee
Cifs
I. How to correctly set centos iptables and disable PING
1. Clear existing iptables rules
Iptables-F iptables-X iptables-Z
2. iptables configuration. Here we use the default firewall rules officially provided by centos in the small three resources
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):
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