About the "Linux version"
There are two versions of Linux: The core (Kernel) version and the release (distribution) version.
The core version is primarily the Linux kernel.
The release is the release of each company, and they are independently developed with the core version. Distributions typically integrate the Linux system kernel with numerous applications and related documents, including software such as installation interfaces, system settings, and management tools to form a distribution suite that facilitates user use.
The difference: There are many other applications and documents in the release version, in addition to the core version.
Contact: The system kernel is included in the release version, and the kernel is the most important and core part.
About "How to install Linux systems"
There are two common ways to install Linux systems:
First, install dual systems, such as WINDOWS10 and ubuntu16.04 coexist
Second, install the virtual machine, install the Linux system in the virtual machine
About "Linux hard disk partition and different boot mode requirements for partitions"
There are three types of hard disk partitions: Primary partitions (Primary Partition), extended partitions (Extended Partition), and logical partitions (Logical Partition).
If there is only one hard disk, then there must be a primary partition on this hard disk. The main purpose of establishing a primary partition is to install the operating system. If there are multiple primary partitions, only one can be set to active partition (active) and the operating system starts from this active partition.
Because a hard disk can only have up to 4 primary partitions, an extended partition is set up to overcome this limitation. However, an extended partition cannot be used directly to hold data, and its main function is to establish several logical partitions (about 20) in it.
A logical partition is not a separate partition, it is a level two partition built into an extended partition, and a logical partition corresponds to a logical drive (Logical Driver) under Dos/windows.
A hard disk can also be divided into three primary partitions plus an extended partition, which can be divided into multiple logical partitions on the extended partition.
In the case of a system already on the hard disk, if you want to install a system again, you must re-partition the hard disk space to ensure that the newly installed system has enough space to survive and expand.
The following compares the requirements of two boot modes for hard disk partitioning:
"Traditional BIOS+MBR Partitioning": When installing a system with a BIOS+MBR partition, you must ensure that there is at least one primary partition on the hard disk that is not hidden and marked as active. Although such a partition is required, the system file (System image has two parts, part of the boot file or boot file, the general size is a few 10 megabytes, the other part is the system files) is not limited to the installation of this partition, system files can be installed in other primary partitions, can also be installed in the logical partition. However, the system boot file needs to be written to the first non-hidden active primary partition on the hard disk, the process is automatic when the system is installed using the original system installer, but the system is specified by the tool (such as the Winntsetup) installation system, otherwise it will not boot. After installation, if the boot file on a separate partition (that is, boot files and system files on different partitions), it can be set to hide, because when the computer starts, after the completion of the BIOS self-test, the MBR will be based on the partition table from the first active primary partition boot system, at this time do not need non-hidden. If there is no boot file on the first active primary partition, the system will fail to start even if there is a boot file on the second active primary partition.
"UEFI BIOS boot + GPT partition": Gpt+uefi is a popular USB stick system mode in recent years, compared with the traditional bios+mbr, it has many advantages, such as better operability, security, compatibility and expansibility. Compared with the traditional bios+mbr partitioning method, EFI+GPT requires that there must be at least one primary partition on the hard disk except for the presence of the ESP partition; Uefi+gpt can only place the system boot file in the ESP partition; The UEFI+GPT force requires that the system boot files and system files must be detached , not on the same partition.
About the mount point and disk partitioning scheme
The mount point is actually the entry directory for the disk file system in Linux, similar to the C:, D:, E:, and so on, that are used to access different partitions in Windows.
/root directory is the only directory that must be mounted.
Ubuntu Linux can use partitions as mount points and load directories, the most commonly used directories are shown in the following table: (Go to blog http://blog.csdn.net/u012052268/article/details/77145427)
Swap partitions (swap) are typically twice times the size of memory.
The remaining space after the/,/boot, swap can be assigned to/home.
About the "Linux File System format"
Files are the basic unit of information processed by the Linux operating system, and all software is organized into files.
The earliest file system type introduced by Linux is Minix. The Minix file system is defined by the Minix operating system and has certain limitations, such as a file name of up to 14 characters and a maximum length of 64M bytes.
The first filesystem specifically designed for Linux is ext (Extended file system), which is an extension to Minix.
The second-generation extended file system is EXT2, with the goal of providing a powerful extensible file system for Linux. It is also the most successful design file system in the Linux world. The EXT2 file system divides the logical partitions it occupies into blocks (block group).
Ext3 is an extension of the ext2 added log function. It forwards, backwards compatible with ext2. It means that ext2 can be converted to EXT3,EXT3 without losing data and formatting, and can be converted to ext2 without losing data (just reinstall the partition).
The most popular in the former is EXT4.
The commands and results for viewing the current file system type in Linux are as follows:
About "X window"
X window is the standard graphics interface for UNIX and all UNIX-like operating systems. X window is also referred to as x, the typical x client program has the following two kinds: Window manager and desktop system.
The window manager is the software that determines the appearance of the window, with features such as changing the window size, position, borders, and decorations, resizing the window, rearranging the window's position in the stack, and launching methods to manage other applications.
The desktop system controls the location of desktop icons and directories, the contents of the desktop and directory menus, and controls how the mouse works on desktop icons, directories, and menus.
"Shell command attempt"
1. mkdir: Create a directory.
1 mkdir Cyj
2. CP: Copy the source file or directory to the destination file or directory. If the source file is a directory, add-r means that all the child files under the source file are copied together. If you do not add-r, you will be prompted with "CP: Skip Directory Cyj" and replication is unsuccessful.
1 mkdir cyj_2 2 CP Cyj-r cyj_
3. RM: Delete files. RmDir: Delete directory. You can delete this directory by using the RmDir command only after all the files in that directory have been deleted with the RM command.
1 rmdir Cyj 2 [email protected]:~/cyj_2$ CD. 3 rmdir cyj_2
4. PS: View the process information that is running on the current system. (only a partial result of Ps-ef is shown.) )
5. Uname-r: View the currently used kernel.
Other shell commands (such as CDs, CAT, CHMOD, comm, etc.) are no longer listed.
"Some common problems and solutions"
1. Update the software Source command is sudo aot-get update, the last update did not complete properly causing the Apt-get update to appear "E: Unable to get lock/var/lib/apt/lists/lock" error. Workaround: Perform the sudo rm/var/lib/apt/lists/lock unlock.
2. Vim modified use: wq! Save and exit failed, you can use: w!sudo tee% forced to save.
3. Do not open windows under Disk Workaround: ntfsfix/dev/sda+ number. The sda+ number is the drive letter under Windows.
Linux Basics