After searching, i found that there are no information about how to update a open VZ VPS. It is worth to write it down for other people's reference.
Why do i need to update VPS? Because i need to compile code in VPS. With the prepackaged VPS template, it does not include glibc-devel, gcc etc development tools.
I have CentOS 4.4 CDs in hand. So, following is what i did.
My first VPS ID is 101.
At the very begining, i tried: root$vzyum 101 update. It just failed. I think it could be due to the slow internet connection or the yum repository is not available....
So, i man yum and find that it could be update or install local packages. So i did the following: (cd current directory to the CD mounted directory)
$vzyum 101 update glibc-common-2.3.4-2.25.i386.rpm
$vzyum 101 install gcc
It works.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment