Difference between revisions of "Yum"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(created (needs more work))
 
(filled in)
Line 1: Line 1:
If you are using yum package manager, you can set up OpenVZ yum repository and install/update OpenVZ software using yum.
+
'''Yum''' is nice package manager for RPM-based systems. If you are already using yum, you can set up OpenVZ yum repository and install/update OpenVZ software using yum.
  
FIXME
+
== Setup ==
 +
 
 +
Download [http://download.openvz.org/openvz.repo openvz.repo] file and put it to <code>/etc/yum.repos.d/</code> directory on your server. You are all set.
 +
 
 +
== Usage ==
 +
 
 +
=== Upgrade ===
 +
If you have OpenVZ already installed, just run
 +
<pre>
 +
# yum update
 +
</pre>
 +
periodically to keep your system up to date.
 +
 
 +
=== New installation ===
 +
Run
 +
<pre>
 +
# yum install ovzkernel vzctl
 +
</pre>
 +
to install OpenVZ on your system.
 +
 
 +
{{Note|barely installing those packages is not enough to have OpenVZ up and running on your system. For full installation instructions, see [[Quick installation]].}}.
 +
 
 +
== Additional kernels ==
 +
File <code>openvz.repo</code> by default enables only one repository — the one which contains latest stable kernel and tools. If you want to run some other OpenVZ kernel (e.g. development one, or a kernel made from some vendor's one), please edit <code>/etc/yum.repos.d/openvz.repo</code> manually, changing the line <code>enable=0</code> to <code>enable=1</code> for the kernel you want.
 +
 
 +
[[Category: Installation]]
 +
[[Category: HOWTO]]
 +
[[Category: Infrastructure]]

Revision as of 09:15, 24 August 2006

Yum is nice package manager for RPM-based systems. If you are already using yum, you can set up OpenVZ yum repository and install/update OpenVZ software using yum.

Setup

Download openvz.repo file and put it to /etc/yum.repos.d/ directory on your server. You are all set.

Usage

Upgrade

If you have OpenVZ already installed, just run

# yum update

periodically to keep your system up to date.

New installation

Run

# yum install ovzkernel vzctl

to install OpenVZ on your system.

Yellowpin.svg Note: barely installing those packages is not enough to have OpenVZ up and running on your system. For full installation instructions, see Quick installation.

.

Additional kernels

File openvz.repo by default enables only one repository — the one which contains latest stable kernel and tools. If you want to run some other OpenVZ kernel (e.g. development one, or a kernel made from some vendor's one), please edit /etc/yum.repos.d/openvz.repo manually, changing the line enable=0 to enable=1 for the kernel you want.