Balíčky OpenStack

Balíčky OpenStack

Distribuce vydávají balíčky OpenStack jako její součást, nebo pomocí jiné metody kvůli odlišným plánům na vydávání. Tyto kroky proveďte na všech uzlech.

Varování

Před pokračováním se ujistěte, že vaši hostitelé musí obsahovat nejnovější verze základních instalačních balíčků dostupných pro vaší distribuci.

Poznámka

Zakažte nebo odstraňte veškeré služby zajišťující automatické aktualizace, protože mohou zle ovlivnit vaše prostředí OpenStack.

Požadavky

Varování

We recommend disabling EPEL when using RDO packages due to updates in EPEL breaking backwards compatibility. Or, preferably pin package versions using the yum-versionlock plugin.

Poznámka

CentOS does not require the following steps.

  1. On RHEL, register your system with Red Hat Subscription Management, using your Customer Portal user name and password:

    # subscription-manager register --username="USERNAME" --password="PASSWORD"
    
  2. Find entitlement pools containing the channels for your RHEL system:

    # subscription-manager list --available
    
  3. Use the pool identifiers found in the previous step to attach your RHEL entitlements:

    # subscription-manager attach --pool="POOLID"
    
  4. Enable required repositories:

    # subscription-manager repos --enable=rhel-7-server-optional-rpms \
      --enable=rhel-7-server-extras-rpms --enable=rhel-7-server-rh-common-rpms
    

Povolení repozitáře OpenStack

  • On CentOS, the extras repository provides the RPM that enables the OpenStack repository. CentOS includes the extras repository by default, so you can simply install the package to enable the OpenStack repository.

    # yum install centos-release-openstack-mitaka
    
  • V RHEL stáhnete a nainstalujte RDO repozitář RPM pro povolení repozitáře OpenStack.

    # yum install https://repos.fedorapeople.org/repos/openstack/openstack-mitaka/rdo-release-mitaka-6.noarch.rpm
    

Dokončení instalace

  1. Aktualizujte balíčky na vašem hostiteli:

    # yum upgrade
    

    Poznámka

    Pokud proces aktualizace obsahuje i nové jádro, restartuje hostitele k jeho aktivaci.

  2. Nainstalujte klienta OpenStack:

    # yum install python-openstackclient
    
  1. RHEL a CentOS standardně povolují SELinux. Nainstalujte balíček openstack-selinux pro automatickou správu bezpečnostních zásad služeb OpenStack:

    # yum install openstack-selinux
    
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.