windows 自带的 hyper-v 安装oracle linux6

  1. 软件准备
    从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)

  2. 打开hyper-v
    在windows的"程序和功能"界面打开hyper-v 功能

  3. 建立虚拟交换机

  4. 建立虚拟机
    windows 自带的 hyper-v 安装oracle linux6_第1张图片
    windows 自带的 hyper-v 安装oracle linux6_第2张图片
    windows 自带的 hyper-v 安装oracle linux6_第3张图片
    windows 自带的 hyper-v 安装oracle linux6_第4张图片
    windows 自带的 hyper-v 安装oracle linux6_第5张图片
    windows 自带的 hyper-v 安装oracle linux6_第6张图片
    windows 自带的 hyper-v 安装oracle linux6_第7张图片
    windows 自带的 hyper-v 安装oracle linux6_第8张图片
    windows 自带的 hyper-v 安装oracle linux6_第9张图片
    windows 自带的 hyper-v 安装oracle linux6_第10张图片

  5. 安装oracle linux6
    windows 自带的 hyper-v 安装oracle linux6_第11张图片
    在这个页面回车,一步一步按照提示完成安装即可。

  6. 配置oracle linux6
    windows 自带的 hyper-v 安装oracle linux6_第12张图片
    windows 自带的 hyper-v 安装oracle linux6_第13张图片
    windows 自带的 hyper-v 安装oracle linux6_第14张图片
    windows 自带的 hyper-v 安装oracle linux6_第15张图片
    windows 自带的 hyper-v 安装oracle linux6_第16张图片

  7. 安装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

=============================================================================================================================================================================================
Package Arch Version Repository Size

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

Transaction Summary

Install 22 Package(s)

Total download size: 10 M
Installed size: 22 M
Is this ok [y/N]: y
Downloading Packages:
(1/22): libXdmcp-1.1.1-3.el6.x86_64.rpm | 30 kB 00:00
(2/22): libXmu-1.1.1-2.el6.x86_64.rpm | 65 kB 00:00
(3/22): libepoxy-1.2-3.el6.x86_64.rpm | 158 kB 00:00
(4/22): libevdev-1.4.5-2.el6.x86_64.rpm | 31 kB 00:00
(5/22): libxkbfile-1.0.6-1.1.el6.x86_64.rpm | 74 kB 00:00
(6/22): libxshmfence-1.2-1.el6.x86_64.rpm | 5.6 kB 00:00
(7/22): mesa-libEGL-11.0.7-4.el6.x86_64.rpm | 57 kB 00:00
(8/22): mesa-libgbm-11.0.7-4.el6.x86_64.rpm | 34 kB 00:00
(9/22): mtdev-1.1.5-1.el6.x86_64.rpm | 15 kB 00:00
(10/22): system-setup-keyboard-0.7-4.el6.x86_64.rpm | 11 kB 00:00
(11/22): tigervnc-1.1.0-24.el6.x86_64.rpm | 185 kB 00:00
(12/22): tigervnc-server-1.1.0-24.el6.x86_64.rpm | 1.0 MB 00:01
(13/22): tigervnc-server-module-1.1.0-24.el6.x86_64.rpm | 213 kB 00:00
(14/22): xkeyboard-config-2.16-1.el6.noarch.rpm | 801 kB 00:00
(15/22): xorg-x11-drv-evdev-2.9.2-1.el6.x86_64.rpm | 41 kB 00:00
(16/22): xorg-x11-drv-vesa-2.3.4-1.el6.x86_64.rpm | 21 kB 00:00
(17/22): xorg-x11-drv-void-1.4.1-1.el6.x86_64.rpm | 13 kB 00:00
(18/22): xorg-x11-fonts-misc-7.2-11.el6.noarch.rpm | 5.8 MB 00:03
(19/22): xorg-x11-server-Xorg-1.17.4-17.0.2.el6.x86_64.rpm | 1.4 MB 00:00
(20/22): xorg-x11-server-common-1.17.4-17.0.2.el6.x86_64.rpm | 51 kB 00:00
(21/22): xorg-x11-xauth-1.0.9-1.el6.x86_64.rpm | 44 kB 00:00
(22/22): xorg-x11-xkb-utils-7.7-12.el6.x86_64.rpm | 97 kB 00:00

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!

  1. 连接vnc
    启动vncserver
    [root@myoracleLinux ~]# vncserver
    按照提示输入密码
    关闭防火墙
    [root@myoracleLinux ~]# service iptables stop

你可能感兴趣的:(linux,Oracle)