oracle18c客户端,oracle--oracle18C软件安装(一)

一,安装软件

-----------------------------------------------------------------------------------------------------------------

注意:将安装文件解压到Oracle Home下,这里和Oracle 18c之前的版本不同,之前的版本解压的安装文件可以在任何位置,Oracle 解压的安装文件必须在Oracle Home下。因为仅从Oracle home运行runInstaller命令。不要从任何其他位置运行runInstaller。

最好是拷贝到ORACLE_HOME下面后进行一次授权

chomd -R 755 /u01/

-----------------------------------------------------------------------------------------------------------------

e4984ec32125b4a287f912a8e67db832.png

开启安装界面

989dfdd6681d39bde4983d94c5c96f3d.png

我们选择安装软件吧,等会搭建DG

4a9785a67ac40acdc9e6b510687ed22d.png

c1c7643ab2c1b5ecb4afe41f97836674.png

base路径

a9ae05c1bacdd6a4eca56aaba44f3552.png

b85b15a15b887b0bdfd0de21b2f43220.png

权限看是不是对的,自己根据情况配置

e6412ae6814894a7cb1bf21a32b8a57f.png

等待安装

8e324a59f21aacaca5e846426466ebdf.png

swap 勾选忽略,几点swap也会出现对应的错误信息,以及解决方法

d514e4bcfccbe33e3bc7697602bd7da5.png

34a22e9454226b5940bda151a74e5654.png

b4b1ebfa0a4c1f5c877eae49ca2b70db.png

1b15587e7df2b1370611cc0a92239e07.png

用root执行对应的脚本

[root@oracle18c ~]#sh /u01/app/oraInventory/orainstRoot.sh

Changing permissions of /u01/app/oraInventory.Addingread,write permissions for group.Removingread,write,execute permissions for world.Changing groupname of/u01/app/oraInventory to oinstall.The execution of the script is complete.[root@oracle18c ~]#sh /u01/app/oracle/product/18.3.0/dbhome_1/root.sh

Performing root user operation.The following environment variables are set as:ORACLE_OWNER=oracle

ORACLE_HOME= /u01/app/oracle/product/18.3.0/dbhome_1

Enter the full pathname of thelocal bin directory: [/usr/local/bin]:Copying dbhome to/usr/local/bin ...Copying oraenv to/usr/local/bin ...Copying coraenv to/usr/local/bin ...Creating/etc/oratab file...Entries will be added to the/etc/oratab file as needed by

Database Configuration Assistant when a database is created

Finished running generic part of root script.Now product-specific root actions will be performed.

Do you want to setup Oracle Trace File Analyzer (TFA) now ? yes|[no] :yes

Installing Oracle Trace File Analyzer (TFA).

Log File: /u01/app/oracle/product/18.3.0/dbhome_1/install/root_oracle18c_2019-08-30_13-39-07-182707693.logFinished installing Oracle Trace File Analyzer (TFA)

[root@oracle18c ~]#

执行完后点击OK

742e9462bcb4aeaccd98abc8768d2238.png

440b4f8ac9a39a23c726e4d78da24348.png

db1271ba0a1d52b7fac4f8c0d0afc7ee.png