Linux system Installation "Redhat"

Source: Internet
Author: User

System Installation

1.1. Partitioning knowledge

1.2. Disk partition naming and numbering

IDE disk: HDA First plate

HDA1/First Partition of the first disk

HDB Second Plate

hdb1/the first partition of a second disk

SCSI/SAS/SATA/SSD:

SDA First disk

SDB Second Plate

1.3. Zoning Requirements for Linx

/: The root partition is required, generally set to 50~200g+, only the system is stored, the data is not stored

Swap and boot partitions are not required

1.4. Redhat's partition

1.4.1. First Partition boot

1.4.2. Re-dividing the swap partition

1.4.3. Finally to the root partition (/)

1.4.4. Partitioning results

Mount point: entry for disk access

Ext3: Added log function, the system recovers faster.

EXT4: Higher efficiency with 3-based upgrades

XFS: Replace Ext4 in centOS7 by default

1.5. Format session partition (create file system)


1.6 MBR boot partition

Default MBR, do not move, you can directly next

1.7. Install the operating system type selection

Here we choose "Minimal", that is, minimize the installation, the lower part of the system after the installation type is determined, the additional want to add the package group selection, we select "Customize Now" is immediately customized.

We first need to select the large category on the left and then check the small package group on the right side. Note: The contents of the right parcel group are available by default.

1.7.1. Follow-up installation

1, according to experience, choose to install the package should be minimized, that is not required or not sure whether the need is not installed, so as to maximize the security of the system.

2, if the installation process has been a part of the package group or other partners when the installation is not selected, after installation can be as follows to fill the installation of the package group is not installed:

Yum groupinstall "Compatibility Libraries" "Base" "Development tools"

Yum groupinstall "Debugging Tools" "Dial-up Networking Support"

You can view the specific installed components through the Yum GroupInfo package group.

3, the following installation 6.5 after the system to check the status of the selection package:

Yum Grouplist:

Installed Groups:

* You can see that in addition to our selection, some additional package groups are installed by default.

Note: Do not use Yum's delete feature to remove the software, it will remove the dependent dependencies, causing an unexpected problem.

1.7.2. Installing the System Patch Tool command

After installing the system there will be some basic tools are not installed, at this time can be based on the requirements of Yum to install, when the time of the installation can also. For example:

Yum Install tree nmap sysstat Lrzsz dos2unix-y

If you need to update the patch then do

Yum Update

1.8. Reboot the system after installation

You can see the details by typing "ESC" at the start screen.

1.9. CentOS Partition type

Standard: Create a normal partition

RAID: OS-level raid, inefficient, typically hardware

LVM: Logical volume management, which is used to dynamically adjust partitions

1.10. View System Kernel Information

Uname-r

Linux system Installation "Redhat"

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.