本文主要记录dca培训学习的内容结合实验进行分享,本文以KylinV10虚拟机环境进行演示
文章目录
DM认证体系
- DCA 入门级认证管理员
- DCP 认证专业人士
- DCM 认证大师
软件版本划分
版本 | 适用场景 |
---|---|
标准版 | 不支持集群等特性,满足中小企业需求 |
企业版 | 满足大中型企业需求,生产应用最多的版本 |
安全版 | 增加安全特性,如强制访问控制,环境标记等 |
开发版 | 使用时间限制,不能商用 |
DM企业版安装
环境检查
查看系统信息
[root@myKylin01 ~]# cat /proc/version
Linux version 4.19.90-24.4.v2101.ky10.x86_64 ([email protected]) (gcc version 7.3.0 (GCC)) #1 SMP Mon May 24 12:14:55 CST 2021
查看CPU
[root@myKylin01 ~]# lscpu
架构: x86_64
CPU 运行模式: 32-bit, 64-bit
字节序: Little Endian
Address sizes: 45 bits physical, 48 bits virtual
CPU: 2
在线 CPU 列表: 0,1
每个核的线程数: 1
每个座的核数: 1
座: 2
NUMA 节点: 1
厂商 ID: GenuineIntel
CPU 系列: 6
型号: 142
型号名称: Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
步进: 12
CPU MHz: 2112.003
BogoMIPS: 4224.00
超管理器厂商: VMware
虚拟化类型: 完全
L1d 缓存: 64 KiB
L1i 缓存: 64 KiB
L2 缓存: 512 KiB
L3 缓存: 12 MiB
NUMA 节点0 CPU: 0,1
Vulnerability Itlb multihit: KVM: Vulnerable
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: Not affected
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2: Mitigation; Enhanced IBRS, IBPB conditional, RSB filling
Vulnerability Srbds: Mitigation; TSX disabled
Vulnerability Tsx async abort: Not affected
标记: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon nopl
xtopology tsc_reliable nonstop_tsc cpuid pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hyper
visor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single ssbd ibrs ibpb stibp ibrs_enhanced fsgsbase tsc_adjust bmi1 avx2 smep bmi2 invpcid rdseed adx smap cl
flushopt xsaveopt xsavec xgetbv1 xsaves arat md_clear flush_l1d arch_capabilities
或
[root@myKylin01 ~]# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 142
model name : Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
stepping : 12
microcode : 0xbe
cpu MHz : 2112.003
cache size : 6144 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 22
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon nopl xtopology tsc_reliable nonstop_tsc cpuid pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single ssbd ibrs ibpb stibp ibrs_enhanced fsgsbase tsc_adjust bmi1 avx2 smep bmi2 invpcid rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves arat md_clear flush_l1d arch_capabilities
bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs itlb_multihit srbds
bogomips : 4224.00
clflush size : 64
cache_alignment : 64
address sizes : 45 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 142
model name : Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
stepping : 12
microcode : 0xbe
cpu MHz : 2112.003
cache size : 6144 KB
physical id : 2
siblings : 1
core id : 0
cpu cores : 1
apicid : 2
initial apicid : 2
fpu : yes
fpu_exception : yes
cpuid level : 22
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon nopl xtopology tsc_reliable nonstop_tsc cpuid pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single ssbd ibrs ibpb stibp ibrs_enhanced fsgsbase tsc_adjust bmi1 avx2 smep bmi2 invpcid rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves arat md_clear flush_l1d arch_capabilities
bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs itlb_multihit srbds
bogomips : 4224.00
clflush size : 64
cache_alignment : 64
address sizes : 45 bits physical, 48 bits virtual
power management:
根据CPU和操作系统从官网进行安装包下载即可
查看内存
[root@myKylin01 ~]# free -m
total used free shared buff/cache available
Mem: 2888 1430 230 274 1227 921
Swap: 0 0 0
或
[root@myKylin01 ~]# cat /proc/meminfo
MemTotal: 2957632 kB
MemFree: 236480 kB
MemAvailable: 943364 kB
Buffers: 160 kB
Cached: 1173468 kB
SwapCached: 0 kB
Active: 1784332 kB
Inactive: 596920 kB
Active(anon): 1451104 kB
Inactive(anon): 38096 kB
Active(file): 333228 kB
Inactive(file): 558824 kB
Unevictable: 32 kB
Mlocked: 32 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 16 kB
Writeback: 0 kB
AnonPages: 1190144 kB
Mapped: 195464 kB
Shmem: 281576 kB
Slab: 162436 kB
SReclaimable: 82880 kB
SUnreclaim: 79556 kB
KernelStack: 10796 kB
PageTables: 15292 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 1478816 kB
Committed_AS: 4785056 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 0 kB
VmallocChunk: 0 kB
Percpu: 73216 kB
HardwareCorrupted: 0 kB
AnonHugePages: 819200 kB
ShmemHugePages: 0 kB
ShmemPmdMapped: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
Hugetlb: 0 kB
DirectMap4k: 257856 kB
DirectMap2M: 3936256 kB
DirectMap1G: 2097152 kB
查看磁盘空间
[root@myKylin01 ~]# df -h
文件系统 容量 已用 可用 已用% 挂载点
devtmpfs 1.4G 0 1.4G 0% /dev
tmpfs 1.5G 4.0K 1.5G 1% /dev/shm
tmpfs 1.5G 42M 1.4G 3% /run
tmpfs 1.5G 0 1.5G 0% /sys/fs/cgroup
/dev/mapper/klas-root 17G 12G 5.1G 71% /
tmpfs 1.5G 216M 1.3G 15% /tmp
/dev/sda1 1014M 213M 802M 21% /boot
tmpfs 289M 0 289M 0% /run/user/993
tmpfs 289M 64K 289M 1% /run/user/0
/dev/loop0 783M 783M 0 100% /mnt
查看tmp空间,建议至少1.5G
[root@myKylin01 ~]# df -h /tmp
文件系统 容量 已用 可用 已用% 挂载点
tmpfs 1.5G 216M 1.3G 15% /tmp
查看glibc/gcc版本
glibc版本不能低于2.3,linux内核不能低于2.6
[root@myKylin01 ~]# rpm -qa|grep glibc
glibc-2.28-49.p02.ky10.x86_64
glibc-common-2.28-49.p02.ky10.x86_64
glibc-devel-2.28-49.p02.ky10.x86_64
[root@myKylin01 ~]# rpm -qa|grep gcc
gcc-gfortran-7.3.0-20190804.35.p02.ky10.x86_64
gcc-c++-7.3.0-20190804.35.p02.ky10.x86_64
gcc-7.3.0-20190804.35.p02.ky10.x86_64
libgcc-7.3.0-20190804.35.p02.ky10.x86_64
或
[root@myKylin01 ~]# ldd --version
ldd (GNU libc) 2.28
Copyright (C) 2018 自由软件基金会。
这是一个自由软件;请见源代码的授权条款。本软件不含任何没有担保;甚至不保证适销性
或者适合某些特殊目的。
由 Roland McGrath 和 Ulrich Drepper 编写。
[root@myKylin01 ~]# gcc --version
gcc (GCC) 7.3.0