First case:The host uses pppoe for dial-up Internet accessMethod 1: Nat1. First shut down the operating system in the VM and return to the VM's main interfaceDouble-click "Ethernet" in the upper-right corner of the main interface. The "network
I recently learned about Linux and installed a Linux on my computer, but it took a long time to configure the campus network. There are many methods on the Internet that are actually quite useful, but they are not very detailed, here is the fastest
1. Start Linux
2. on the boot page (as shown in), Press
4. After Entering the page for Example
Select module/vmlinz-2.6.18-194.e15xen Ro root =/dev/volgroup00/logvo100 and press "E" again to go To the Edit page
Note: there may be some
Refer to this:
Http://blogold.chinaunix.net/u3/111072/showart_2298170.html
Printk is the kernel state information printing function, which is similar to the printf function of quasi-C library.
Printk also has the information printing
Try to sum up and learn, at least I have almost no idea about the concept of the device model.
The three important concepts in the Linux device model are bus, device, and driver, namely bus, device, and driver. In fact, the kernel also defines such
I am very keen on Linux. When I was a freshman, I wanted to learn the Linux kernel, learn Linux driver development, and learn to write the operating system. Now most of my time has passed, dozens of times of learning and dozens of times of giving up
My wife went shopping. I don't know if I had to pay for the phone bill for my province. I have had very little talk time in recent days, and I don't know if she had enough living expenses there, and I won't ask her to pay for it, it's estimated that
1. run the command rpm-Qa | grep vsftpd to check whether the vsftpd version is installed. if the version is already installed, the vsftpd version is displayed. if the version is not displayed, the vsftpd version is not installed. if FTP is not
Linux directory architecture/root directory/bin Common commands binary file contents/boot stores files that must be read when the system starts, including/boot/GRUB/menu including the core (kernel. LST grub settings/boot/vmlinuz kernel/boot/initrd
The 32-bit Linux system has a limit on the file size. The maximum value is 2 ^ 31-1 bytes, that is, 2 GB, even if the file system supports a larger GB file. I cannot tell the specific reason for this restriction. only found in a database TPC-H test.
1.1 Basic syntax Introduction
Start with 1.1.1
The program must start with the following line (must begin with the first line of the file ):
#! /Bin/sh
Symbol #! The parameter used to tell the system that the program is used to execute the file.
Shell: Bash. It combines the advantages of CSH and KSh, and has the Readline function, you can freely bind your own keyboard.
Editor: vim and Emacs.
Program Development: GCC, make, LD, scheme48, j2sdk, Perl, Python, Tcl/tk...
Thesis, magic lamp
3) Process Control
1. If
If the expression "if" is true, the part after then is executed:
If...; then
....
Elif...; then
....
Else
....
Fi
In most cases, you can use test commands to test the conditions. For example, you can compare strings,
Maybe you will encounter a situation like me, every time you use a Linux terminal, when you hear a "beep" sound, I have the urge to tear down my chassis and drag down the built-in beep device. Click "tick" when you press tab, and click "tick" when
To check how much space is left on the disk, use the DF command.
[Root @ localhost ~] # DF-HFile System capacity used available % mount point/Dev/sda2 14 GB 11g 2.6G 82%//Dev/sda1 99 m 14 M 81 m 14%/bootTmpfs 442 M 275 m 168 m 63%/dev/SHM/Dev/mapper/
1. How libtool worksLibtool is a common library that supports scripts. It hides the complexity of dynamic libraries in a unified and portable interface. It uses the standard libtool method, you can create and call dynamic libraries on different
As a multi-user, multi-task operating system, once the files in Linux are deleted, it is difficult to restore. Although the DELETE command only marks the deletion in the file node and does not actually clear the file content, other users and some
Create a Cron service for the current user
1. Type crontab-e to edit the crontab service file.
For example, the file content is as follows:
*/2 *****/bin/sh/home/admin/jiaoben/buy/deletefile. Sh
Save the file and exit
*/2
This article describes in detail the synchronization mechanism in Linux kernel: Atomic operations, semaphores, read/write semaphores and spin locks APIs, usage requirements and some typical examples.
I. Introduction
In modern operating systems,
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