yeonghoon.kim

  • 게시판
  • 갤러리
  • aws

rockylinux kvm

김영훈 2023.07.12 15:35 조회 수 : 356

# 0. root account access
sudo su -
password - vivipri


# 1. network bridge setting
1) terminal command
systemctl start cockpit.socket --now

2) firefox url
localhost:9090

3) login
id - vivipri
password - vivipri

4) up - Limited access click

5) left - Networking click

6) Add Bridge button click

7) checkbox not lo. check eno1

 

# 2. pci passthrough kernel setting
sed -i "s/quiet/quiet intel_iommu=on/g" /etc/default/grub

grub2-mkconfig -o /boot/grub2/grub.cfg

lspci -nn | grep 1394
[xxxx:xxxx] copy
ex) 02:00.0 FireWire (IEEE 1394) [0c00]: VIA Technologies, Inc. VT6315 Series Firewire Controller [1106:3403] (rev 01)

echo 'blacklist firewire-ohci' >> /etc/modprobe.d/vfio.conf
echo 'options vfio-pci ids=1106:3403' >> /etc/modprobe.d/vfio.conf


echo 'vfio-pci' > /etc/modules-load.d/vfio-pci.conf

 


  • 추천 0

  • 비추천 0
이 게시물을
목록

댓글 1

  • 김영훈

    2023.07.13 14:03

    #!/bin/bash

    #1. cockpit 구동

    systemctl start cockpit.socket --now

     

    # 2. pci passthrough 커널 설정

    sed -i "s/quiet/quiet intel_iommu=on/g" /etc/default/grub

    grub2-mkconfig -o /boot/grub2/grub.cfg

     

    # 3. selinux 비활성화

    echo "SELINUX=disabled" > /etc/selinux/config

     

    # 4. 불필요한 서비스 중지

    systemctl stop firewalld.service

    systemctl disable firewalld.service

    systemctl stop sshd.service

    systemctl disable sshd.service

    systemctl stop rpcbind.socket

    systemctl disable rpcbind.socket

    systemctl stop cups.socket

    systemctl disable cups.socket

     

    # 5. IEEE1394 passthrough를 위한 설정 진행

    IEEE1394=$(lspci -nn | grep 1394 | awk -F[]] '{ print $2 }' | awk -F[[] '{ print $2 }')

    echo 'blacklist firewire-ohci' > /etc/modprobe.d/vfio.conf

    echo -e "options vfio-pci ids=${IEEE1394}" >> /etc/modprobe.d/vfio.conf

    echo 'vfio-pci' > /etc/modules-load.d/vfio-pci.conf

     

    #6. 결과값 화면에 출력

    echo "IEEE1934 code - ${IEEE1394}"

    echo "만약 코드가 보이지 않는다면 개발팀으로 문의해주세요."

    echo

    echo "웹브라우저를 연 후, 옆의 주소로 이동해주세요. 이후 진행은 매뉴얼을 참고해주세요. http://localhost:9090"

     

    추천0 비추천0 댓글

사진 및 파일 첨부

여기에 파일을 끌어 놓거나 왼쪽의 버튼을 클릭하세요.

파일 용량 제한 : 0MB (허용 확장자 : *.*)

업로드 중... (0%)

0개 첨부 됨 ( / )
 
번호 제목 글쓴이 날짜 조회 수
공지 2025 일본 여행 계획 김영훈 2024.10.10 1309
공지 현금, 저축, 투자, 지출, 예산, 보험 내역(2024-05-30) 김영훈 2024.03.10 1031
46 파이썬 디스크 용량 체크 김영훈 2023.01.04 483
45 paramiko 일괄 명령 테스트 김영훈 2023.01.05 362
44 아이맥 화면 동영상 캡처 - 커맨드 + 쉬프트 + 5 김영훈 2023.02.28 270
43 Python cx_Oracle 모듈 샘플코드 김영훈 2023.03.03 370
42 시스템프로그래밍 2주차 - 사용명령 김영훈 2023.03.08 301
41 데이터베이스 2주차 - 실습 김영훈 2023.03.08 350
40 python csv 파일 읽은 후 엑셀 파일로 저장 샘플 김영훈 2023.03.16 438
39 데이터베이스 3주차 실습 김영훈 2023.03.19 362
38 Sectigo PositiveSSL 신청 시 파일 - 20230512 기준 [1] file 김영훈 2023.05.12 353
37 [Bard] node.js forever 사용법 알려줘 김영훈 2023.05.18 328
36 SAP_1. Identity & Federation Section 김영훈 2023.06.13 306
» rockylinux kvm [1] 김영훈 2023.07.12 356
34 FCM 푸시 보내기 - pyfcm 김영훈 2023.07.20 367
33 FCM 푸시보내기 - firebase_admin 김영훈 2023.07.20 326
32 let's encrypt 와일드카드 인증서 발급 (CentOS7) [2] 김영훈 2023.07.26 602
31 2학기 수강신청 김영훈 2023.08.01 317
30 pyapns_client 동시에 여러 기기로 푸시 보내기 김영훈 2023.08.03 408
29 geoip2 python [1] 김영훈 2023.08.10 358
28 삼성 스마트태그 배터리 - CR2032 김영훈 2023.08.15 298
27 iptables ip 포워딩 [1] 김영훈 2023.08.17 327
쓰기 태그
 첫 페이지 5 6 7 8 9 10 11 12 13 14 끝 페이지