软件准备
从ORACLE网站下载64bit的iso文件
从微软的网站下载最新版本的LinuxIC-4.3.3.iso, (A set of drivers that enable synthetic device support in supported Linux virtual machines under Hyper-V)
打开hyper-v
在windows的"程序和功能"界面打开hyper-v 功能
建立虚拟交换机
安装vnc
[root@myoracleLinux ~]# yum repolist
Loaded plugins: security, ulninfo
public_ol6_UEKR4 | 2.5 kB 00:00
public_ol6_latest | 2.7 kB 00:00
repo id repo name status
public_ol6_UEKR4 Latest Unbreakable Enterprise Kernel Release 4 for Oracle Linux 6Server (x86_64) 156
public_ol6_latest Oracle Linux 6Server Latest (x86_64) 12,085
repolist: 12,241
[root@myoracleLinux ~]# yum install vnc*
Loaded plugins: security, ulninfo
Setting up Install Process
public_ol6_UEKR4 | 2.5 kB 00:00
public_ol6_latest | 2.7 kB 00:00
Resolving Dependencies
–> Running transaction check
—> Package tigervnc.x86_64 0:1.1.0-24.el6 will be installed
—> Package tigervnc-server.x86_64 0:1.1.0-24.el6 will be installed
–> Processing Dependency: xorg-x11-xkb-utils for package: tigervnc-server-1.1.0-24.el6.x86_64
–> Processing Dependency: xorg-x11-fonts-misc for package: tigervnc-server-1.1.0-24.el6.x86_64
–> Processing Dependency: xorg-x11-xauth for package: tigervnc-server-1.1.0-24.el6.x86_64
–> Processing Dependency: xkeyboard-config for package: tigervnc-server-1.1.0-24.el6.x86_64
–> Processing Dependency: libXdmcp.so.6()(64bit) for package: tigervnc-server-1.1.0-24.el6.x86_64
–> Processing Dependency: libxshmfence.so.1()(64bit) for package: tigervnc-server-1.1.0-24.el6.x86_64
—> Package tigervnc-server-module.x86_64 0:1.1.0-24.el6 will be installed
–> Processing Dependency: xorg-x11-server-Xorg for package: tigervnc-server-module-1.1.0-24.el6.x86_64
–> Running transaction check
—> Package libXdmcp.x86_64 0:1.1.1-3.el6 will be installed
—> Package libxshmfence.x86_64 0:1.2-1.el6 will be installed
—> Package xkeyboard-config.noarch 0:2.16-1.el6 will be installed
—> Package xorg-x11-fonts-misc.noarch 0:7.2-11.el6 will be installed
—> Package xorg-x11-server-Xorg.x86_64 0:1.17.4-17.0.2.el6 will be installed
–> Processing Dependency: xorg-x11-drv-evdev >= 2.1.0-3 for package: xorg-x11-server-Xorg-1.17.4-17.0.2.el6.x86_64
–> Processing Dependency: xorg-x11-server-common >= 1.17.4-17.0.2.el6 for package: xorg-x11-server-Xorg-1.17.4-17.0.2.el6.x86_64
–> Processing Dependency: mesa-libEGL for package: xorg-x11-server-Xorg-1.17.4-17.0.2.el6.x86_64
–> Processing Dependency: system-setup-keyboard for package: xorg-x11-server-Xorg-1.17.4-17.0.2.el6.x86_64
–> Processing Dependency: xorg-x11-drv-vesa for package: xorg-x11-server-Xorg-1.17.4-17.0.2.el6.x86_64
–> Processing Dependency: xorg-x11-drv-void for package: xorg-x11-server-Xorg-1.17.4-17.0.2.el6.x86_64
–> Processing Dependency: libgbm.so.1()(64bit) for package: xorg-x11-server-Xorg-1.17.4-17.0.2.el6.x86_64
–> Processing Dependency: libepoxy.so.0()(64bit) for package: xorg-x11-server-Xorg-1.17.4-17.0.2.el6.x86_64
—> Package xorg-x11-xauth.x86_64 1:1.0.9-1.el6 will be installed
–> Processing Dependency: libXmuu.so.1()(64bit) for package: 1:xorg-x11-xauth-1.0.9-1.el6.x86_64
—> Package xorg-x11-xkb-utils.x86_64 0:7.7-12.el6 will be installed
–> Processing Dependency: libxkbfile.so.1()(64bit) for package: xorg-x11-xkb-utils-7.7-12.el6.x86_64
–> Running transaction check
—> Package libXmu.x86_64 0:1.1.1-2.el6 will be installed
—> Package libepoxy.x86_64 0:1.2-3.el6 will be installed
—> Package libxkbfile.x86_64 0:1.0.6-1.1.el6 will be installed
—> Package mesa-libEGL.x86_64 0:11.0.7-4.el6 will be installed
—> Package mesa-libgbm.x86_64 0:11.0.7-4.el6 will be installed
—> Package system-setup-keyboard.x86_64 0:0.7-4.el6 will be installed
—> Package xorg-x11-drv-evdev.x86_64 0:2.9.2-1.el6 will be installed
–> Processing Dependency: mtdev for package: xorg-x11-drv-evdev-2.9.2-1.el6.x86_64
–> Processing Dependency: libevdev.so.2(LIBEVDEV_1)(64bit) for package: xorg-x11-drv-evdev-2.9.2-1.el6.x86_64
–> Processing Dependency: libevdev for package: xorg-x11-drv-evdev-2.9.2-1.el6.x86_64
–> Processing Dependency: libevdev.so.2()(64bit) for package: xorg-x11-drv-evdev-2.9.2-1.el6.x86_64
–> Processing Dependency: libmtdev.so.1()(64bit) for package: xorg-x11-drv-evdev-2.9.2-1.el6.x86_64
—> Package xorg-x11-drv-vesa.x86_64 0:2.3.4-1.el6 will be installed
—> Package xorg-x11-drv-void.x86_64 0:1.4.1-1.el6 will be installed
—> Package xorg-x11-server-common.x86_64 0:1.17.4-17.0.2.el6 will be installed
–> Running transaction check
—> Package libevdev.x86_64 0:1.4.5-2.el6 will be installed
—> Package mtdev.x86_64 0:1.1.5-1.el6 will be installed
–> Finished Dependency Resolution
Dependencies Resolved
Installing:
tigervnc x86_64 1.1.0-24.el6 public_ol6_latest 185 k
tigervnc-server x86_64 1.1.0-24.el6 public_ol6_latest 1.0 M
tigervnc-server-module x86_64 1.1.0-24.el6 public_ol6_latest 213 k
Installing for dependencies:
libXdmcp x86_64 1.1.1-3.el6 public_ol6_latest 30 k
libXmu x86_64 1.1.1-2.el6 public_ol6_latest 65 k
libepoxy x86_64 1.2-3.el6 public_ol6_latest 158 k
libevdev x86_64
libxkbfile x86_64
libxshmfence x86_64
mesa-libEGL x86_64
mesa-libgbm x86_64
mtdev x86_64
system-setup-keyboard x86_64
xkeyboard-config noarch
xorg-x11-drv-evdev x86_64
xorg-x11-drv-vesa x86_64
xorg-x11-drv-void x86_64
xorg-x11-fonts-misc noarch
xorg-x11-server-Xorg x86_64
xorg-x11-server-common x86_64
xorg-x11-xauth x86_64
xorg-x11-xkb-utils x86_64
Install 22 Package(s)
Total 187 kB/s | 10 MB 00:55
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
Importing GPG key 0xEC551F03:
Userid : Oracle OSS group (Open Source Software group) [email protected]
Package: 6:oraclelinux-release-6Server-9.0.3.x86_64 (@anaconda-OracleLinuxServer-201703241427.x86_64/6.9)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : xkeyboard-config-2.16-1.el6.noarch 1/22
Installing : mesa-libgbm-11.0.7-4.el6.x86_64 2/22
Installing : libXdmcp-1.1.1-3.el6.x86_64 3/22
Installing : libxshmfence-1.2-1.el6.x86_64 4/22
Installing : mesa-libEGL-11.0.7-4.el6.x86_64 5/22
Installing : libXmu-1.1.1-2.el6.x86_64 6/22
Installing : 1:xorg-x11-xauth-1.0.9-1.el6.x86_64 7/22
Installing : system-setup-keyboard-0.7-4.el6.x86_64 8/22
Installing : mtdev-1.1.5-1.el6.x86_64 9/22
Installing : libevdev-1.4.5-2.el6.x86_64 10/22
Installing : libepoxy-1.2-3.el6.x86_64 11/22
Installing : libxkbfile-1.0.6-1.1.el6.x86_64 12/22
Installing : xorg-x11-xkb-utils-7.7-12.el6.x86_64 13/22
Installing : xorg-x11-server-common-1.17.4-17.0.2.el6.x86_64 14/22
Installing : xorg-x11-drv-evdev-2.9.2-1.el6.x86_64 15/22
Installing : xorg-x11-drv-void-1.4.1-1.el6.x86_64 16/22
Installing : xorg-x11-drv-vesa-2.3.4-1.el6.x86_64 17/22
Installing : xorg-x11-server-Xorg-1.17.4-17.0.2.el6.x86_64 18/22
Installing : xorg-x11-fonts-misc-7.2-11.el6.noarch 19/22
Installing : tigervnc-server-1.1.0-24.el6.x86_64 20/22
Installing : tigervnc-server-module-1.1.0-24.el6.x86_64 21/22
Installing : tigervnc-1.1.0-24.el6.x86_64 22/22
Verifying : mesa-libEGL-11.0.7-4.el6.x86_64 1/22
Verifying : xorg-x11-fonts-misc-7.2-11.el6.noarch 2/22
Verifying : xorg-x11-drv-evdev-2.9.2-1.el6.x86_64 3/22
Verifying : 1:xorg-x11-xauth-1.0.9-1.el6.x86_64 4/22
Verifying : libxshmfence-1.2-1.el6.x86_64 5/22
Verifying : libXdmcp-1.1.1-3.el6.x86_64 6/22
Verifying : tigervnc-1.1.0-24.el6.x86_64 7/22
Verifying : libxkbfile-1.0.6-1.1.el6.x86_64 8/22
Verifying : xorg-x11-drv-void-1.4.1-1.el6.x86_64 9/22
Verifying : tigervnc-server-1.1.0-24.el6.x86_64 10/22
Verifying : tigervnc-server-module-1.1.0-24.el6.x86_64 11/22
Verifying : mesa-libgbm-11.0.7-4.el6.x86_64 12/22
Verifying : xorg-x11-server-Xorg-1.17.4-17.0.2.el6.x86_64 13/22
Verifying : libepoxy-1.2-3.el6.x86_64 14/22
Verifying : libevdev-1.4.5-2.el6.x86_64 15/22
Verifying : mtdev-1.1.5-1.el6.x86_64 16/22
Verifying : xorg-x11-drv-vesa-2.3.4-1.el6.x86_64 17/22
Verifying : system-setup-keyboard-0.7-4.el6.x86_64 18/22
Verifying : xorg-x11-server-common-1.17.4-17.0.2.el6.x86_64 19/22
Verifying : xorg-x11-xkb-utils-7.7-12.el6.x86_64 20/22
Verifying : xkeyboard-config-2.16-1.el6.noarch 21/22
Verifying : libXmu-1.1.1-2.el6.x86_64 22/22
Installed:
tigervnc.x86_64 0:1.1.0-24.el6 tigervnc-server.x86_64 0:1.1.0-24.el6 tigervnc-server-module.x86_64 0:1.1.0-24.el6
Dependency Installed:
libXdmcp.x86_64 0:1.1.1-3.el6 libXmu.x86_64 0:1.1.1-2.el6 libepoxy.x86_64 0:1.2-3.el6 libevdev.x86_64 0:1.4.5-2.el6
libxkbfile.x86_64 0:1.0.6-1.1.el6 libxshmfence.x86_64 0:1.2-1.el6 mesa-libEGL.x86_64 0:11.0.7-4.el6 mesa-libgbm.x86_64 0:11.0.7-4.el6
mtdev.x86_64 0:1.1.5-1.el6 system-setup-keyboard.x86_64 0:0.7-4.el6 xkeyboard-config.noarch 0:2.16-1.el6 xorg-x11-drv-evdev.x86_64 0:2.9.2-1.el6
xorg-x11-drv-vesa.x86_64 0:2.3.4-1.el6 xorg-x11-drv-void.x86_64 0:1.4.1-1.el6 xorg-x11-fonts-misc.noarch 0:7.2-11.el6 xorg-x11-server-Xorg.x86_64 0:1.17.4-17.0.2.el6
xorg-x11-server-common.x86_64 0:1.17.4-17.0.2.el6 xorg-x11-xauth.x86_64 1:1.0.9-1.el6 xorg-x11-xkb-utils.x86_64 0:7.7-12.el6
Complete!