Ryu @rkanbe ãã®NBAãã¤ãã®ãµã¤ããKalturaã®MediaSpaceã¨ããã½ãªã¥ã¼ã·ã§ã³ã§ã§ãã¦ãã¾ãããã¬ãã·ãã«ã http://www.nba.de/
使ãæ¹ã«å¿ãããããã¯ã¼ã¯æ§æï¼ç¶ãï¼ âã±ã¼ã¹4ï¼ãµã¼ãã¹ç¨ã®ã²ã¹ãOSãè¤æ°èµ·åããå¤é¨ãã¼ãããã²ã¹ãOSã«ç°¡åã«ã¢ã¯ã»ã¹ã§ããããã«ãã ãã¹ãã®ç©çNICã¨ã²ã¹ãOSãæ¥ç¶ããtapããã¤ã¹ãããªãã¸ã®ã¤ã³ã¿ã¼ãã§ã¤ã¹ã¨ãã¦è¨å®ãã¾ããããã«ãããã¹ãOSã®æ¥ç¶ãã¦ããç©ççãªL2ãããã¯ã¼ã¯ã«ãã²ã¹ãOSãæ¥ç¶ãã¦ããããã«æ©è½ãã¾ãããã®ãããå¤é¨ãã¹ãã¯ãã¡ãããã²ã¹ãOSéã®éä¿¡ãè¡ããã¨ãã§ãã¾ãã ãªããã±ã¼ã¹1ã3ã¾ã§ã¯ãkvmã°ã«ã¼ãã«æå±ãã¦ããã°ä¸è¬ã¦ã¼ã¶ã¼ã§å®è¡ã§ãã¾ããããã±ã¼ã¹4ã§ä½¿ç¨ããtapããã¤ã¹ã«ã¯root権éãå¿ è¦ã§ãããããã¯ã¼ã¯æ§æã¯å³4ã§ãã # ifconfig eth0 0.0.0.0 promisc up     âeth0ããããã¹ãã£ã¹ã¢ã¼ãã«ãã # brctl addbr br0                    â
åæ äºåã«KVMãlibvirtãvm-managerãªã©ãã¤ã³ã¹ãã¼ã«ããã¦ãããã¨ãç¢ºèª åè) âã®ãUbuntu ãªãã£ã·ã£ã«ã®ããã¥ã¡ã³ãã®ããæ¹ã試ãããé¨åããä¸ã http://d.hatena.ne.jp/yotena/20091120/1258722085 ç¹ã«ãGUIã§ããå ´åã¯ãä¸ã®URLã®ã¨ã³ããªã¼ã§æ¸ãã¦ããã /etc/vmbuilder/libvirt/libvirtxml.tmpl ã®ç·¨éã¯keymapæå®æå¤ãå¿ è¦ãªãã£ãã éå§ ä»®æ³ãã·ã³ããã¼ã¸ã£ãéããã¨ãã [localhost (System)]ã®é¨åãããã«ã¯ãªãã¯ããã¨Activeã«ãªãã ããæ¢åã®VMãããã¨ããã«è¡¨ç¤ºãããã [æ°è¦ãã¿ã³]ã§æ°ããVMä½æãå§ã¾ãã æåã®ç»é¢ã æ±ç¨çã«ãImageããã¤ã³ã¹ãã¼ã«ãããï¼vmbuilderã使ãã¨Ubuntuãªã©ã¯Imageãªã
ã¯ããã« æ°äººç ä¿®ã§æ°äººã®æ¹ã ã®ä¸ã§æè¡æ¹é¢ãããã人ã®ãµãã¼ããã¦ãã¾ããä»ã¾ã§ããããµã¼ãã£ã³ã¨ã¡ã¼ã«ã¨Office使ãããããããã¦ãªãã£ããã¨ãã人ãå¤æ°ããã®ã§ããããæ¹ã ã«æ©ãæè¡ã身ã«ã¤ãã¦ããããããªã¨æã£ã¦å®¶ã«ç°å¢æ§ç¯ããããã¨ããå§ããã¾ããã ã©ãããªãããããªç°å¢ãä½ã£ã¦ã»ãããªã¨æããä»®æ³åç°å¢ã使ã£ã¦ç°å¢ãæ§ç¯ããæ¹æ³ãã¡ã¢ã£ã¦ããã¾ããVMwareãVirtualBoxã使ãã°ç°¡åãªãã§ããããã©ããã£ãããªãæ°ããã®æè¡ã«è§¦ãã¦ã»ããã¨ãããã¨ã§ãããã«è§¦ãã¦ããã¾ããèªåãå¥ã«è©³ããããã§ã¯ãªãã®ã§çªã£è¾¼ã¿æè¿ãä¼ç¤¾ã®å¾è¼©åãã«æ¸ãã¦ãã¾ãã®ã§ãã®è¾ºãæ±²ã¿åã£ã¦ãã ããã KVMã£ã¦ãªãã§ããï¼ è©³ãã人ã¯ããããããã®ã§ããã§ã¯è©³ç´°ã¯çãã¾ããKVMã¯Kernel-based Virtual Machineã®ç¥ã§Linuxã«ã¼ãã«èªä½ããã¤ãã¼ãã¤ã¶ã¼å
Ubuntuã§Eucalyptusã¨ã試ãããã®ãããããKVMã使ã£ã¦ã¿ããã¡ãªã¿ã«åãã¦ä½¿ã£ã¦ãã¾ãã ã¾ãã¯ã以ä¸ã®ãããªæã使ã£ã¦ã¤ã³ã¹ãã¼ã«ãã¦ã¿ã¾ããã ï¼çµè«ããããã¨ãã¾ããããªãã£ããï¼ KVMåä½ã§ã¤ã¡ã¼ã¸ãä½ã£ã¦ã¿ãã http://www.atmarkit.co.jp/flinux/rensai/kvm02/kvm02a.html ã®ããæ¹ã§è©¦ãã¦ã¿ã¾ããã æºå $ sudo apt-get install kvm $ sudo adduser yosinori kvm $ sudo reboot ã¤ã¡ã¼ã¸ãã£ã¹ã¯ä½æ $ kvm-img create -f qcow2 u910.img 10GB OSã¤ã³ã¹ãã¼ã« $ kvm -hda u910.img -cdrom /dev/cdrom -boot d -m 512 -monitor stdio èµ·å Desk
Ubuntu 9.10(Karmic Koala) 㧠KVM æ°ããè¨äºãããã¾ããUbuntu 16.04 LTS ã® KVM ã§ä»®æ³ãµã¼ã (2016/05/06, 2017/08/10 ãªã³ã¯å ä¿®æ£) Ubuntu 9.10(Karmic Koala) ã®ãµã¼ãç ï¼ ubuntu-9.10-server-amd64 ï¼ ããã¹ãã¨ã²ã¹ãã¨ãã«ä½¿ã£ã¦ãKVMã«ããä»®æ³ãã·ã³ç°å¢ãæ§ç¯ãã¦ã¿ã¾ããLinuxãã¤ã³ã¹ãã¼ã«ãããã·ã³(ãã¹ã)ä¸ã«ã½ããã¦ã§ã¢ã§è¤æ°ã®ä»®æ³ãã·ã³ï¼ã²ã¹ãï¼ãä½æãããããä»®æ³ãã·ã³ã«ãLinuxãã¤ã³ã¹ãã¼ã«ãããã¨ã§ãä¸å°ã®ãã·ã³ãè¤æ°ã®ãã·ã³ã«è¦ãããã¾ããä¸å°ã®ã³ã³ãã¥ã¼ã¿ã®ãã¼ãã¦ã§ã¢å ¨ä½ãã½ããã¦ã§ã¢ã§å®ç¾ï¼å®å ¨ä»®æ³åï¼ãã¾ãã Ubuntuã§ã¯ä»®æ³ãã·ã³ç°å¢ãå¶å¾¡ããããã« Virtual Machine Manager(GUI) 㨠virs
ããã§ããªãã¸ã¨TUN/TAPããã¤ã¹(ä»®æ³ãããã¯ã¼ã¯ã¤ã³ã¿ã¼ãã§ã¤ã¹)ã使ããããã«ãªããæ¯åãã®ã³ãã³ããå®è¡ããã®ã¯é¢åãªã®ã§ã/etc/modulesã« tun bridge ã®äºè¡ã追å ãã¦ããã¨ããã 次ã«ãã¨ãã£ã¿ã§/etc/network/interfacesãéãã auto lo iface lo inet loopback iface eth0 inet manual auto br0 iface br0 inet static address   192.168.0.2 network 192.168.0.0 gateway   192.168.0.1 broadcast   192.168.0.255 netmask   255.255.255.0 pre-up /sbin/ifconfig eth0 0.0.0.0 promisc up pre-up
èªå® ãµã¼ãã®ubuntuãhardyããintrepidã«upgradeããå¾ã§ãxenã®ãã¹ãã«ãªããªããã¨ãå¤æãã¦ããæ©æ°ã¶æ... xenã®ä»®æ³ãã·ã³ãèµ·åã§ããªãã¾ã¾æ¾ç½®ã§ããããKVMãå©ç¨ãã¦ä»®æ³ãµã¼ããç«ã¡ä¸ãããã¨ã«ãã¾ããã Community Ubuntu Documentation - KVM https://help.ubuntu.com/community/KVM ãåèã«ã KVMã®ã¤ã³ã¹ãã¼ã« $ sudo aptitude install kvm libvirt-bin ubuntu-vm-builder qemu ã¤ã³ã¹ãã¼ã«ãçµãã£ãããlibvirtdã°ã«ã¼ãã«èªåã®ã¢ã«ã¦ã³ããç»é²ãã¦ããã $ sudo adduser `id -un` libvirtd Networkè¨å® ä¸è¨ãåèã«ã https://help.ubuntu.com/comm
ã«ãã´ãªã¼ DX (2) ä¸è¬ (59) ç ç©¶ä¼ (6) åãæ¹ (4) æè¡ (353) Edge AI (2) Edge Computing (13) Erlang (1) FIWARE (2) Fog Computing (10) Infiniband (31) Internet of Things (32) Key Value Store (17) Linux (3) Linux KVM (10) Machine Learning (6) RealTime Web (14) SRE (3) Webãµã¼ãã¹ (42) ã¤ã³ãã© (8) ã³ã³ãã (4) ã¹ãã¬ã¼ã¸ (93) ãã¼ã¿ã»ã³ã¿ã¼ (7) ãã¼ã¿ãã¼ã¹ (47) ãã¼ã¿æµé (6) ãã¬ãã¬ã¼ã³ã¹ (2) ãããã¯ã¼ã¯ (215) ä»®æ³å (111) ç½å®³ã³ãã¥ãã±ã¼ã·ã§ã³ (26) 空éæ å ± (30) éåã³ã³ãã¥ã¼ãã£ã³
以åãXenã§å®å ¨ä»®æ³åãã§ããã®ã§Athlon64x2 ãè³¼å ¥ããã®ã ãã ã¡ãã£ã¨ãã試ãã¦ããªãã£ãã å¤ãªçµæ§å¶ç´ããã£ããã§æ¯è¼çå®å®ãã¦ãã VMware Server ã使ã£ã¦ããã æã¯çµã£ã¦ãLinux KVM ã¨ããã®ãæ´»çºã«éçºãè¡ããã¦ãããåéææã§ããã åæã«ãè²ã ãªä»®æ³åæè¡ãçµ±ä¸ããAPIã§æ±ããlibvirtãæ´åããã¦ãã¦ããã ç¹ã«ãvirt-managerã¯ã VMware Server Console ã彷彿ãããã¼ã«ã«ãããªã¢ã¼ãã¾ã§ç®¡çãå¯è½ã«ãªãã¤ã¤ããã ãªã®ã§ãUbuntu+KVM+libvirt ã«ç§»è¡ãã¦ã¿ããã¨æãã ã¤ã³ã¹ãã¼ã« KVM 㨠virt-manager ã®ããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ã # apt-get install kvm libvirt-bin virt-manager # addgroup <èªå> libv
ä»®æ³åç°å¢ã¨è¨ãã°ããã¹ã¯ãããLinuxã¦ã¼ã¶ã«ã¨ã£ã¦ã¯èèã®VMwareãVirtualä»®æ³åç°å¢ã¨è¨ãã°ããã¹ã¯ãããLinuxã¦ã¼ã¶ã«ã¨ã£ã¦ã¯èèã®VMwareãVirtual Boxãã馴æã¿ã ãµã¼ãç°å¢ã§ã¯Xenãkvmãè©å¤ã¨ãªã£ã¦ããããã¡ããUbuntuãã¹ã¯ãããã§ãåããäºã¯ã§ãã¾ããããã³ãã³ãã§ã®æä½ãå¿ è¦ã§ããã¾ãã¡æ·å± ã®é«ããã®ã§ããã åãã試ãã¦ã¿ããã£ããä»®æ³ãã·ã³ããã¼ã¸ã£ãã¨ããGUIã¢ããªã±ã¼ã·ã§ã³ã 以åã¯ä¸å ·åãå¤ãã£ãã®ã§ãããä¹ ãã¶ãã«è©¦ãã¦ã¿ãããã¾ãåãããã«ãªã£ã¦ãã¾ããã ã¾ã é²åä¸ã§ãããã®ã¢ããªãVMware, Virtual Boxã®ã¦ã¼ã¶ã¤ã³ã¿ãã§ã¼ã¹ã«ã¯åã³ã¾ããããGUIã«ãã£ã¦ä»®æ³ãã·ã³ã®ä½æã稼åç¶æ³ã®ç¢ºèªãã§ããã®ã¯ããã¯ã便å©ã§ãã ããã¦ä½ããããå ¨ã¦ããªã¼ãã³ã½ã¼ã¹ã»ã¢ããªã±ã¼ã·ã§ã³ã¨ãã¦å©ç¨ã§ãã
ã¢ãã¦ã³ã¹å¾ããã2ã«æã§Linux Kernelã«ãã¼ã¸ããããã¨ã§ä¸èºæ³¨ç®ãæµ´ã³ããã¨ã«ãªã£ãä»®æ³åæè¡ãKVMãããããããã®å ·ä½çãªä»çµã¿ã使ç¨æ¹æ³ã¨ãªãã¨ãæå¤ã¨ç¥ããã¦ããªãã®ã§ã¯ãªãã§ããããããã®é£è¼ã§ã¯ãããªKVMã«ã¤ãã¦ç´¹ä»ãã¾ãï¼ç·¨éé¨ï¼ ååãLinuxæ¨æºã®ä»®æ³åæè¡ãKVMãã®ä»çµã¿ãã§ã¯ããKVMï¼Kernel-based Virtual Machineï¼ã®æ¦è¦ã«ã¤ãã¦èª¬æãã¾ãããä»åã¯ãããè¸ã¾ãã¦ãåºæ¬çãªä½¿ãæ¹ã説æãã¾ããKVMã¯GUIãã¼ã«ã§æä½ãããã¨ãã§ãã¾ãããä»åã¯åºæ¬ãæ¼ãããããããã¹ã¦ã³ãã³ãã©ã¤ã³ã§è¡ã£ã¦ã¿ã¾ãããã å®éã«KVMã使ãå ´åã«ã¯GUIãã¼ã«ã使ããã¨ãæ³å®ããã¾ãããã³ãã³ãã©ã¤ã³ã§ã®æä½ãæ¼ããã¦ããã°ãGUIãã¼ã«ã®è£å´ã§å®éã«ä½ããã£ã¦ããã®ããç解ã§ãããã¨æãã¾ãã ä»åã®è©±ã®æµãã¯ä»¥ä¸ã®ã¨ããã§ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}