2장. 베어 메탈에 RHEL AI 설치


베어 메탈에 Red Hat Enterprise Linux AI를 설치하기 위해 다음 절차에서 제공되는 다양한 방법을 사용하여 시스템을 부팅 및 배포하고 Red Hat Enterprise Linux AI와 상호 작용을 시작할 수 있습니다.

2.1. 베어 메탈에 RHEL AI 배포

다음과 같은 방법으로 RHEL AI ISO 이미지를 사용하여 Red Hat Enterprise Linux AI를 배포할 수 있습니다.

  • 킥스타트
  • RHEL 그래픽 사용자 인터페이스(GUI)

이 이미지는 다양한 하드웨어 가속기에서 부팅 가능합니다. 지원되는 하드웨어에 대한 자세한 내용은 "시작하기"의 "Red Hat Enterprise Linux AI 하드웨어 요구 사항"을 참조하십시오.

중요

Red Hat Enterprise Linux AI에는 RHEL AI 데이터를 위한 추가 스토리지와 이미지 모드 Red Hat Enterprise Linux 업데이트가 필요합니다. InstructLab 데이터의 기본 위치는 home/<user> 디렉터리에 있습니다. /home 디렉터리의 데이터 스토리지에 대한 최소 권장 사항은 1TB입니다. 업데이트 중에 bootc 명령에는 임시 데이터를 저장하기 위한 추가 공간이 필요합니다. / 경로의 최소 스토리지 권장 사항은 120GB입니다. 디스크 체계를 파티셔닝할 때 시스템의 스토리지를 고려해야 합니다.

