測試CentOS-7-x86_64-Minimal-1708.iso這種光盤安裝效果

在dvd1光盤安裝選擇mininal時有292個包vim

[root@localhost ~]# rpm -qa|wc -l
292
[root@localhost ~]# 

  

測試下使用mininal的iso文件安裝時有什麼區別bash

建立磁盤安裝kvm時選擇此iso文件app

qemu-img create -f qcow2 /data/app/kvm/CentOS-7.4-mininal-x86_64.qcow2 10G

virt-install --name CentOS-7.4-mininal-x86_64 \
--virt-type kvm \
--vcpus 4 \
--ram 2048 \
--cdrom=/data/tools/CentOS-7-x86_64-Minimal-1708.iso \
--disk path=/data/app/kvm/CentOS-7.4-mininal-x86_64.qcow2 \
--network bridge=br0 \
--graphics vnc,listen=0.0.0.0 \
--noautoconsole

  

 

選擇安裝包的界面以下ssh

 

 不設置kdump,由於它佔內存 測試

 

 

 291個包 spa

 

 

等安裝完畢看下哪一個包沒有blog

統計比較內存

 

[root@openstack-controller-1 /]# ssh 10.0.8.30
Last login: Mon Nov  5 14:49:02 2018 from 10.0.8.11
[root@localhost ~]# rpm -qa|sort >mininal.txt
[root@localhost ~]# exit
logout
Connection to 10.0.8.30 closed.
[root@openstack-controller-1 /]# scp 10.0.8.30:/root/mininal.txt .
mininal.txt                                                                                                                100% 9319   884.7KB/s   00:00    
[root@openstack-controller-1 /]# ssh 10.0.8.32
Last login: Mon Nov  5 14:39:00 2018 from 10.0.8.11
[root@localhost ~]# rpm -qa|sort >mininal-iso.txt
[root@localhost ~]# exit
logout
Connection to 10.0.8.32 closed.
[root@openstack-controller-1 /]# scp 10.0.8.32:/root/mininal-iso.txt .
mininal-iso.txt                                                                                                            100% 9283   715.1KB/s   00:00    
[root@openstack-controller-1 /]# vimdiff mininal.txt mininal-iso.txt 

  

 

選擇dvd1光盤安裝的多了個qemu-guest-agent的rpm包it

選擇mininal的iso安裝沒qemu-guest-agent的rpm包
其他的包如出一轍io

[root@openstack-controller-1 /]# wc -l mininal.txt 
292 mininal.txt
[root@openstack-controller-1 /]# wc -l mininal-iso.txt 
291 mininal-iso.txt
[root@openstack-controller-1 /]# 
相關文章
相關標籤/搜索