In some special cases, such as the network or X configuration can not connect to the X server or the host does not have X, you can use the silent installation to install the database, also if If large-scale deployment is required, silent installation will greatly reduce the duplication of labor of the DBA, and silent installation does not require X, which has advantages over the graphical OUI in terms of installation efficiency and resource usage.
1. Silently installing Oracle software
Oracle's silent installation requires a response file. This file can be recorded by using OUI in advance:
Execute the following command, then OUI performs the operation of installing the database software according to the prompts
$./runInstaller –record –destinationFile /tmp/install_database.rsp Note:
(1) Recording In the process, choose to install only the database software and not create the database
(2) When the installation interface reaches the last step, select cancel
After the recording is successful, you can use the generated response file to play back the entire installation process. :
(1) Execute the following command to silently install the Oracle database software
$./runInstaller –silent –responseFile /tmp/install_database.rsp (2) After the installation is complete, execute the following script < Br>
#. $ORACLE_BASE/oraInventory/orainstRoot.sh #. $ORACLE_HOME/root.sh
Note: If OUI generates an error during silent installation (similar to OUI-10037, etc.), then silent The installation will be aborted. If this happens, please check the relevant Record permissions and users, groups have been created; if some requirements are not met in the PrereqChecks phase, OUI will ignore the default and continue to install (no kernel parameters and physical memory are not configured, no packet is not experimental), so it is recommended to do before silent installation Check to avoid installation failure.
2, DBCA silently install the database
Create a seed database with DBCA:
(1) Select the Custom Database template when creating the initial database
( 2) It is recommended to use the File System storage mechanism
(3) The location of the data file is recommended to choose
Use Oracle-Managed Files Database Area: {ORACLE_BASE}/oradata
( 4) Memory recommendation Select Custom, specify SGA and PGA size
(5) Set the character set according to actual needs
(6) Select Create Database
in the database creation option. (7) Create the tablespace and user required by the application, import the initial data
Create a template from the seed database using DBCA:
(1) Start DBCA, select Manage Templates
(2) Follow the prompts to create a template, the template file after creation: $ORACLE_HOME/assistants/dbca/templates
/{templatename.dbc}
will be installed inside the Oracle DB Copy the dbca.rsp in the response directory to the local machine
Modify the dbca.rsp file and add the template name and DB name to it
GDBNAME=orcl1
SID=orcl1< Br>
TEMPL ATENAME=orcl.dbc{Copy the template file to the same directory as dbca.rsp for convenience}
If you need to use Oracle Enterprise Manager, you need to modify the following parameters as follows:
EMCONFIGURATION= “LOCAL” SYSMANPASSWORD=”password” DBSNMPPASSWORD=”password”
Execute the following command to create a new database based on the template using DBCA
$./dbca –silent –createdatabase – responseFile /home/oracle/dbca.rsp
1, what is light-emitting diode Light-emitting diodes are everywhere in everyday appliances, it can
Nginx has been widely used in production environments compared to Apaches high performance and high
Linode VPS default time zone is US, which is inconvenient for performing some scheduled tasks. There
In daily work or experiment, we often need to clone or migrate the virtual machine. After the migra
After syslinux starts, it shows SYSLINUX 5.01H. Peter Anvin et al solves
Linux System Network Connection FAQ Diagnostics
How to manually release linux memory
Linux rsync command detailed finishing
Photocoupler and its application circuit diagram
Crontab command using basic tutorial
Linux sed command learning experience
How to solve the problem of automatic restart when win8 system shutdown
Super detailed decomposition of the text created by Sogou browser multi-window
What should I do if the audio is out when Windows 10 10130 is upgraded to 10162?
XP + SP2 System Properties false principle of the
How to open rar file, teach you how to open rar file
How to replace the win7 theme?
Windows 8 product activation interface exposure
Win8 hard disk installation tool usage
How to use the cmd command to delete files that are not used by win7 system