Este conteúdo não está disponível no idioma selecionado.

Chapter 2.  Installing Image Builder


Before using Image Builder, you must install Image Builder in a virtual machine.

2.1.  Installing Image Builder in a virtual machine

To install Image Builder on a dedicated virtual machine, follow these steps:

Prerequisites

  • Connect to the virtual machine.
  • The virtual machine for Image Builder must be installed, subscribed, and running.

Procedure

1. Install the Image Builder and other necessary packages on the virtual machine:
  • lorax-composer
  • composer-cli
  • cockpit-composer
  • bash-completion
# yum install lorax-composer composer-cli cockpit-composer bash-completion
2. Enable Image Builder to start after each reboot:
#  systemctl enable lorax-composer.socket
#  systemctl enable cockpit.socket
The lorax-composer and cockpit services start automatically on first access.
3. Configure the system firewall to allow access to the web console:
# firewall-cmd --add-service=cockpit && firewall-cmd --add-service=cockpit --permanent
4. Load the shell configuration script so that the auto-complete feature for the composer-cli tool starts working immediately without reboot:
$ source /etc/bash_completion.d/composer-cli
Red Hat logoGithubRedditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja oBlog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

© 2024 Red Hat, Inc.