설치환경:
15.04 LTS
Android x86 이미지
파일: http://www.android-x86.org
=> 만약
Android x86 source code build 부터
할꺼면 http://www.android-x86.org/getsourcecode
참고
<리눅스 KVM과
Qemu>
<Qemu>
1. Qemu& kvm
설치
$ apt-get install
qemu
$ apt-get install
qemu-kvm
2. guest 운영체제
올리기
2-1. 디스크 이미지
만들기
$ qemu-img create android4.4.img 4G
*뒤에 4G는
Virtual machine Size
2-2. kvm위에서 부팅
$ kvm –m 256 –hda android4.4.img –boot d –cdrom
./android-x86-4.4-r1.iso
* -m 256(메모리 크기
설정)
* -had 옵션은 디스크이미지
파일을 지정해주는 것
* -cdrom 옵션은 iso로
이미지를 odd로
hdd를
연결해서 사용하는 느낌
3. 다음번에
실행할 때
$ kvm –m 512
–had android4.4.img
<Qemu에
Android-x86 설치하기>
참고:
www.upubuntu.com/2012/03/how-to-install-android-x86-40-using.html
-
처음
선택화면에서 Live CD – Run Android-x86 ti
harddisk 선택
-
Create/Modify
partitions 선택
-
cfdisk
화면에서 New
선택
-
Primary 옵션
선택
-
Bootable
선택
-
Write 선택
후 Quit
-
만들어진
파티션 선택 후 ext3 파일
시스템 선택
-
Reboot후
실행 됨
<Spice> 공식
홈페이지: www.spice-space.org
참고:
http://www.joinc.co.kr/modules/moniwiki/wiki.php/Site/cloud/Qemu/VNC
1. Spice 설치
$ apt-get install
qemu-kvm-spice
2. spice 빌드된
kvm로 VM
실행 =>
spice server
$ kvm-spice –enable-kvm –hda android4.4.img –spice
port=5900,disable-ticketing –m 2048 –net nic –net user
3. spice 클라이언트를
이용해서 접속
$ apt-get install
spice-client
*spice 공식
어플을 사용해서 접속 가능 (aSPICE: Secure
SPICE Client)
https://play.google.com/store/apps/details?id=com.iiordanov.freeaSPICE&hl=ko
4. spice 서버로
접속
spicec –h
localhost –p 5900
* 만약
인터넷을 통한 원격 접근을 허용하길 원한다면
localhost 대신
0.0.0.0:1과
같이 bind할
인터넷 주소를 설정