Linux Basic Content Learning one: partitioning and installation under Linux

Source: Internet
Author: User

Linux look at the system version information uname-a if the display is i386,i686 32-bit system, if the x86_64 is 64 bits a hard disk can have up to four primary partitions one of the primary partitions can be replaced with an extended partition, There can be more than one logical partition in this extended partition a hard drive can only be an extended partition, the extended partition can not be used directly, must be established in the extended partition after the logical partition to install the system or storage data extended partition up to one, can not be extended partition Linux under the partition scheme five partitions 1p+ 1e (4 L) P1 L5 L6 L7 l82p+1e (3l) p1 P2 l5 L6 l73p+1e (2l) primary partition + extended partition data less than or equal to four Linux under the name of the device: Ide/dev/hdhda: The first disk hda1 represents the first partition, the number represents the partition HDB: The second disk SCSI:SAS/SATA/SSD/DEV/SD partition number: 1~4, only the logical partition number can only be p+e starting from 5 Linux requirements for partitions:/root partition has at least one root partition, used to store system files, learning to use at least 5Gswap Equivalent to the virtual memory of the general size of the physical machine memory of about 1.5 times times, if the physical memory is greater than 8G, the swap partition only to 8 to 16, swap is not required to partition/boot: boot partition, boot file is generally very small and will not increase in the future, General 100~ 200MB interface Options Description: 1:mountpoint: mount point   This is the partition entry for the Linux access disk, and if you want to write data to the partition, you must write to the  2:filessytemtype via the/boot Portal: File type System , the equivalent of Windows Fat/ntfs, only after the file system is set up and formatted mount, the partition can be stored data file system type Description: EXT2/EXT3/EXT4: Suitable for Linux file system type, because ext3 added logging function, As a result, the system recovers faster, EXT4 is ext3 and therefore more efficient, so the installation recommends Ext4physical volume (LVM) By default: This is a mechanism for resizing file systems, That can make the file system larger or smaller without changing the contents of the original file data, function good, poor performance vfat: At the same time by Linux and Windows supported file system type, if there is dual system Exchange data can be used by this file type XFS: is also a file system type, In Centos7, the default file system type will be overridden as the default Ext4force to be primary partition: Force primaryZone, optional, since all partitions are not more than four, so you can check this item   Install the system, when selecting the installation package by minimizing the installation after selecting the custom installation package, minimize the most secure installation from the Baoyi installation package that installs the required package click Next after selecting Base System: Basecompatibility librariesdebugging Tools Under development Select: Development tools to view CentOS installation when installing packages: Yum Grouplist Install packages in CentOS Groupinstall "package name" different names with a space interval do not use the Yum Delete feature, will delete the corresponding dependency  

Linux Basic Content Learning one: partitioning and installation under Linux

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.