Ubuntu Server下无界面安装Oracle笔记


db_install.rsp配置

  1. ####################################################################  
  2. ## Copyright(c) Oracle Corporation 1998,2008. All rights reserved.##  
  3. ##                                                                ##  
  4. ## Specify values for the variables listed below to customize     ##  
  5. ## your installation.                                             ##  
  6. ##                                                                ##  
  7. ## Each variable is associated with a comment. The comment        ##  
  8. ## can help to populate the variables with the appropriate        ##  
  9. ## values.                            ##  
  10. ##                                                                ##  
  11. ## IMPORTANT NOTE: This file contains plain text passwords and    ##  
  12. ## should be secured to have read permission only by oracle user  ##  
  13. ## or db administrator who owns this installation.                ##  
  14. ##                                                                ##  
  15. ####################################################################  
  16.   
  17. #------------------------------------------------------------------------------  
  18. # Do not change the following system generated value.   
  19. #------------------------------------------------------------------------------  
  20. oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0  
  21.   
  22. #------------------------------------------------------------------------------  
  23. # Specify the installation option.  
  24. # It can be one of the following:  
  25. # 1. INSTALL_DB_SWONLY  
  26. # 2. INSTALL_DB_AND_CONFIG  
  27. # 3. UPGRADE_DB  
  28. #-------------------------------------------------------------------------------  
  29. oracle.install.option=INSTALL_DB_AND_CONFIG  
  30.   
  31. #-------------------------------------------------------------------------------  
  32. # Specify the hostname of the system as set during the install. It can be used  
  33. # to force the installation to use an alternative hostname rather than using the  
  34. # first hostname found on the system. (e.g., for systems with multiple hostnames   
  35. # and network interfaces)  
  36. #-------------------------------------------------------------------------------  
  37. ORACLE_HOSTNAME=IXROraDb  
  38.   
  39. #-------------------------------------------------------------------------------  
  40. # Specify the Unix group to be set for the inventory directory.    
  41. #-------------------------------------------------------------------------------  
  42. UNIX_GROUP_NAME=oracle  
  43.   
  44. #-------------------------------------------------------------------------------  
  45. # Specify the location which holds the inventory files.  
  46. #-------------------------------------------------------------------------------  
  47. INVENTORY_LOCATION=/home/oracle/app/ora11g_Inventory  
  48.   
  49. #-------------------------------------------------------------------------------  
  50. # Specify the languages in which the components will be installed.               
  51. #  
  52. # en   : English                  ja   : Japanese                    
  53. # fr   : French                   ko   : Korean                      
  54. # ar   : Arabic                   es   : Latin American Spanish      
  55. # bn   : Bengali                  lv   : Latvian                     
  56. # pt_BR: Brazilian Portuguese     lt   : Lithuanian                  
  57. # bg   : Bulgarian                ms   : Malay                       
  58. # fr_CA: Canadian French          es_MX: Mexican Spanish             
  59. # ca   : Catalan                  no   : Norwegian                   
  60. # hr   : Croatian                 pl   : Polish                      
  61. # cs   : Czech                    pt   : Portuguese                  
  62. # da   : Danish                   ro   : Romanian                    
  63. # nl   : Dutch                    ru   : Russian                     
  64. # ar_EG: Egyptian                 zh_CN: Simplified Chinese          
  65. # en_GB: English (Great Britain)  sk   : Slovak                      
  66. # et   : Estonian                 sl   : Slovenian                   
  67. # fi   : Finnish                  es_ES: Spanish                     
  68. # de   : German                   sv   : Swedish                     
  69. # el   : Greek                    th   : Thai                        
  70. # iw   : Hebrew                   zh_TW: Traditional Chinese         
  71. # hu   : Hungarian                tr   : Turkish                     
  72. # is   : Icelandic                uk   : Ukrainian                   
  73. # in   : Indonesian               vi   : Vietnamese                  
  74. # it   : Italian                                                     
  75. #  
  76. # Example : SELECTED_LANGUAGES=en,fr,ja  
  77. #------------------------------------------------------------------------------  
  78. SELECTED_LANGUAGES=en  
  79.   
  80. #------------------------------------------------------------------------------  
  81. # Specify the complete path of the Oracle Home.  
  82. #------------------------------------------------------------------------------  
  83. ORACLE_HOME=/home/oracle/app/ora11g/product/db_2  
  84.   
  85. #------------------------------------------------------------------------------  
  86. # Specify the complete path of the Oracle Base.   
  87. #------------------------------------------------------------------------------  
  88. ORACLE_BASE=/home/oracle/app/ora11g  
  89.   
  90. #------------------------------------------------------------------------------  
  91. # Specify the installation edition of the component.                          
  92. #                                                               
  93. # The value should contain only one of these choices.          
  94. # EE     : Enterprise Edition                                  
  95. # SE     : Standard Edition                                    
  96. # SEONE  : Standard Edition One  
  97. # PE     : Personal Edition (WINDOWS ONLY)  
  98. #------------------------------------------------------------------------------  
  99. oracle.install.db.InstallEdition=EE  
  100.   
  101. #------------------------------------------------------------------------------  
  102. # This variable is used to enable or disable custom install.  
  103. #  
  104. # true  : Components mentioned as part of 'customComponents' property  
  105. #         are considered for install.  
  106. # false : Value for 'customComponents' is not considered.  
  107. #------------------------------------------------------------------------------  
  108. oracle.install.db.isCustomInstall=false  
  109.   
  110. #------------------------------------------------------------------------------  
  111. # This variable is considered only if 'IsCustomInstall' is set to true.   
  112. #  
  113. # Description: List of Enterprise Edition Options you would like to install.  
  114. #  
  115. #              The following choices are available. You may specify any  
  116. #              combination of these choices.  The components you choose should  
  117. #              be specified in the form "internal-component-name:version"  
  118. #              Below is a list of components you may specify to install.  
  119. #          
  120. #              oracle.rdbms.partitioning:11.2.0.1.0 - Oracle Partitioning  
  121. #              oracle.rdbms.dm:11.2.0.1.0 - Oracle Data Mining  
  122. #              oracle.rdbms.dv:11.2.0.1.0 - Oracle Database Vault   
  123. #              oracle.rdbms.lbac:11.2.0.1.0 - Oracle Label Security  
  124. #              oracle.rdbms.rat:11.2.0.1.0 - Oracle Real Application Testing   
  125. #              oracle.oraolap:11.2.0.1.0 - Oracle OLAP  
  126. #------------------------------------------------------------------------------  
  127. oracle.install.db.customComponents=oracle.server:11.2.0.1.0,oracle.sysman.ccr:10.2.7.0.0,oracle.xdk:11.2.0.1.0,oracle.rdbms.oci:11.2.0.1.0,oracle.network:11.2.0.1.0,oracle.network.listener:11.2.0.1.0,oracle.rdbms:11.2.0.1.0,oracle.options:11.2.0.1.0,oracle.rdbms.partitioning:11.2.0.1.0,oracle.oraolap:11.2.0.1.0,oracle.rdbms.dm:11.2.0.1.0,oracle.rdbms.dv:11.2.0.1.0,orcle.rdbms.lbac:11.2.0.1.0,oracle.rdbms.rat:11.2.0.1.0  
  128.   
  129. ###############################################################################  
  130. #                                                                             #  
  131. # PRIVILEGED OPERATING SYSTEM GROUPS                                          #  
  132. # ------------------------------------------                                  #  
  133. # Provide values for the OS groups to which OSDBA and OSOPER privileges       #  
  134. # needs to be granted. If the install is being performed as a member of the   #       
  135. # group "dba", then that will be used unless specified otherwise below.       #  
  136. #                                                                             #  
  137. ###############################################################################  
  138.   
  139. #------------------------------------------------------------------------------  
  140. # The DBA_GROUP is the OS group which is to be granted OSDBA privileges.  
  141. #------------------------------------------------------------------------------  
  142. oracle.install.db.DBA_GROUP=oracle  
  143.   
  144. #------------------------------------------------------------------------------  
  145. # The OPER_GROUP is the OS group which is to be granted OSOPER privileges.  
  146. #------------------------------------------------------------------------------  
  147. oracle.install.db.OPER_GROUP=oracle  
  148.   
  149. #------------------------------------------------------------------------------  
  150. # Specify the cluster node names selected during the installation.  
  151. #------------------------------------------------------------------------------  
  152. #oracle.install.db.CLUSTER_NODES=  
  153.   
  154. #------------------------------------------------------------------------------  
  155. # Specify the type of database to create.  
  156. # It can be one of the following:  
  157. # - GENERAL_PURPOSE/TRANSACTION_PROCESSING            
  158. # - DATA_WAREHOUSE                                  
  159. #------------------------------------------------------------------------------  
  160. oracle.install.db.config.starterdb.type=GENERAL_PURPOSE  
  161.   
  162. #------------------------------------------------------------------------------  
  163. # Specify the Starter Database Global Database Name.   
  164. #------------------------------------------------------------------------------  
  165. oracle.install.db.config.starterdb.globalDBName=ora11g.ixr  
  166.   
  167. #------------------------------------------------------------------------------  
  168. # Specify the Starter Database SID.  
  169. #------------------------------------------------------------------------------  
  170. oracle.install.db.config.starterdb.SID=ORA11G  
  171.   
  172. #------------------------------------------------------------------------------  
  173. # Specify the Starter Database character set.  
  174. #                                                
  175. # It can be one of the following:  
  176. # AL32UTF8, WE8ISO8859P15, WE8MSWIN1252, EE8ISO8859P2,  
  177. # EE8MSWIN1250, NE8ISO8859P10, NEE8ISO8859P4, BLT8MSWIN1257,  
  178. # BLT8ISO8859P13, CL8ISO8859P5, CL8MSWIN1251, AR8ISO8859P6,  
  179. # AR8MSWIN1256, EL8ISO8859P7, EL8MSWIN1253, IW8ISO8859P8,  
  180. # IW8MSWIN1255, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE,  
  181. # KO16MSWIN949, ZHS16GBK, TH8TISASCII, ZHT32EUC, ZHT16MSWIN950,  
  182. # ZHT16HKSCS, WE8ISO8859P9, TR8MSWIN1254, VN8MSWIN1258  
  183. #------------------------------------------------------------------------------  
  184. oracle.install.db.config.starterdb.characterSet=ZHS16GBK  
  185.   
  186. #------------------------------------------------------------------------------  
  187. # This variable should be set to true if Automatic Memory Management   
  188. # in Database is desired.  
  189. # If Automatic Memory Management is not desired, and memory allocation  
  190. # is to be done manually, then set it to false.  
  191. #------------------------------------------------------------------------------  
  192. oracle.install.db.config.starterdb.memoryOption=true  
  193.   
  194. #------------------------------------------------------------------------------  
  195. # Specify the total memory allocation for the database. Value(in MB) should be  
  196. # at least 256 MB, and should not exceed the total physical memory available   
  197. # on the system.  
  198. # Example: oracle.install.db.config.starterdb.memoryLimit=512  
  199. #------------------------------------------------------------------------------  
  200. oracle.install.db.config.starterdb.memoryLimit=1024  
  201.   
  202. #------------------------------------------------------------------------------  
  203. # This variable controls whether to load Example Schemas onto the starter  
  204. # database or not.  
  205. #------------------------------------------------------------------------------  
  206. oracle.install.db.config.starterdb.installExampleSchemas=true  
  207.   
  208. #------------------------------------------------------------------------------  
  209. # This variable includes enabling audit settings, configuring password profiles  
  210. # and revoking some grants to public. These settings are provided by default.   
  211. # These settings may also be disabled.      
  212. #------------------------------------------------------------------------------  
  213. oracle.install.db.config.starterdb.enableSecuritySettings=true  
  214.   
  215. ###############################################################################  
  216. #                                                                             #  
  217. # Passwords can be supplied for the following four schemas in the         #  
  218. # starter database:                                   #  
  219. #   SYS                                                                       #  
  220. #   SYSTEM                                                                    #  
  221. #   SYSMAN (used by Enterprise Manager)                                       #  
  222. #   DBSNMP (used by Enterprise Manager)                                       #  
  223. #                                                                             #  
  224. # Same password can be used for all accounts (not recommended)            #  
  225. # or different passwords for each account can be provided (recommended)       #  
  226. #                                                                             #  
  227. ###############################################################################  
  228.   
  229. #------------------------------------------------------------------------------  
  230. # This variable holds the password that is to be used for all schemas in the  
  231. # starter database.  
  232. #-------------------------------------------------------------------------------  
  233. oracle.install.db.config.starterdb.password.ALL=$******$  
  234.   
  235. #-------------------------------------------------------------------------------  
  236. # Specify the SYS password for the starter database.  
  237. #-------------------------------------------------------------------------------  
  238. oracle.install.db.config.starterdb.password.SYS=$******$  
  239.   
  240. #-------------------------------------------------------------------------------  
  241. # Specify the SYSTEM password for the starter database.  
  242. #-------------------------------------------------------------------------------  
  243. oracle.install.db.config.starterdb.password.SYSTEM=$******$  
  244.   
  245. #-------------------------------------------------------------------------------  
  246. # Specify the SYSMAN password for the starter database.  
  247. #-------------------------------------------------------------------------------  
  248. oracle.install.db.config.starterdb.password.SYSMAN=$******$  
  249. #-------------------------------------------------------------------------------  
  250. # Specify the DBSNMP password for the starter database.  
  251. #-------------------------------------------------------------------------------  
  252. oracle.install.db.config.starterdb.password.DBSNMP=$******$  
  253.   
  254. #-------------------------------------------------------------------------------  
  255. # Specify the management option to be selected for the starter database.   
  256. # It can be one of the following:  
  257. # 1. GRID_CONTROL  
  258. # 2. DB_CONTROL  
  259. #-------------------------------------------------------------------------------  
  260. oracle.install.db.config.starterdb.control=DB_CONTROL  
  261.   
  262. #-------------------------------------------------------------------------------  
  263. # Specify the Management Service to use if Grid Control is selected to manage   
  264. # the database.        
  265. #-------------------------------------------------------------------------------  
  266. #oracle.install.db.config.starterdb.gridcontrol.gridControlServiceURL=  
  267.   
  268. #-------------------------------------------------------------------------------  
  269. # This variable indicates whether to receive email notification for critical   
  270. # alerts when using DB control.     
  271. #-------------------------------------------------------------------------------  
  272. oracle.install.db.config.starterdb.dbcontrol.enableEmailNotification=false  
  273.   
  274. #-------------------------------------------------------------------------------  
  275. # Specify the email address to which the notifications are to be sent.  
  276. #-------------------------------------------------------------------------------  
  277. #oracle.install.db.config.starterdb.dbcontrol.emailAddress=  
  278.   
  279. #-------------------------------------------------------------------------------  
  280. # Specify the SMTP server used for email notifications.  
  281. #-------------------------------------------------------------------------------  
  282. #oracle.install.db.config.starterdb.dbcontrol.SMTPServer=  
  283.   
  284.   
  285. ###############################################################################  
  286. #                                                                             #  
  287. # SPECIFY BACKUP AND RECOVERY OPTIONS                                         #  
  288. # ------------------------------------                                    #  
  289. # Out-of-box backup and recovery options for the database can be mentioned    #  
  290. # using the entries below.                            #   
  291. #                                                                             #  
  292. ###############################################################################  
  293.   
  294. #------------------------------------------------------------------------------  
  295. # This variable is to be set to false if automated backup is not required. Else   
  296. # this can be set to true.  
  297. #------------------------------------------------------------------------------  
  298. oracle.install.db.config.starterdb.automatedBackup.enable=false  
  299.   
  300. #------------------------------------------------------------------------------  
  301. # Regardless of the type of storage that is chosen for backup and recovery, if   
  302. # automated backups are enabled, a job will be scheduled to run daily at  
  303. # 2:00 AM to backup the database. This job will run as the operating system   
  304. # user that is specified in this variable.  
  305. #------------------------------------------------------------------------------  
  306. #oracle.install.db.config.starterdb.automatedBackup.osuid=  
  307.   
  308. #-------------------------------------------------------------------------------  
  309. # Regardless of the type of storage that is chosen for backup and recovery, if   
  310. # automated backups are enabled, a job will be scheduled to run daily at  
  311. # 2:00 AM to backup the database. This job will run as the operating system user  
  312. # specified by the above entry. The following entry stores the password for the  
  313. # above operating system user.  
  314. #-------------------------------------------------------------------------------  
  315. #oracle.install.db.config.starterdb.automatedBackup.ospwd=  
  316.   
  317. #-------------------------------------------------------------------------------  
  318. # Specify the type of storage to use for the database.  
  319. # It can be one of the following:  
  320. # - FILE_SYSTEM_STORAGE  
  321. # - ASM_STORAGE  
  322. #------------------------------------------------------------------------------  
  323. oracle.install.db.config.starterdb.storageType=FILE_SYSTEM_STORAGE  
  324.   
  325. #-------------------------------------------------------------------------------  
  326. # Specify the database file location which is a directory for datafiles, control  
  327. # files, redo logs.           
  328. #  
  329. # Applicable only when oracle.install.db.config.starterdb.storage=FILE_SYSTEM   
  330. #-------------------------------------------------------------------------------  
  331. oracle.install.db.config.starterdb.fileSystemStorage.dataLocation=/home/oracle/database  
  332.   
  333. #-------------------------------------------------------------------------------  
  334. # Specify the backup and recovery location.  
  335. #  
  336. # Applicable only when oracle.install.db.config.starterdb.storage=FILE_SYSTEM   
  337. #-------------------------------------------------------------------------------  
  338. oracle.install.db.config.starterdb.fileSystemStorage.recoveryLocation=/home/oracle/app/ora11g/flash_recovery_area  
  339.   
  340. #-------------------------------------------------------------------------------  
  341. # Specify the existing ASM disk groups to be used for storage.  
  342. #  
  343. # Applicable only when oracle.install.db.config.starterdb.storage=ASM  
  344. #-------------------------------------------------------------------------------  
  345. #oracle.install.db.config.asm.diskGroup=  
  346.   
  347. #-------------------------------------------------------------------------------  
  348. # Specify the password for ASMSNMP user of the ASM instance.                    
  349. #  
  350. # Applicable only when oracle.install.db.config.starterdb.storage=ASM_SYSTEM   
  351. #-------------------------------------------------------------------------------  
  352. #oracle.install.db.config.asm.ASMSNMPPassword=  
  353.   
  354. #------------------------------------------------------------------------------  
  355. # Specify the My Oracle Support Account Username.  
  356. #  
  357. #  Example   : MYORACLESUPPORT_USERNAME=metalink  
  358. #------------------------------------------------------------------------------  
  359. #MYORACLESUPPORT_USERNAME=  
  360.   
  361. #------------------------------------------------------------------------------  
  362. # Specify the My Oracle Support Account Username password.  
  363. #  
  364. # Example    : MYORACLESUPPORT_PASSWORD=password  
  365. #------------------------------------------------------------------------------  
  366. #MYORACLESUPPORT_PASSWORD=  
  367.   
  368. #------------------------------------------------------------------------------  
  369. # Specify whether to enable the user to set the password for  
  370. # My Oracle Support credentials. The value can be either true or false.  
  371. # If left blank it will be assumed to be false.  
  372. #  
  373. # Example    : SECURITY_UPDATES_VIA_MYORACLESUPPORT=true  
  374. #------------------------------------------------------------------------------  
  375. #SECURITY_UPDATES_VIA_MYORACLESUPPORT=  
  376.   
  377. #------------------------------------------------------------------------------  
  378. # Specify whether user wants to give any proxy details for connection.   
  379. # The value can be either true or false. If left blank it will be assumed  
  380. # to be false.  
  381. #  
  382. # Example    : DECLINE_SECURITY_UPDATES=false  
  383. #------------------------------------------------------------------------------  
  384. DECLINE_SECURITY_UPDATES=true  
  385.   
  386. #------------------------------------------------------------------------------  
  387. # Specify the Proxy server name. Length should be greater than zero.  
  388. #  
  389. # Example    : PROXY_HOST=proxy.domain.com   
  390. #------------------------------------------------------------------------------  
  391. #PROXY_HOST=  
  392.   
  393. #------------------------------------------------------------------------------  
  394. # Specify the proxy port number. Should be Numeric and atleast 2 chars.  
  395. #  
  396. # Example    : PROXY_PORT=25   
  397. #------------------------------------------------------------------------------  
  398. #PROXY_PORT=  
  399.   
  400. #------------------------------------------------------------------------------  
  401. # Specify the proxy user name. Leave PROXY_USER and PROXY_PWD   
  402. # blank if your proxy server requires no authentication.  
  403. #  
  404. # Example    : PROXY_USER=username   
  405. #------------------------------------------------------------------------------  
  406. #PROXY_USER=  
  407.   
  408. #------------------------------------------------------------------------------  
  409. # Specify the proxy password. Leave PROXY_USER and PROXY_PWD    
  410. # blank if your proxy server requires no authentication.  
  411. #  
  412. # Example    : PROXY_PWD=password   
  413. #------------------------------------------------------------------------------  
  414. #PROXY_PWD=  

然后运行命令

  1. ./runInstaller -silent -ignoreSysPrereqs -force -ignorePrereq -responseFile /home/oracle/database/db_install.rsp  

相关内容