1:进入挂在的光盘
   cd  /mnt  发现里面有个OVM啥的目录进入目录
   看到里面有个createOracle.sh脚本
   执行这个脚本   ./createOracle.sh(注意斜杠前有个点)
   速度很快,这个脚本是创建安装数据库需要的用户名,用户组,配置一些参数,创建文件夹。

   用户:oracle
   组:dba
   文件夹:/u01
   (如果你把数据库分离安装,那这一步肯定不需要了)

2:进入根目录cd /
   ls -l
   查看目录 发现有个/u01  那就是刚刚创建的。我们需要修改下所有者。
   chown -R  oracle:dba   /u01
   再查看一下:
   drwxr-xr-x.   3 oracle dba   4096 Mar 26 18:28 u01

3:执行安装VM manager 脚本
  ./runInstaller.sh -n
  注意后面的参数 -n  这个参数很重要,因为我用的是CentOS6.2 如果不加入这个参数,那么它会一直提示你,你的操作系统版本不符。你说改/etc/redhat-release不就行了吗?我不知道,你可以改改试试,我改过,没成功。
Please select an installation type:
   1: Simple (includes database if necessary)
   2: Custom (using existing Oracle database)
   3: Uninstall
   4: Help

   Select Number (1-4): 1


  在出来的界面中选择1,简单安装,即把manager和mysql安装到一起。

Starting production with local database installation ...

Verifying installation prerequisites ...
Oracle VM Manager can only be installed on a 64 bit Oracle Linux version 5.5 and higher.
Current version is 'centos' version '6.2'
Ignoring prerequisites check ...

One password is used for all users created and used during the installation.
Enter a password for all logins used during the installation:
看红色部分,那就是-n的作用,知道了吧,嘿。


接着提示让你输入全局密码,这个密码用在整个安装过程中,比如将来的web登录界面的密码。
密码长度必须8位以上包含大小写+数字



Verifying configuration ...

Start installing the configured components:
   1: Continue
   2: Abort

   Select Number (1-2): 1

在接下来的提示里选择1

Step 1 of 9 : Database Software...
Installing Database Software...
Retrieving MySQL Database 5.5 ...
Unzipping MySQL RPM File ...
Installing MySQL 5.5 RPM package ...
Configuring MySQL Database 5.5 ...
Installing MySQL backup RPM package ...

Step 2 of 9 : Java ...
Installing Java ...

Step 3 of 9 : Database schema ...
Creating database 'ovs' ...
Creating user 'ovs' for database 'ovs'...

Step 4 of 9 : WebLogic ...
Retrieving Oracle WebLogic Server 11g ...
Installing Oracle WebLogic Server 11g ...


Step 5 of 9 : ADF ...
Retrieving Oracle Application Development Framework (ADF) ...
Unzipping Oracle ADF ...
Installing Oracle ADF ...
Installing Oracle ADF Patch...

Step 6 of 9 : Oracle VM  ...
Retrieving Oracle VM Manager Application ...
Extracting Oracle VM Manager Application ...
Installing Oracle VM Manager Core ...

Step 7 of 9 : Domain creation ...
Creating Oracle WebLogic Server domain ...
Starting Oracle WebLogic Server 11g ...

这里插句话:如果你碰到了一个问题说“can't  start  weblogic  in '5' minits”类似的提示吧。
一般是这样的。
①:网络没配好
②:内存不够
③:hosts中没加入对应

内存可能性大,给大家看个截图。

[root@oracle-manager ~]# free -m
             total       used       free     shared    buffers     cached
Mem:          9011       8883        127          0         55       6081
-/+ buffers/cache:       2746       6264
Swap:         3999          0       3999

可怜啊,分配了9G内存,只剩下127M  所以...  ...
我在这里卡住了近2个小时。不说了,都是泪。

Step 7 of 9 : Domain creation ...
Creating Oracle WebLogic Server domain ...
Starting Oracle WebLogic Server 11g ...
Configuring data source 'OVMDS' ...
Creating Oracle VM Manager user 'admin' ...

Step 8 of 9 : Deploy ...
Deploying Oracle VM Manager Core container ...
Deploying Oracle VM Manager UI Console ...
Deploying Oracle VM Manager Help ...
Granting ovm-admin role to user 'admin' ...
Set Log Rotation ...
Disabling HTTP and enabling HTTPS...
Configuring Https Identity and Trust...
Configuring Weblogic parameters...

Step 9 of 9 : Oracle VM Manager Shell ...
Retrieving Oracle VM Manager Shell & API ...
Extracting Oracle VM Manager Shell & API ...
Installing Oracle VM Manager Shell & API ...

Retrieving Oracle VM Manager Upgrade tool ...

Extracting Oracle VM Manager Upgrade tool ...
Installing Oracle VM Manager Upgrade tool ...

Retrieving Oracle VM Manager CLI tool ...
Extracting Oracle VM Manager CLI tool...
Installing Oracle VM Manager CLI tool ...
Copying Oracle VM Manager shell to '/usr/bin/ovm_shell.sh' ...
Installing ovm_admin.sh in '/u01/app/oracle/ovm-manager-3/bin' ...
Installing ovm_upgrade.sh in '/u01/app/oracle/ovm-manager-3/bin' ...
Enabling Oracle VM Manager service ...
Shutting down Oracle VM Manager instance ...
Restarting Oracle VM Manager instance ...
Waiting for the application to initialize ...
Oracle VM Manager is running ...
Oracle VM Manager installed.

Please wait while WebLogic configures the applications... This can take up to 5 minutes.

这里等了10分钟。

Installation Summary
--------------------
Database configuration:
  Database type               : MySQL
  Database host name          : localhost
  Database name               : ovs
  Database listener port      : 49501
  Database user               : ovs

Weblogic Server configuration:
  Administration username     : weblogic

Oracle VM Manager configuration:
  Username                    : admin
  Core management port        : 54321
  UUID                        : 0004fb000001000014c97822e250b690


Passwords:
There are no default passwords for any users. The passwords to use for Oracle VM Manager, Database, and Oracle WebLogic Server have been set by you during this installation. In the case of a default install, all passwords are the same.
Oracle VM Manager UI:
  https://oracle-manager:7002/ovm/console
Log in with the user 'admin', and the password you set during the installation.

Please note that you need to install tightvnc-java on this computer to access a virtual machine's console.

For more information about Oracle Virtualization, please visit:
  http://www.oracle.com/virtualization/

Oracle VM Manager installation complete.

Please remove configuration file /tmp/ovm_configZAa85C.

出来列表了,就成功了。
好了,manager就安装成功了。

改下班了,明天继续说如何安装Server端,连接NFS存储,连接manager 创建pool...等等