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

Chapter 6. Setting up the Cockpit UI


If you are configuring Red Hat Hyperconverged Infrastructure for Virtualization from a Red Hat Enterprise Linux base, follow this section to obtain and configure the Cockpit UI. Cockpit is a web application that simplifies and automates some parts of the installation and configuration process.

6.1. Installing the Cockpit UI

Run the following commands on each physical machine to register your physical machines to Red Hat Network and install the required packages.

Important

Ensure that you have your Red Hat Network username and password before beginning this process.

  1. Register your machine to Red Hat Network.

    # subscription-manager register --username=<username> --password=<password>
    Copy to Clipboard Toggle word wrap
  2. Enable the channels required for the Cockpit UI.

    # subscription-manager repos --enable=rhel-7-server-rpms  --enable=rh-gluster-3-for-rhel-7-server-rpms  --enable=rhel-7-server-rhv-4-mgmt-agent-rpms --enable=rhel-7-server-ansible-2-rpms
    Copy to Clipboard Toggle word wrap
  3. Install the packages required for the Cockpit UI.

    # yum install glusterfs-server vdsm-gluster ovirt-hosted-engine-setup gdeploy cockpit-ovirt-dashboard
    Copy to Clipboard Toggle word wrap

6.2. Starting the Cockpit UI

Run the following command to start the cockpit service.

# systemctl start cockpit
Copy to Clipboard Toggle word wrap

6.3. Configuring the firewall for Cockpit traffic

  1. Open ports for the cockpit service.

    # firewall-cmd --add-service=cockpit
    # firewall-cmd --add-service=cockpit --permanent
    Copy to Clipboard Toggle word wrap
  2. Verify that the cockpit service is allowed by the firewall.

    Ensure that cockpit appears in the output of the following command.

    # firewall-cmd --list-services | grep cockpit
    Copy to Clipboard Toggle word wrap
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

Theme

© 2025 Red Hat