Recent Posts
Recent Comments
Link
- HyperGROOVE
- Hood Rabbit의 맥(Mac) 갤러리
- 울지않는벌새 : Security, Mo⋯
- :: 붕어IQ의 세상사는 이야기 ::
- DATA FILEE STYLE
- 하얀잉크의 해피컨텐츠
- 이카루스의 리뷰토피아
- Kurien's Blog
- 사진은 권력이다
- 우리집 고양이는 TV를 본다
- 못된준코의 세상리뷰
- 에우르트는 나쁜남자 -_-
- 아이엠피터
- 김용택의 참교육이야기
- 다락방의 추억 상자
- All you need are LOVE
- 천추의 IT 이야기
- 서관덕의 시간이 머문 작은공간
- 티비의 세상구경
- TB의 SNS 이야기
- 그래서 난 아직도 ing :Seas⋯
- 자로의 꿈
- 꿈 많은 개발자가 되자! Tae-⋯
- 다산인권센터
- 아이폰주무르기
- 신씨's 쌀롱
- 구브의 잡동사니
- 해리의 문화예술 다이어리
- 꿈꾸는자의 생각의 파편들...
- 밀양765kV송전탑OUT
- 기묘한 블로그
- 소비자와 함께 만드는 공간⋯
- 투명사회를 위한 정보공개센터
- 아는만큼 쓰는 블로그
- 작은outsider의 생각누리
- Script Programming(스크립트⋯
- 선대인의 인사이트
- Programming is Fun
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
Tags
- 세월호
- 100년의가게
- Open vSwitch
- glusterfs
- k8s
- 경영
- git
- external-dns
- 세월호 참사
- Ansible-playbook
- Ubuntu 9.10
- 가상화
- mysql
- container
- Openshift
- mongodb
- OpenShift Origin
- statefulset
- Virtualization
- ubuntu
- openSUSE
- Docker
- opensuse 11.3
- 100년의기업
- Route53
- Linux
- Kubernetes
- centos
- 창업
- Xen
Archives
- Today
- 0
- Total
- 1,108,708
Bryan's Tech-Log
OpenSuse 11.2 dom0 - PV domU VM creation from CentOS5.4 DVD & http setup 본문
Technical/Cloud, Virtualization, Containers
OpenSuse 11.2 dom0 - PV domU VM creation from CentOS5.4 DVD & http setup
Barracuda 2010. 6. 6. 20:26Sorry for all these English notations.
1. Get Cent5.4 DVD iso file be prepared in local disk(download it!)
# wget http://blahblah/*.iso => save it to /home/vmimg_src/cent54dvd.iso
2. Prepare sparse file for disk image & get filesystem ready(24GB virtual disk image)
# dd if=/dev/zero of=/home/vmimg/centvdisk.img bs=6k seek=4096k count=1
# mkfs.ext3 /home/vmimg/centvdisk,img
3. Mount iso image to loop device
# losetup -f => Check free loop device number, consider its loop7
# losetup -f /home/vmimg_src/cent54dvd.iso => assign iso to /dev/loop7
# mkdir -p /mnt/iso/cent54dvd
# mount -t iso9660 /dev/loop7 /mnt/iso/cent54dvd
4. Make httpd be prepared and copy all the installation files
# mkdir /home/www/cent54
# vi /etc/apache2/default-server.conf, modify
<Directory “/home/www/cent54”>
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
# /etc/init.d/apache2 restart
# cp -a /mnt/iso/cent54dvd /home/www/cent54
5. Make VM boot loader be prepared
# cd /home/vmimg
# mkdir cent54boot; cd cent54boot
# cp /home/www/cent54/images/xen/vmlinuz ./vmlinuz-install-xen
# cp /home/www/cent54/images/xen/initrd.img ./initrd-install-xen
6. edit CentOS PV domu configuration
# cd ~/xen_config
# vi cent54domu.cfg
-----------------------------------------------------------------------------
name='centOSdomU'
# After installation boot, disable these 2 lines
kernel='/home/vmimg/cent54boot/vmlinuz-install-xen'
ramdisk='/home/vmimg/cent54boot/initrd-install-xen'
# After installation boot, enable below 1 line
#bootloader='/usr/bin/pygrub'
extra='text'
memory=1024
vcpus=1
# After installation boot, disable below 1 line
disk=['file:/home/vmimg/centvdisk.img,xvda,w']
# After installation boot, enable below 1 line
#disk=['tap:aio:/home/vmimages/centvdisk.img,xvda,w']
audio=0
vif=['bridge=br0']
# After installation boot, disable below 1 line
on_poweroff='destroy'
on_reboot='restart'
on_crash='restart'
-----------------------------------------------------------------------------
* As for this process, U need to make root/swap partition manually
7. Create VM with xm command
# xm create -c cent54domu.cfg => installation starts
* If reboot starts after installation, kill it!
# xm destroy domain_number
# cp cent54domu.cfg cent54domu_init.cfg
# vi cent54domu.cfg => Do as the comment says & save it
# xm create cent54domu.cfg
* Now VM starts as a normal boot process
* All done.
'Technical > Cloud, Virtualization, Containers' 카테고리의 다른 글
Fedora 14 Dom0 Kernel (Xen 4.0.1-6) 설치 - Virtual Machine 사용을 위한 준비 (2) | 2010.11.11 |
---|---|
OpenSUSE 11.3 kernel 2.6.34.7-0.5-xen, Xen 4.0.1에서 windows hvm quest 설치 (0) | 2010.11.06 |
Setting up Xen Dom0 kernel 2.6.31.12 on OpenSuse 11.2 (0) | 2010.06.09 |
OpenSuse 11.2 dom0 - PV domU VM creation from CentOS5.4 DVD & http setup (0) | 2010.06.06 |
가상화의 물결 (0) | 2010.05.19 |
OpenSuse 11.2, Xen Kernel(Dom-0) 상태에서 Nvidia 9800GT 잡기(kernel 2.6.31.12-0.2-xen) (0) | 2010.04.19 |
- Tag
- CentOS 5.4, http setup, openSUSE, PV domU, Virtualization, Xen PV
0 Comments