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 previous 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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
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: Mon Aug 05 14:11:37 GMT 2024

Total time taken to generate the page: 0.03209 seconds