rpm安装oracle 18.3

1.OS为oracle Linux 7.4

先获取oracle-database-preinstall-18c

wget http://yum.oracle.com/public-yum-ol7.repo

官网如下图(https://docs.oracle.com/en/database/oracle/oracle-database/18/ladbi/installing-oracle-linux-with-public-yum-repository-support.html#GUID-190BAEE2-2B77-4AA2-AA6B-5D6AF73A4005),我直接把6改成7了

image

image

image

2.安装oracle-database-preinstall-18c

yum install –y oracle-database-preinstall-18c

我这里几乎没有安装什么,因为我没有全新安装,之前装12C的时候,把oracle-database-server-12cR2-preinstall的包给装上了

image 

image

3.安装oracle-database-ee-18c-1.0-1

速度很快,几分钟就装好了

image

image

image

4.配置数据库

/etc/init.d/oracledb_ORCLDB-18c configure

image

image

image

5.sqlplus连接数据库

image

image

image

猜你喜欢

转载自www.cnblogs.com/cnmarkao/p/9833796.html