virtualization/parallels

컨테이너에 yum 인스톨하기

yueisu 2009. 11. 22. 15:50
Parallels Virtuozzo Container를 이용한 CentOS 5.3의 가상머신(컨테이너)상에 yum을 인스톨하는 방법은 다음과 같습니다.
[root@hobbit ~]# cd /usr/local/src/
[root@hobbit src]# mkdir yumrpm
[root@hobbit src]# cd yumrpm/
[root@hobbit yumrpm]#wget http://ftp.riken.jp/Linux/centos/5.3/os/i386/SRPM/yum-3.0.5-1.el5.centos.5.noarch.rpm
[root@hobbit yumrpm]#wget http://ftp.riken.jp/Linux/centos/5.3/os/i386/SRPM/yum-metadata-parser-1.0-8.fc6.x86_64.rpm
[root@hobbit yumrpm]#wget http://ftp.riken.jp/Linux/centos/5.3/os/i386/SRPM/python-elementtree-1.2.6-5.x86_64.rpm
[root@hobbit yumrpm]#wget http://ftp.riken.jp/Linux/centos/5.3/os/i386/SRPM/python-urlgrabber-3.1.0-2.noarch.rpm
[root@hobbit yumrpm]#wget http://ftp.riken.jp/Linux/centos/5.3/os/i386/SRPM/python-sqlite-1.1.7-1.2.1.x86_64.rpm
[root@hobbit yumrpm]#wget http://ftp.riken.jp/Linux/centos/5.3/os/i386/SRPM/m2crypto-0.16-6.el5.1.x86_64.rpm
[root@hobbit yumrpm]#wget http://ftp.riken.jp/Linux/centos/5.3/os/i386/SRPM/rpm-python-4.4.2-47.el5.x86_64.rpm
[root@hobbit yumrpm]#rpm -ihv *.*