the philosophical thinking of Linux :1. All documents: Abstract almost all resources into the form of documents, including hardware devices, and even communication interfaces;Open (), read (), write (), close (), delete (), create ()2. Consists of a
First, the use of Docker hubDocker Hub is the official Docker maintenance warehouse, which already contains a lot of mirrors, generally our needs directly in the official warehouse search can be resolved. In the official public warehouse we can
1. Please describe in detail the start-up process of the CentOS system (detailed to what each process system does)The CentOS system startup process is as follows:POST--Boot Sequence (BIOS)--Boot Loader (MBR)--GRUB--Kernel (RAMDisk)--Rootfs
File system:How the operating system recognizes disks and partitions:Mbr:master boot record, master boot recording, storage disk information, including partition information, operating system boot program, glyph. A sector sizeThe MBR is 512 bytes in
Review:Shell:type,which, environment variable path[Email protected] ~]# echo $PATH/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/binReference variable: ${variable name}Variable: A named memory space that can be found directly in
Vim Editor: Full-screen editor: VIM Vi:visual interface Sed: line Editor VI, VI improved Vim: Pattern: Edit mode: Command mode Input mode: Last-line mode: Edit mode--Input mode: I:insert, A:append, O:new Line, I: The beginning of the line A: End of
1. How to install the softwareFor LinUX Beginners, installing software is probably a headache, because installing software under Linux is not as easy as it is in Windows. For Linux systems, packages appear in two main forms: binary packages and
Introduction to Source code (there is likely to be cross-file dependencies between the code in the file)source code (also known as the source program) refers to anCompileIn accordance with a certainProgramming languagesa text file that is written in
This blog summarizes the notes with the Horse brother classDate: 2015.09.09Linux Disk ManagementLinux Disk ManagementThere are two categories of hard disks1. Mechanical HDDMechanical hard disk is the traditional ordinary hard disk, mainly by:
Linux file structure, to see what each file is to use, first use the LS command to see what files.650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M00/8F/7C/wKioL1jg6JeSR8MvAAAdthS-iP4366.png "title=" Ls.png "alt=" Wkiol1jg6jesr8mvaaadths-ip43
PWD Displays the current working directoryWW.H.O.WhoAmIDisplays the current user and the established SSH linkUseradd create a new normal userpasswd Modifying a user's password# represents the root Superuser who is currently working$ represents a
The following is a CentOS 7 example:Startup level ModificationSystemctl Isolate Multi-user.targetSystemctl Isolate Runlevel3.targetstartup files in/etc/systemd/system/default.targetYou can change the file directly if you want to modify
(i). Command aliasesAlias is used to get the definition of aliases available to the current user[[email protected] ~]# aliasalias cp= ' cp-i ' Alias egrep= ' Egrep--color=auto ' Alias fgrep= ' Fgrep--color=auto ' Alias grep= ' grep--color=auto
Package ManagementPackage compositionBinary programConfiguration fileSingle FileCut the master profile into multiple small files and place them in a directory./etc/profile,/etc/profile.d/*/etc/pam.conf,/etc/pam.d/*Single file, which is split
Before installing the program, recognize the components of the following program:
binaries
library file
configuration file
Help Files (manuals, documents)
...
binary:/bin,/
Reprint please indicate source: http://blog.csdn.net/cywosp/article/details/42150141 Brief IntroductionIn the development process, a variety of third-party libraries are often required, and Python provides tools such as Pip,easy_install to simplify
Create a new system root directory/mnt/sysroot:#mkdir/mnt/sysroot
2. Add a piece of hard disk/DEV/SDB to format the target disk partitionTwo:On host:/DEV/SDB1,/DEV/SDB2/DEV/SDB1 Mount to/mnt/sysroot/boot(target host root file system creation
FHS: File Hierarchy StandardFHS: File Hierarchy Standard/ : Represents the root directory /bin: Binary file, executable program, all users can use. /sbin: Only the administrator executes the binary executable program. Start-up is used to provide
centos6.7 as an exampleThe first step is to add a 20G hard disk to the R2 virtual machine and partition it with the FDISK command./and/boot directoryMKFS.EXT4/DEV/SDB1 (/boot directory)MKFS.EXT4/DEV/SDB2 (/catalogue)Mkdir/mnt/boot (New mount
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.