¿ù°£ Àα⠰Խù°

°Ô½Ã¹° 708°Ç
   
°¡»óÀ̹ÌÁö »ý¼º
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2015-11-06 (±Ý) 03:38 Á¶È¸ : 3555
                                
# wget http://ftp.daumkakao.com/centos/6.7/isos/x86_64/CentOS-6.7-x86_64-bin-DVD1.iso

# qemu-img create -f qcow2 CentOS6.7_x86_64.qcow2 25G
Formatting 'CentOS6.7_x86_64', fmt=qcow2 size=26843545600 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16

# virt-install --virt-type qemu --name CentOS_6.7_x86_64 --ram 2048 --disk CentOS_6.7_x86_64.qcow2,format=qcow2 --network network=default --graphics vnc,listen=0.0.0.0 --noautoconsole --os-type=linux --os-variant=rhel6 --extra-args="console=tty0 console=ttyS0,115200n8 serial" --location=CentOS-6.7-x86_64-bin-DVD1.iso
==>> ERR Message
ERROR    Cannot access storage file '/root/CentOS_6.7_x86_64.qcow2' (as uid:107, gid:112): Permission denied
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
  virsh --connect qemu:///system start CentOS_6.7_x86_64
otherwise, please restart your installation.

SOLVE) :: ±ÇÇÑ ¼³Á¤ 
À̹ÌÁö »ý¼ºÀÌÈÄ OpenStack °ú ¿¬µ¿ÇÏ·Á¸é ÇØ´ç ºÎºÐ¿¡ ´Ù½Ã ÁÖ¼®Ã³¸® 
# vim /etc/libvirt/qemu.conf
user = "root"
group = "root"

# service libvirt-bin restart 

¡Ø virsh »ç¿ë¹ý
# virsh help
# virsh list --all
# virsh destroy CentOS_6.7_x86_64
# virsh undefine CentOS_6.7_x86_64

;;;; ºÎÆÃÇϸé È­¸éÀÌ... ???



¹æ¹ý2)
# qemu-system-x86_64 -boot d -m 2048 -smp 1 -drive file=CentOS_6.7_x86_64.qcow2,if=virtio,index=0,media=disk -cdrom CentOS-6.7-x86_64-bin-DVD1.iso -vnc :10 -monitor unix:CentOS_6.7_x86_64.monitor,server,nowait
 
VNC srever : 115.68.206.34:10


À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.