Archive for August, 2009

h1

Updating OS EZ Template Caches

August 24, 2009

#####################################

[root@vps ~]# ls /vz/template/cache
centos-5-x86.tar.gz fedora-core-9-x86.tar.gz ubuntu-8.04-x86.tar.gz
[root@vps ~]#

[root@vps ~]# vzpkg update cache centos-5-x86
Update OS template cache for centos-5-x86 template

Loading “rpm2vzrpm” plugin
Cleaning up xml metadata
16 metadata files removed

Loading “rpm2vzrpm” plugin
Making cache files for all metadata files.
This may take a while depending on the speed of this computer
Setting up repositories
base0 100% |=========================| 1.1 kB 00:00
base1 100% |=========================| 951 B 00:00
base2 100% |=========================| 951 B 00:00
base3 100% |=========================| 951 B 00:00
primary.xml.gz 100% |=========================| 878 kB 00:00
primary.xml.gz 100% |=========================| 306 kB 00:00
base1 : ################################################## 465/465
Added 296 new packages, deleted 0 old in 4.80 seconds
primary.xml.gz 100% |=========================| 1.7 kB 00:00
primary.xml.gz 100% |=========================| 1.0 kB 00:00
filelists.xml.gz 100% |=========================| 2.8 MB 00:00
filelists.xml.gz 100% |=========================| 2.2 MB 00:00
base1 : 2/465
=== == == == ==
=== == == == ==
=== == == == ==
=== == == == ==
ev.i386 0:095-14.20.el5_3 usermode.i386 0:1.88-3.el5.2 util-linux.i386 0:2.13-0.50.el5 vim-common.i386 2:7.0.109-4.el5_2.4z zlib.i386 0:1.2.3-3
Complete!
grep: /tmp/pam/*: No such file or directory
OS template centos-5-x86 cache was updated
[root@vps ~]#

[root@vps ~]# ls /vz/template/cache
centos-5-x86.tar.gz centos-5-x86.tar.gz-old fedora-core-9-x86.tar.gz fedora-core-9-x86.tar.gz-old ubuntu-8.04-x86.tar.gz
[root@vps ~]#

[root@vps ~]# vzup2date

h1

CenOS 5.3 yum installation in VPS

August 21, 2009

-bash-3.2# cd /root/
-bash-3.2# mkdir yumfiles
-bash-3.2# cd yumfiles/
-bash-3.2# ls
-bash-3.2# vi yumdload.sh

wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/elfutils-libs-0.137-3.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/elfutils-libelf-0.137-3.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/expat-1.95.8-8.2.1.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/gmp-4.1.4-10.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/libxml2-2.6.26-2.1.2.7.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/libxml2-python-2.6.26-2.1.2.7.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/m2crypto-0.16-6.el5.3.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/python-elementtree-1.2.6-5.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/python-sqlite-1.1.7-1.2.1.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/python-urlgrabber-3.1.0-5.el5.noarch.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/readline-5.1-1.1.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/rpm-4.4.2.3-9.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/rpm-libs-4.4.2.3-9.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/rpm-python-4.4.2.3-9.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/sqlite-3.3.6-2.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/yum-3.2.19-18.el5.centos.noarch.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/yum-metadata-parser-1.1.2-2.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/popt-1.10.2.3-9.el5.i386.rpm

rpm -Uvh rpm-4.4.2.3-9.el5.i386.rpm rpm-libs-4.4.2.3-9.el5.i386.rpm popt-1.10.2.3-9.el5.i386.rpm –force
rpm -Uvh rpm-python-4.4.2.3-9.el5.i386.rpm
rpm -Uvh m2crypto-0.16-6.el5.3.i386.rpm python-*.rpm yum*.rpm

-bash-3.2# sh yumdload.sh
-bash-3.2#