To install Host OS packages from a repository, you'll first need a system with a supported GNU/Linux distribution and a yum configuration file pointing to an accessible yum repository containing the Host OS packages.
If you've just followed the Quick Start guide
and want to use the local yum
repository containing the built packages, your yum configuration file
will be available at result/repository_config/latest
. Otherwise, you'll
need one pointing to the remote yum repository.
It is a good idea to clean the yum cache to make sure you're getting the latest packages from the repositories:
sudo yum -c <path_to_yum_repository_config> clean all
Make sure EPEL is installed:
sudo yum install epel-release
Decide which packages or groups of packages you want to install. To
install a single package, for example kernel-debuginfo
, you can execute:
sudo yum -c <path_to_yum_repository_config> install kernel-debuginfo
The recommendation, however, is to install a group of packages, which will also take care of system-wide configurations to fully enable the use of the shipped packages. We have several groups that may be of interest, described here.
To install only virtualization related packages, choose the
open-power-host-os-virt
metapackage:
sudo yum -c <path_to_yum_repository_config> install open-power-host-os-virt
If you want to install all of Host OS packages, execute:
sudo yum -c <path_to_yum_repository_config> install open-power-host-os-all
If you want to install Host OS on a clean system, you may use the Host OS ISO to avoid installing CentOS first. One way to do this is booting from an HTTP server:
- Mount the ISO on an HTTP server:
sudo mount -o loop <path_to_iso_file> <path_to_mounted_iso>
- Configure a Petitboot entry:
kernel http://<server_url>/<path_to_mounted_iso>/ppc/ppc64/vmlinuz
initrd http://<server_url>/<path_to_mounted_iso>/ppc/ppc64/initrd.img
append root=live:http://<server_url>/<path_to_mounted_iso>/LiveOS/squashfs.img repo=http://<server_url>/<path_to_mounted_iso>
-
Log into target system and boot using netboot entry.
-
During installation, on "Software selection" option, you should see the following options:
1) [ ] Minimal Install 6) [ ] Openpower Host Os
2) [ ] Infrastructure Server Virtualization
3) [ ] Virtualization Host
4) [ ] Openpower Host Os All
5) [ ] Openpower Host Os Base
The first three ones are same that are present on a stardard CentOS installation, with the difference that they will install the most updated versions of packages present, substituting CentOS kernel for Host OS one, for example.
We recommend the installation of any of the OpenPOWER Host OS options, depending on your needs. For the complete Host OS, select "Openpower Host Os All". The specific packages belonging to each group can be found here.