OpenVZ Forum


Home » General » Support » *SUCCESS* Centos 5 minimal template
*SUCCESS* Centos 5 minimal template [message #12748] Tue, 08 May 2007 16:48 Go to next message
sspt is currently offline  sspt
Messages: 100
Registered: August 2006
Location: Portugal
Senior Member
Hello,
I've created a CentOS 5 template based on centos-4-i386-minimal.

To create the template i've used the following steps:
Quote:


1 - Create a VPS with centos-4-i386-minimal
2 - Download the files to /vz/private/VEID/
centos-release-5-0.0.el5.centos.2.i386.rpm
centos-release-notes-5.0.0-2.i386.rpm
initscripts-8.45.14.EL-1.el5.centos.1.i386.rpm
3 - Enter in VPS
3 - Update the first two packages
4 - Force initscripts install with --nodeps
5 - Import the new RPM-GPG key
rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
5 - Exit from VPS
6 - Change vps config file
OSTEMPLATE="centos-4-i386-minimal"
to
OSTEMPLATE="centos-5-i386-minimal"
7 - Upgrade the remaining packages without issues
vzyum VEID upgrade
8 - Delete .rpmsave and backup files from VE
9 - Create the template Smile


Template is available for download here


http://static.openvz.org/userbars/openvz-user.png

[Updated on: Wed, 16 May 2007 07:38] by Moderator

Report message to a moderator

Re: Centos 5 minimal template [message #12750 is a reply to message #12748] Tue, 08 May 2007 17:52 Go to previous messageGo to next message
spOOwn is currently offline  spOOwn
Messages: 4
Registered: May 2007
Location: belgium
Junior Member
what was you host OS ? also centos ?
Re: Centos 5 minimal template [message #12752 is a reply to message #12750] Tue, 08 May 2007 18:33 Go to previous messageGo to next message
sspt is currently offline  sspt
Messages: 100
Registered: August 2006
Location: Portugal
Senior Member
Yes, CentOS 5.0

http://static.openvz.org/userbars/openvz-user.png
Re: Centos 5 minimal template [message #12770 is a reply to message #12748] Wed, 09 May 2007 07:15 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Hello,

Thank you very much!

Can you, please, create a small article at wiki.openvz.org about creating Centos 5.0 template?

Thank you,
Vasily.
Re: Centos 5 minimal template [message #12784 is a reply to message #12770] Wed, 09 May 2007 11:11 Go to previous messageGo to next message
sspt is currently offline  sspt
Messages: 100
Registered: August 2006
Location: Portugal
Senior Member
Article created
http://wiki.openvz.org/Centos_Upgrade_4.x_to_5.0

I've added the 'ugly' solution for the udev problem

Edit: Also solved the udev problem in my template

Thanks!


http://static.openvz.org/userbars/openvz-user.png

[Updated on: Fri, 11 May 2007 07:03] by Moderator

Report message to a moderator

Re: Centos 5 minimal template [message #12967 is a reply to message #12784] Wed, 16 May 2007 07:38 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Hello,

Your link doesn't work at the moment: http://www.ptxl.net/files/centos-5-i386-minimal.tar.gz, where else can I download this precreated template?

Thank you,
Vasily.
Re: *SUCCESS* Centos 5 minimal template [message #12974 is a reply to message #12748] Wed, 16 May 2007 10:25 Go to previous messageGo to next message
sspt is currently offline  sspt
Messages: 100
Registered: August 2006
Location: Portugal
Senior Member
I took it down and uploaded the new templates built from metadata
/vz/template/cache/


http://www.ptxl.net/sspt/files/centos-5-i386-default.tar.gz
http://www.ptxl.net/sspt/files/centos-5-i386-minimal.tar.gz



My first metadata rpm have the problem with vz-addons and i didn't create a new one, just edited the files and created a tarball (i'm a bit lazy this week Rolling Eyes )
untar in /vz/template/centos/


http://www.ptxl.net/sspt/files/centos-5-cache.tar



http://static.openvz.org/userbars/openvz-user.png
Re: *SUCCESS* Centos 5 minimal template [message #13126 is a reply to message #12974] Mon, 21 May 2007 09:36 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

sspt wrote on Wed, 16 May 2007 14:25

I took it down and uploaded the new templates built from metadata
http://www.ptxl.net/sspt/files/centos-5-i386-default.tar.gz
http://www.ptxl.net/sspt/files/centos-5-i386-minimal.tar.gz



Thanks! I have put your template to contrib area, it's now available for download from here:

http://openvz.org/download/template/cache
OR
http://download.openvz.org/template/precreated/contrib/


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: *SUCCESS* Centos 5 minimal template [message #14029 is a reply to message #12974] Tue, 12 June 2007 11:32 Go to previous messageGo to next message
jmslkn is currently offline  jmslkn
Messages: 19
Registered: June 2007
Junior Member
Any chance for x86_64 too? Smile

THanks,
J.
Re: *SUCCESS* Centos 5 minimal template [message #14155 is a reply to message #14029] Fri, 15 June 2007 21:30 Go to previous messageGo to next message
ericlitman is currently offline  ericlitman
Messages: 1
Registered: June 2007
Junior Member
jmslkn wrote on Tue, 12 June 2007 07:32

Any chance for x86_64 too? Smile

THanks,
J.


+1
Re: *SUCCESS* Centos 5 minimal template [message #14727 is a reply to message #12748] Mon, 09 July 2007 09:43 Go to previous messageGo to next message
n00b_admin is currently offline  n00b_admin
Messages: 77
Registered: July 2006
Location: Romania
Member
Any chance on a metadata rpm ?

I looked in the wiki also (the page for upgrading centos 4 to 5) and i couldn't find instructions on what needs to be modified on a centos 4 metadata to make it work for centos 5.

Is it enough to change the 4 into 5 in the repos urls ?
Re: *SUCCESS* Centos 5 minimal template [message #15103 is a reply to message #12748] Thu, 19 July 2007 08:26 Go to previous message
n00b_admin is currently offline  n00b_admin
Messages: 77
Registered: July 2006
Location: Romania
Member
Ah come on...

Somebody ? Is that so trivial ? Smile
Previous Topic: *SOLVED* How to execute scripts on vzctl start veid
Next Topic: setting up mrtg to account openVZ VPS bandwidth
Goto Forum:
  


Current Time: Sat Apr 20 05:44:32 GMT 2024

Total time taken to generate the page: 0.01805 seconds