
www.dbdream.org
技术交流 QQ:345375555 电话:13511039874
INVENTORY_LOCATION=/u01/app/oracle/oraInventory
ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
ORACLE_BASE=/u01/app/oracle
oracle.install.db.InstallEdition=EE
oracle.install.db.isCustomInstall=false
oracle.install.db.DBA_GROUP=dba
oracle.install.db.OPER_GROUP=dba
DECLINE_SECURITY_UPDATES=true
8.执行安装命令。
[oracle@stream database]$ ./runInstaller -silent -
responseFile /home/oracle/database/response/db_install.rsp
Starting Oracle Universal Installer...
Checking Temp space:must be greater than 80 MB.Actual 10766 MB Passed
Checking swap space:must be greater than 150 MB.Actual 2020 MB Passed
Preparing to launch Oracle Universal Installer from
/tmp/OraInstall2012-03-01_10-06-14AM. Please wait ...
You can find the log of this install session at:
/u01/app/oraInventory/logs/installActions2012-03-01_10-06-14AM.log
此时,会在后台进行数据库软件的安装,可能需要挺长的时间,可以在开一个 SHELL,去监控安装数据库
时产生的日志文件。
[oracle@stream database]$ tail –f /u01/app/oraInventory/logs/installActions2012-03-01_10-06-14
AM.log
直到提示用 root 用户执行/u01/app/oracle/product/11.2.0/dbhome_1/root.sh 脚本。
The following configuration scripts need to be executed
as the "root" user.
#!/bin/sh
#Root scripts to run
/u01/app/oraInventory/orainstRoot.sh
/u01/app/oracle/product/11.2.0/dbhome_1/root.sh
To execute the configuration scripts:
1. Open a terminal window
2. Log in as "root"
3. Run the scripts
4. Return to this window and hit "Enter" key to continue
新打开一个 SHELL,切换到 root 用户执行上述 2 个脚本。
[root@stream ~]# /u01/app/oraInventory/orainstRoot.sh
Changing permissions of /u01/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.
Changing groupname of /u01/app/oraInventory to oinstall.
The execution of the script is complete.
用 root 用户执行完这两个脚本后,在执行静默安装的 SHELL 窗口按下回车键,结束安装过程。
/u01/app/oraInventory/orainstRoot.sh
/u01/app/oracle/product/11.2.0/dbhome_1/root.sh
评论