You are on page 1of 20

Lecture 4:

Install CentOS Minimal and RAID


Lecturer : HO MONY
H/P : +85512603314
Telegram : +85512603314

1
RAID

• Redundant Array of Inexpensive Disks


• Redundant Array of Independent Disks
• !គជ
ឺ Data Storage Virtualization Technology ែដលរួមបញចូ លគនៃន
Physical Disk Drive ជេ4ចន
6 ចូលគនែតមួយឬេ4ចន
6 ែផនក េដ6មបេធ?
ី េ6 @
យមន Data Redundancy, បេងក6ត Performance ឬទំងពរី ។ 4បេភទ
របស់ RAID 4តLវបនែបងែចកជពរី 4បេភទគឺ Hardware RAID នង

Software RAID ។

2
Hardware RAID

• Hardware RAID សំ េPេល6 Hardware Controller ែដលផQល់ Service


កនុងករេធ?6 RAID។ ចំេពះវធ
ិ V
ី WសQេនះក៏4តLវបនែបងែចកជពរី ផងែដរគឺ
External RAID Controller នងិ Internal RAID-on-Chip ។

3
Hardware RAID

• RAID Controller Card: គជ


ឺ ករបែនថម Expansion Card ភជប់េទ
PCIe ឬ PCI-X Slot ៃន Motherboard ែដល Card េនះមន RAID
Processor នង
ិ I/O Processors ជមួយនង
ឹ Drive Interface ។

• RAID-on-Chip: គជ
ឺ Chip េល6 Motherboard ែដលភជប់4Vប់េទនង

host interface, i/o interfaces សំ _ប់ HDDS, RAID processor នង

Memory Controller ។

4
Software RAID
• !គផ
ឺ Qល់ Service េចញពី Host េaយែផbកេល6 ពរី កcQ:

• Software-only. Software RAID គែឺ តងមនរួមបញចូ លកនុង function ៃន


OS។ !គឺ host-based software application ែដល4គប់4គងេល6 RAID
calculations សំ _េប6 attached hard disk drives.

• Hybrid !គជ
ឺ software-based RAID េល6 Hard Disk Drives ែដល
មន Characteristics ខុសគន Ex: RAID រ!ង HDDs ជមួយនង
ឹ SSDs

5
RAID Levels

• RAID 0 គក
ឺ រពរ Mail នង
ិ Data មន
ិ េ@យបត់បង់បន4តម
ឹ 50%
ប៉ុេfg ះ ប៉ុែនQ Space @ចេ4ប46 បស់បនេពញេលញ

• RAID 1 គក
ឺ រពរ Mail នង
ិ Data មន
ិ េ@យបត់បង់បន 100% ប៉ុែនQ
Space 4តLវបទ
ិ មន
ិ េ@យេ4ប46 បស់ 50% សំ _ប់រកh Backup
• RAID 5 គក
ឺ រពរ Mail នង
ិ Data មន
ិ េ@យបត់បង់បនដល់ 100%
េហយ
6 Space 4តLវបនjក់មន
ិ េ@យេ4ប46 បស់4តម
ឹ 33.33% ប៉ុេfg ះ។

6
RAID 0

7
RAID 1

8
RAID 5

9
RAID 6

10
RAID 10

11
Install CentOS with RAID
• Install CentOS Linux 7
• English
• English (United States)
• ConBnue
• Date & Time

12
Install CentOS with RAID
• Region : Asia
• City: Phnom Penh
• Network Time : ON (if you have internet connection)
• Done
• Software Selection
• Minimal

13
Install CentOS with RAID
• Done
• Installation Destination
• Select 3 Local Standard Disks (to configure RAID 5)
• I will configure partitioning
• Click here to create them automatically

14
Install CentOS with RAID
• Select /Boot, Device Type choose RAID and RAID Level choose RAID 5
• Select / , Device Type choose RAID and RAID Level choose RAID 5
• Select /swap, Device Type choose RAID and RAID Level choose RAID 5
• Done
• Accept Changes
• Begin Installation

15
Install CentOS with RAID
• Root Password
• File Root Password and Confirm
• Done
• Reboot

16
Install and Switch to GUI

1. Install CentOS-7 - Minimal (First entry point in list)


2. yum groupinstall "X Window System"
3. yum install

gnome-classic-session gnome-terminal

nautilus-open-terminal control-center

liberation-mono-fonts
17
Install and Switch to GUI

4. unlink /etc/systemd/system/default.target
5. ln -sf /lib/systemd/system/graphical.target
/etc/systemd/system/default.target
6. reboot

18
Update whole CentOS System
# yum update -y

19
Thank You

20

You might also like