1. Motherboard information View the serial number of the motherboard--------------------------------------------------#使用命令Dmidecode | Grep-i ' Serial number '#查看板卡信息Cat/proc/pci--------------------------------------------------2, CPU information----
To change eth1 to eth0:1, Vi/etc/udev/rules.d/70-persistent-net.rulesChange the eth1 of the last side to eth0 and delete the top two linesSave exit after modification2, Vi/etc/sysconfig/network-scripts/ifcfg-eth0Modify Bootproto=none to
After installing Linux, remember the system update, update using APT command, as follows (remember to switch to root mode using sudo-i instruction before using)Apt-get Update updates the system software source, which is equivalent to finding
Li Yang Original Works reproduced please specify the source"Linux kernel Analysis" MOOC course http://mooc.study.163.com/course/USTC-1000029000In the blink of an eye a few weeks past, "The Linux kernel analysis" This course also sees to end, again
Modify File/etc/pam.d/system-auth#%pam-1.0# This file is auto-generated.# User changes'll be destroyed the next time Authconfig is run.#auth Required Pam_env.so#auth sufficient pam_unix.so Nullok Try_first_pass#auth requisite pam_succeed_if.so uid >=
When using GCC to compile a program, the compilation process can be subdivided into four stages:
PretreatmentThe preprocessing process reads into the program source code, examines the statements and macro definitions that contain the
Suppose we write an application that has a read system call, let's see how to find the corresponding read from many file_operations structures.We can use the disassembly arm-linux-objdump-d-s xxx >dump, output to the dump file, open the dump file,
The first thing we need to consider when installing a Linux operating system is how to partition the system.According to my work experience, in the production environment generally only need to make the following three partitions:
/boot (100
The first step:Locate the hard drive or folder you want to mount on the Windows system you are mounting and set it to sharedStep Two:Create a folder under the Linux system/mnt directoryStep Three:Test mounts#mkdir/mnt/share#Mount -t cifs -o username=
Common linux commandsLinux directory structure:
1. Main Directories
Main Directory:/root,/home/username super user's home directory and user directory
You can execute Common commands:/bin,/usr/bin,/usr/local/bin.
System commands:/sbin,/usr/sbin,
Git File Deletion operations
To delete a file using Git, you must use the Git rm command. Finally, git commit
Note that the rm command cannot be deleted directly. You can use the git status Command to try it. (The test file is created to demonstrate
Steps for building the Google Test (GTest) Test environment in Linux
This article describes how to build a unit Test tool Google Test (GTest) in a Linux operating system. This document is a basic tutorial for Google Test. Before using Google Test in
Git and Github getting started
Introduction
Git is a distributed version control system (you can use Git to manage your code and related documents, manage your code on your computer, and collaborate with colleagues ), github provides a server for
Comparison of several methods for transferring files between Linux Hosts
1. scp Transmission
Scp-r/data/file root @ ip:/data/Scp-C/data/sda. img root @ ip:/data/img/#-R: Directory supported#-C: Enable compressed Transfer
The scp transmission speed
Use the source code package in Mac OS X 10.10.3 to compile and install GCC5.1
Use the source code package in Mac OS X 10.10.3 to compile and install GCC5.1
1. First download the gcc5.1 source package: https://gcc.gnu.org/
2. installation:
.
Script For Linux commands
Script command is used to save the operation process in the logScript command format:
Script [-a] [-q] [filename] # [-a] append, Not Overwrite previous records # [-q] Quiet Mode, do not show the script start information #
Change PATH in Ubuntu Linux
1. What is environment variable (PATH)
In Linux, when executing a command, the system searches for the execution file in the PATH defined by each PATH according to the PATH settings. The first searched file is executed
Compile and install GCC 5.1.0 in Linux
Compiling C/C ++ programs in Linux naturally lacks an excellent compiler, and GCC is a common tool in Linux. In late April 2015, GCC also came out of version 5.1.0, providing better support for C ++ 11/14.
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