1, the production of dynamic link libraryThe dynamic link library has no main function compared to a normal program. Generate. So dynamic link library files with-shared and-fpic compilation parameters. When the program calls the library functionJust
BIOS boot1. The hardware will load the BIOS to the end of memory when the power is on. This is the real mode, the address space is 1M.2. The CS segment register is forced by the hardware to set the 0XFFFF,IP instruction register to 0x0000. This
View system disk device and partition informationFdisk–lUse for unpartitioned disk partitions: FDISK/DEV/SDBEnter N to create a partitionEnter p to create the primary partitionEnter 1 To specify the number of the partitionTo set the capacity input
Press I to enter edit mode to add content, press ESC to exit edit mode, enter a command:: Wq, enter is save exitthree command modes in 1.VI1) command (command) mode, for entering commands;2) Insert (insert) mode for inserting text;3) Visual (visual)
First, for example, if the server network card:Eth0 10.10.0.100eth0:0 10.10.0.200Eth0:1 10.10.0.201Eth0:2 10.10.0.202Allow only 10.10.0.100 IP to enable Port 80Iptables-a input-i eth0-p TCP--dport 80-j ACCEPTNeed to turn off 10.10.0.100 of 80 ports,
Install the bind package with Yum First (this package is the installation package for DNS)Then close SELinuxSetenforce 0After emptying the firewallIptables-fAfter the installation is complete onlyVim to/etc/named.conf650) this.width=650; "src=" http:
The Linux privilege mechanism permission is the mechanism used by the operating system to restrict access to resources, and the permissions are generally divided into read, write and execute. Each file in the system has specific permissions, the
Source: http://www.cnblogs.com/stli/archive/2010/11/10/1873212.htmlHard Links:1: The filename has a unique i-node representation, as the file name is a pointer variable, I-node is the object of the pointer refers to the content, which mainly
See the bird's-brother Linux private Dish*-wildcard character, which represents random characters (0 for many)? -Wildcard, which represents a character#-Gaze/-Jump symbol to restore special characters or wildcards to a general symbol| -demarcation
/boot: System-initiated related files, such as kernel, INITRD, and Grub (bootloader)/dev: Device Files directory (CDROM)Device files:Block devices: Random access, data blocksCharacter Devices: Linear access, by characterDevice number: Main device
Find command and hardware information viewing is the most common system management and maintenance operations. Below is a brief comparison of basic Linux search commands, and lists some common hardware information to view commands.Man common options-
FG, BG, Jobs, &, CTRL + Z are all related to system tasks, although these commands are largely not needed now, but they are also useful
&is most often used inThis is used at the end of a command, you can put this command in the background to
Hard link: Refers to multiple path names (different file names under different directories) point to the same hard disk data, with any of the files open the modification data, will be updated in other files open, because the hard link and the
Install Nginx in the Linux tar package and nginx in the linuxtar package
1. First install the dependency package (there are a lot of dependency packages. We use yum to install them)
yum -y install zlib zlib-devel openssl openssl-devel pcre
Linux regular expression-positioning metacharacters and linux Regular Expressions
Two metacharacters are used to specify whether a string appears at the beginning or end of a row. A single character regular expression that indicates the start. The
Several methods of multi-thread synchronization mechanism and multiple methods of multi-thread synchronization
Critical SectionThe Critical section is used to implement "exclusive possession ". Applicable to a single processBetween threads. It is:A
Notes: CetnOS minimal network unavailable, cetnosminimal
Problem description:
After CentOS minimal is installed, the network is unavailable. Some Common commands report errors:
ping: unknow host xxxyum: Could not retrieve mirrorlist xxx error was 14:
Git usage in linux1. Common Operation 1: clone a remote warehouse, for example, clone test project branch v1.0
Git-c diff. mnemonicprefix = false-c core. quotepath = false clone -- branch v1.0 https://git.oschina.net/test.git/Users/testAfter this
Tar for linux commands
The tar command is a reliable method for backing up files in Unix/Linux systems. It can work in almost any environment and has the permission of all users.
Syntax:
Tar [main option + auxiliary option] file or directoryMain
CentOS network settings in VMwareCentOS network settings in VMware
Background:The laptop has two NICs:1. The wired network adapter connects to the company's intranet and only configures the Intranet ip address and subnet mask;2. Wireless Network
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