프로세스

  • 대화형 GUI

    대화형 Red Hat Enterprise Linux 그래픽 설치 프로그램 및 RHEL AI ISO 이미지를 사용하여 시스템에 RHEL AI를 배포할 수 있습니다. GUI를 사용하여 ISO 파일을 사용하여 RHEL을 부팅하는 방법에 대한 자세한 내용은 설치 미디어에서 RHEL 상호 작용 설치를 참조하십시오.

  • 포함된 컨테이너 이미지가 있는 Kickstart

    1. 자체 Kickstart 파일을 사용하여 RHEL AI 설치를 사용자 지정할 수 있습니다.

      1. 기본 매개변수를 사용하여 고유한 Kickstart 파일을 만듭니다. Kickstart 파일 생성에 대한 자세한 내용은 RHEL 문서의 Kickstart 파일 생성 을 참조하십시오.

        rhelai-bootc.ks라는 RHEL AI용 샘플 Kickstart 파일

        # use the embedded container image
        ostreecontainer --url=/run/install/repo/container --transport=oci --no-signature-verification
        
        # switch bootc to point to Red Hat container image for upgrades
        %post
        bootc switch --mutate-in-place --transport registry registry.redhat.io/rhelai1/bootc-nvidia-rhel9:1.5
        touch /etc/cloud/cloud-init.disabled
        %end
        
        ## user customizations follow
        
        # customize this for your target system network environment
        network --bootproto=dhcp --device=link --activate
        
        # customize this for your target system desired disk partitioning
        clearpart --all --initlabel --disklabel=gpt
        reqpart --add-boot
        part / --grow --fstype xfs
        
        # services can also be customized via Kickstart
        firewall --disabled
        services --enabled=sshd
        
        # optionally add a user
        user --name=cloud-user --groups=wheel --plaintext --password <password>
        sshkey --username cloud-user "ssh-ed25519 AAAAC3Nza....."
        
        # if desired, inject an SSH key for root
        rootpw --iscrypted locked
        sshkey --username root "ssh-ed25519 AAAAC3Nza..."
        reboot
        Copy to Clipboard Toggle word wrap

        샘플 Kickstart는 --url=/run/install/repo/container 매개변수를 사용하여 ostreecontainer 명령으로 신호한 ISO 파일에 포함된 컨테이너 이미지를 사용합니다. bootc switch 매개변수는 향후 업데이트를 위해 Red Hat 레지스트리를 가리키고 사용자 지정을 추가할 수 있습니다.

      2. 시스템이 RHEL AI를 다시 시작하고 배포할 수 있도록 Kickstart를 RHEL AI ISO에 포함해야 합니다. 다음 예에서 rhelai-bootc.ks 는 부팅 ISO에 포함된 Kickstart 파일의 이름입니다. mkksiso 유틸리티는 lorax rpm 패키지에 있습니다.

        $ mkksiso rhelai-bootc.ks <downloaded-iso-image> rhelai-bootc-ks.iso
        Copy to Clipboard Toggle word wrap

        다음과 같습니다.

        <downloaded-iso-image>
        RHEL AI 다운로드 페이지에서 다운로드한 ISO 이미지를 지정합니다.
      3. 그런 다음 이 부팅 ISO를 사용하여 시스템을 부팅할 수 있으며 설치가 자동으로 시작됩니다. 설치가 완료되면 호스트가 재부팅되고 Kickstart 파일에 사용된 자격 증명을 사용하여 새 시스템에 로그인할 수 있습니다.

        중요

        ISO에 사용자 지정 Kickstart가 있으면 사용자에게 메시지를 표시하지 않고 설치를 자동으로 시작하고 디스크 파티셔닝을 시작합니다. 구성에 따라 로컬 스토리지가 완전히 지워지거나 덮어쓸 수 있습니다.

  • 사용자 정의 컨테이너 이미지가 있는 Kickstart

    시스템에서 Red Hat Enterprise Linux AI를 부팅하도록 선호하는 매개변수로 Kickstart 파일을 사용자 지정할 수 있습니다.

    1. 기본 매개변수를 사용하여 고유한 Kickstart 파일을 만듭니다. Kickstart 파일 생성에 대한 자세한 내용은 RHEL 문서의 Kickstart 파일 생성 을 참조하십시오.

      rhelai-bootc.ks라는 RHEL AI용 샘플 Kickstart 파일

      # customize this for your target system network environment
      network --bootproto=dhcp --device=link --activate
      
      # customize this for your target system desired disk partitioning
      clearpart --all --initlabel --disklabel=gpt
      reqpart --add-boot
      part / --grow --fstype xfs
      
      # customize this to include your own bootc container
      ostreecontainer --url quay.io/<your-user-name>/nvidia-bootc:latest
      
      # services can also be customized via Kickstart
      firewall --disabled
      services --enabled=sshd
      
      # optionally add a user
      user --name=cloud-user --groups=wheel --plaintext --password <password>
      sshkey --username cloud-user "ssh-ed25519 AAAAC3Nza....."
      
      # if desired, inject an SSH key for root
      rootpw --iscrypted locked
      sshkey --username root "ssh-ed25519 AAAAC3Nza..."
      reboot
      Copy to Clipboard Toggle word wrap

    2. 시스템이 RHEL AI를 다시 시작하고 배포할 수 있도록 Kickstart를 RHEL AI ISO에 포함해야 합니다. 다음 예에서 rhelai-bootc.ks 는 부팅 ISO에 포함된 Kickstart 파일의 이름입니다. mkksiso 유틸리티는 lorax rpm 패키지에 있습니다.

      $ mkksiso rhelai-bootc.ks <downloaded-iso-image> rhelai-bootc-ks.iso
      Copy to Clipboard Toggle word wrap

      다음과 같습니다.

      <downloaded-iso-image>
      RHEL AI 다운로드 페이지에서 다운로드한 ISO 이미지를 지정합니다.
    3. 그런 다음 이 부팅 ISO를 사용하여 시스템을 부팅할 수 있으며 설치가 자동으로 시작됩니다. 설치가 완료되면 호스트가 재부팅되고 Kickstart 파일에 사용된 자격 증명을 사용하여 새 시스템에 로그인할 수 있습니다.

      중요

      ISO에 사용자 지정 Kickstart가 있으면 사용자에게 메시지를 표시하지 않고 설치를 자동으로 시작하고 디스크 파티셔닝을 시작합니다. 구성에 따라 로컬 스토리지가 완전히 지워지거나 덮어쓸 수 있습니다.

검증

  • Red Hat Enterprise Linux AI 툴이 올바르게 설치되었는지 확인하려면 ilab 명령을 실행해야 합니다.

    $ ilab
    Copy to Clipboard Toggle word wrap

    출력 예

    $ ilab
    Usage: ilab [OPTIONS] COMMAND [ARGS]...
    
      CLI for interacting with InstructLab.
    
      If this is your first time running ilab, it's best to start with `ilab
      config init` to create the environment.
    
    Options:
      --config PATH  Path to a configuration file.  [default:
                     /Users/kellybrown/.config/instructlab/config.yaml]
      -v, --verbose  Enable debug logging (repeat for even more verbosity)
      --version      Show the version and exit.
      --help         Show this message and exit.
    
    Commands:
      config    Command Group for Interacting with the Config of InstructLab.
      data      Command Group for Interacting with the Data generated by...
      model     Command Group for Interacting with the Models in InstructLab.
      system    Command group for all system-related command calls
      taxonomy  Command Group for Interacting with the Taxonomy of InstructLab.
    
    Aliases:
      chat      model chat
      generate  data generate
      serve     model serve
      train     model train
    Copy to Clipboard Toggle word wrap

Updating Red Hat Enterprise Linux AI

최신 RHEL AI 버전으로 업데이트하려면 Red Hat Enterprise Linux AI 업데이트 설명서의 절차를 따르십시오.

맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2025 Red Hat