Download and install method of Oracle 19C
1. Download zip package on the official website.
two。 Extract to the / usr/local/oracle directory.
3. Create users and user groups
/ usr/sbin/useradd-u 600 oracle / / user group oracle
/ usr/sbin/useradd-g oracle oracle1 user oracle1 passwd oracle1 / / set secret
3. Create a directory
Mkdir-p / u01/app/oracle/product/19.0.0/dbhome_1/
Mkdir-p / u01/app/oracle/oraInventory
4. Grant user permissions
Chown-R oracle1:oracle / usr/local/
6. Modify the environment variable / etc/profile
Set the oracle environment variable
Su-oracle
Vi / .bash_profile
Export ORACLE_BASE=/vdb1/db/oracle
Export ORACLE_SID=orcl
Note that except for ORACLE_BASE and ORACLE_SID, no oracle-related environment variables (ORACLE_HOME, PATH, LD_LIBRARY_PATH, etc.) are set (in / etc/profile and .bash _ profile).
Make the setting effective Wuxi Gynecology Hospital ranking http://www.xasgyy.net/
Source / home/oracle/.bash_profile
In the unzip directory database/response directory, modify db_install.rsp
Oracle.install.option=INSTALL_DB_SWONLY / / 29 Line installation Type
ORACLE_HOSTNAME= hostname / / 37 line hostname hostname view
UNIX_GROUP_NAME=oinstall / / 42 Line installation Group
INVENTORY_LOCATION=/vdb1/db/oracle/oraInventory / / 47 line INVENTORY directory
SELECTED_LANGUAGES=en,zh_CN,zh_TW / / 86 Line selection language
ORACLE_HOME=/vdb1/db/oracle/product/11.2.0/db_1 / / 91 line oracle_home
ORACLE_BASE=/vdb1/db/oracle / / 96 line oracle_base
Oracle.install.db.InstallEdition=EE / / 107line oracle version
Oracle.install.db.EEOptionsSelection=true / / 117line custom installation
Oracle.install.db.DBA_GROUP=dba / / 154th line dba user group
Oracle.install.db.OPER_GROUP=oinstall / / 160line oper user group
Oracle.install.db.config.starterdb.type=GENERAL_PURPOSE / / 189line database type
Oracle.install.db.config.starterdb.globalDBName=orcl / / 194Line globalDBName
Oracle.install.db.config.starterdb.SID=orcl / / 199line SID
Oracle.install.db.config.starterdb.memoryLimit=512 / / 229th line automatically manages the minimum memory of memory (M)
Oracle.install.db.config.starterdb.installExampleSchemas=true / / 235Row load sample data table
Line oracle.install.db.config.starterdb.password.ALL=your_passwd / / 262 sets all database users to use the same password
Oracle.install.db.config.starterdb.password.SYS=your_passwd / / 267specify sys user password
Oracle.install.db.config.starterdb.password.SYSTEM=your_passwd / / 272 specify system user password
DECLINE_SECURITY_UPDATES=true / / 385line settings security update