[Qemu-KVM] 설치

Project
Author
chan2slo chan2slo
Date
2022-07-25 20:58
Views
1145

관련 블로그
https://m.blog.naver.com/PostView.nhn?blogId=alice_k106&logNo=221179415368&proxyReferer=https:%2F%2Fwww.google.com%2F
https://velog.io/@somnode/linux-X11-forwarding-%EC%84%A4%EC%A0%95-CentOS-7

다음의 명령어로 설치


yum install qemu kvm qemu-kvm libvirt virt-install bridge-utils \
virt-manager dejavu-lgc-sans-fonts virt-viewer

위의 블로그에는 이렇게 하라고 있으나 qemu-system 파일이 없음

[root@icns36 ~] ln /usr/bin/qemu-system-x86_64 /usr/bin/qemu

Epel-release 설치해주고 다시 설치 실행(미리 이거 설치하고 qemu등등 설치할것)


[root@chan2slo ~]# qemu --version

(process:11672): GLib-WARNING **: 18:29:37.521: gmem.c:489: custom memory allocation vtable not supported
QEMU emulator version 2.0.0, Copyright (c) 2003-2008 Fabrice Bellard

[root@icns36 ~] yum groupinstall "X Window System" -y

ssh 설정
아래와 같이 설정되도록 /etc/ssh/sshd_config 파일을 수정한다.

X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost no #나는 이건 yes로 놔둠

x11 세션 인증 기록파일 생성 및 권한 설정

> touch /root/.Xauthority; chmod 600 /root/.Xauthority

[client 설정]
Xming 설치 및 실행
https://sourceforge.net/projects/xming/
원격 접속 프로그램에서 x11 사용 설정 (ex. PuTTY)
PuTTY에서 Connecion -> SSH -> X11 -> Enable X11 forwarding 체크


[root@chan2slo ~]# virt-manager
[root@chan2slo ~]#

위처럼 폰트가 깨질때 다음의 패키지 설치해준다.
[root@chan2slo ~]# yum install xorg-x11-fonts-*

Total Reply 0