此内容没有您所选择的语言版本。

Chapter 3. Installing the all-in-one Red Hat OpenStack Platform environment


Before you can begin configuring, deploying, and testing your all-in-one environment, you must configure a non-root user and install the necessary packages and dependencies:

  1. Create a non-root user on the all-in-one host:

    [root@all-in-one]# useradd stack
  2. Set the password for the stack user:

    [root@all-in-one]# passwd stack
  3. Disable password requirements when using sudo as the stack user:

    [root@all-in-one]# echo "stack ALL=(root) NOPASSWD:ALL" | tee -a /etc/sudoers.d/stack
    [root@all-in-one]# chmod 0440 /etc/sudoers.d/stack
  4. Log in as the non-root user on the all-in-one host:

    $ ssh stack@<all-in-one>
  5. Register the machine with Red Hat Subscription Manager. Enter your Red Hat subscription credentials at the prompt:

    [stack@all-in-one]$ sudo subscription-manager register
  6. Attach your Red Hat subscription to the entitlement server:

    [stack@all-in-one]$ sudo subscription-manager attach --auto
    Note

    The --auto option might not subscribe you to the correct subscription pool. Ensure that you subscribe to the correct pool, otherwise you might not be able to enable all of the repositories necessary for this installation. Use the subscription-manager list --all --available command to identify the correct pool ID.

  7. Run the following commands to install dnf-utils, disable all default repositories, and then enable the necessary repositories:

    [stack@all-in-one]$ sudo dnf install -y dnf-utils
    [stack@all-in-one]$ sudo subscription-manager repos --disable=*
    [stack@all-in-one]$ sudo subscription-manager repos \
    --enable=rhel-8-for-x86_64-baseos-rpms \
    --enable=rhel-8-for-x86_64-appstream-rpms \
    --enable=rhel-8-for-x86_64-highavailability-rpms \
    --enable=ansible-2.8-for-rhel-8-x86_64-rpms \
    --enable=openstack-15-for-rhel-8-x86_64-rpms \
    --enable=fast-datapath-for-rhel-8-x86_64-rpms
    Note

    The all-in-one environment is a Technology Preview feature in Red Hat OpenStack Platform 15.

  8. Install the TripleO command line interface (CLI):

    [stack@all-in-one]$ sudo dnf install -y python3-tripleoclient
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.