KVM=OS(Linux)+ File system(Ext4) +kvm(VT-X)+Hypervisor (QEMU)
VMware ESX=OS(Linux) +File system MFS)+ KVM (VT-X) +Hypervisor
web) +VT-d
# weget http://tobala.net/download/tsc32.iso
啟動Tiny server core 系統
#kvm -m 128 -cdrom ISO/tsc32.iso -boot d
(-boot指光碟開機)
#kvm -m 128 -cdrom tsc32.iso -boot d &
(&指背景執行)
----------------------------------------------------------------------------------------------------
#lsmod | grep kvm
產生虛擬硬碟檔
#kvm-img create -f qcow tsc32.qcow 60m
raw
vmdk twc32.vmdk 60m
(-f=> format ; raw =>一次到位 qcow=>隨需擴增)
啟動虛擬機器
#kvm -m 128 -cdrom tsc32.iso -hda tsc32.qcow -boot d
格式化
#mkfs.ext4 /dev/sda1
Shell大量產生虛擬機器映像檔
#nano mkhd.sh
#!/bin/bash
kvm -img create -f vmdk tsc3201.vmdk 60m
kvm -img create -f vmdk tsc3202.vmdk 60m
#chmod +x mkhd.sh
Shell大量啟動虛擬機器
#nano starttsc.sh
kvm -m 128 -cdrom tsc32.iso -sda tsc3201.vmdk -boot d &
kvm -m 128 -cdrom tsc32.iso -sda tsc3202.vmdk -boot d &
安裝應用套件
#tce-load -wi coreutils.tcz
修改系統設定-固定IP
#nano /opt/bootlocal.sh
ifconfig eth0 10.0.2.15 netmask 255.255.255.0 up
route add default gw 10.0.2.3
echo "nameserver 168.95.1.1" > /etc/resolv.conf
儲存設定
#filetool.sh -b
訂閱:
張貼留言 (Atom)
-
[Office] 自從您上次存檔後檔案 (filename.xls) 可能已由另一位使用者變更 當您嘗試將 Microsoft Excel 活頁簿儲存到網路伺服器時,如果該伺服器正在執行例如 Services for Macintosh 的中繼服務,或是在開啟活頁簿時出現...
-
Use AMISCE tool to update BIOS configuration under linux Test fucntion without change dump file 1.Copy SCELNX_64 to Linux_Flash folder 2...
-
I would like to thank you for all your support during the past years and hope that you will continue to extend the same to my replacement, ...
沒有留言:
張貼留言