Editing Fedora Core 5 Tips

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
 
== Fedora Core 5 Tips ==
 
== Fedora Core 5 Tips ==
  
This is a collection of guidelines/tips for installing openvz on Fedora Core 5, with some gotchas covered.
+
OpenVZ is a neat piece of software, but sometimes there are confusing things that make it frustrating to use.
 +
 
 +
This is a collection of guidelines/tips for installing openvz on Fedora Core 5, with some gotchas covered.  
  
 
== Use development branch ==
 
== Use development branch ==
  
You should be using the OpenVZ development branch of kernels with FC5. The kernels have <code>test</code> in their name. Go to your [[yum]] repo configuration and make sure that the development repo is enabled, or do the following:
+
You should be using the OpenVZ development branch of kernels with FC5. The kernels have test in their name. Go to your yum repo configuration and make sure that the development repo is enabled or do the following.
  
 +
  <pre>
 
   echo '
 
   echo '
 
   [openvz-kernel-devel]
 
   [openvz-kernel-devel]
Line 15: Line 18:
 
   gpgkey=http://download.openvz.org/RPM-GPG-Key-OpenVZ
 
   gpgkey=http://download.openvz.org/RPM-GPG-Key-OpenVZ
 
   ' > /etc/yum.repos.d/openvz-devel.repo
 
   ' > /etc/yum.repos.d/openvz-devel.repo
 +
  </pre>
  
Note: Do not install the FC5 openvz kernel on the website, it is outdated if you have an up to date FC5 install.
+
Note: Do not install the FC5 openvz kernel on the website, it is outdated if you have an up to date FC5 install
 +
 
 +
== Fix metadata ==
 +
 
 +
After installing the metadata, run the following
 +
 
 +
  <pre>
 +
  INFILE=/vz/template/fedora-core/5/i386/config/default.list
 +
  if [ ! -e $INFILE.orig ]
 +
  then
 +
    cp $INFILE $INFILE.orig
 +
  fi
 +
  sed 's/caching-nameserver/bind-config/' $INFILE.orig > $INFILE
 +
  </pre>
  
 
== Creating your own templates ==
 
== Creating your own templates ==
Line 23: Line 40:
 
    
 
    
 
<pre>
 
<pre>
   tar --numeric-owner -zcf /vz/template/cache/fedora-core-5-i386-minimal-mine.tar.gz -C /vz/private/101/ .
+
   tar -zcf /vz/template/cache/fedora-core-5-i386-minimal-mine.tar.gz -C /vz/private/101/ .
 
</pre>
 
</pre>
 
If you create a ve from one of your own templates, you should edit veid.conf in /etc/vz/conf to set the OSTEMPLATE variable back to fedora-core-5. This will insure that vzyum etc continue to work. Otherwise openvz may not find the metadata for your machine.
 
  
 
== Yum differences ==
 
== Yum differences ==

Please note that all contributions to OpenVZ Virtuozzo Containers Wiki may be edited, altered, or removed by other contributors. If you don't want your writing to be edited mercilessly, then don't submit it here.
If you are going to add external links to an article, read the External links policy first!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)