第一步、要安装dmidecode这个包才能查询主板信息。如下:
[root@localhost ~]# dmidecode |more
-bash: dmidecode: command not found
[root@localhost ~]# yum install dmidecode
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: mirrors.163.com
* updates: mirrors.163.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package dmidecode.x86_64 1:2.11-2.el6 will be installed
--> Finished Dependency Resolution
Dependencies