Beta version:
System version: RHEL 6.5
Oracle version: 11.2.4
First, preface
Recently in the self-taught Oracle, today try a silent installation method, nonsense not much to say below the beginning.
1, prepare Oracle software, I use the 11.2.4 version, if not go to the Oracle website to download,
If you can not find the message to me, I send a link to the network
2, the software upload to/tmp directory, there is a response directory, there are 3 RSP files
DBCA.RSP DB_INSTALL.RSP NETCA.RSP, which functions as follows:
DB_INSTALL.RSP is the file that installs the database software (this is the file we use this time)
DBCA.RSP is the file that created the database
NETCA.RSP is a file that creates a database listener
2, the file CP to/home/db/oracle/response, where the test environment Oracle home directory for/home/db/oracle.
Preparation for pre-installation of Oracle software, such as setting up users, system parameters, etc. If not clear please refer to my previous article, here will not repeat, the link is as follows: http://ureysky.blog.51cto.com/2893832/1843543
3, about the configuration and interpretation of DB_INSTALL.RSP files, due to space limitations, can go to http://down.51cto.com/data/2238464 download, which has my collation of comments and explanations, according to their own needs to edit good after you can use.
Ii. start installation of Oracle software
1. Operation Command
# chmod +x–r/tmp/database
# su-oracle
# CD database directory, run Runinstaller
#./runinstaller-silent-responsefile/home/db/oracle/response/db_install.rsp-ignoreprereq
To start the installation, it will take a while (if there is no error prompt do not press "enter" key, otherwise there may be a command line prompt, mistakenly think the installation is terminated, actually still installed)
2, open another terminal, you can track the installation log in real-time to understand the progress of the installation of execution:
Tail-f/home/db/oracle/orainventory/logs/installactions2016-08-30_05-52-18pm.log
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/86/C9/wKioL1fKi2uDDTlpAAEFgnJWgk4308.jpg-wh_500x0-wm_3 -wmp_4-s_591976848.jpg "title=" 12.jpg "alt=" Wkiol1fki2uddtlpaaefgnjwgk4308.jpg-wh_50 "/>
During the installation, if [WARNING] is not heeded, the installer is still in progress, and if [FATAL] is present, the Setup program has stopped.
3. When the following configuration script appears, it needs to be executed as "root" user.
Follow the instructions:
$ exit//back to root user, run the following two scripts
/home/db/oracle/orainventory/orainstroot.sh
/oracle/product/11.2.4/db_1/root.sh
Third, the installation process encountered problems and solutions:
During the installation process I also refer to some articles on the Internet, the problem is that I encountered this time, and the problem two and three, I check the information on the Internet when you see other people encountered, here is recorded down.
Question One
[FATAL] [INS-32035] Unable to create a new central inventory directory:/oracle.
Cause:the Central inventory location provided are not empty.
Action:please provide another location for the inventory.
A log of this session is currently saved as:/tmp/orainstall2016-08-30_05-29-49pm/installactions2016-08-30_ 05-29-49pm.log. Oracle recommends if you want to keep this log, you should move it from the temporary location to a m Ore permanent location.
---Solutions
In fact, this problem depends on itself, may be not familiar with the Oracle installation process, toss half a day.
The configuration file must be written in Inventory_location=/home/db/oracle/orainventory.
>>> Problem Two
Starting Oracle Universal Installer ...
Checking Temp space:must be greater than 415 MB. Actual 4347 MB Passed
Checking swap space:must be greater than MB. Actual 32768 MB Passed
Preparing to launch Oracle Universal Installer from/tmp/orainstall2011-03-02_04-46-11pm. Please wait ... $ [SEVERE]-Email Address not Specified
---Solutions
In the installation template, change the value of the Decline_security_updates parameter to True, which is:
Decline_security_updates=true//See the installation template file above DB_INSTALL.RSP
>>> issues Three
[FATAL] [INS-13013] Target Environment does not meet some mandatory requirements.
Cause:some of the mandatory prerequisites is not met. See logs for details. /orain/oracle/orainventory/logs/installactions2011-03-02_04-49-41pm.log
Action:identify the list of failed prerequisite checks from the log:/orain/oracle/orainventory/logs/installactions2011- 03-02_04-49-41pm.log. Then either from the log file or from installation manual find the appropriate configuration to meet the prerequisites and Fix it manually.
---Solutions
This error is found on the internet to say that the option-ignoreprereq in the Install command can be resolved, but the root cause of the problem is not.
This article from "Record Little Learning Life" blog, declined reproduced!
RHEL 6.5 Silent installation of Oracle 11.2.4