重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 3059|回复: 0
打印 上一主题 下一主题

[安装] 在龙蜥操作系统anolis os8.4 上安装ORACLE19c

[复制链接]
跳转到指定楼层
楼主
发表于 2021-11-9 23:53:28 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
龙蜥操作系统,可以认为就是CENTOS,安装使用与CENTOS一样,在上面安装ORACLE 19C,就和在CENTOS上安装ORACLE一样。没有任何区别。源是阿里的,所以,只要能上网,需要安装什么软件包,确实比较快。

具体anolis os安装及ORACLE 19C 的安装此处略。下面是安装后的结果:

[oracle@szdbsvr trace]$ uname -r
4.18.0-305.an8.x86_64
[oracle@szdbsvr trace]$
[oracle@szdbsvr trace]$
[oracle@szdbsvr trace]$ cat /etc/os-release
NAME="Anolis OS"
VERSION="8.4"
ID="anolis"
ID_LIKE="rhel fedora centos"
VERSION_ID="8.4"
PLATFORM_ID="platform:an8"
PRETTY_NAME="Anolis OS 8.4"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"

[oracle@szdbsvr trace]$
[oracle@szdbsvr trace]$ lsnrctl

LSNRCTL for Linux: Version 19.0.0.0.0 - Production on 09-NOV-2021 23:48:05

Copyright (c) 1991, 2021, Oracle.  All rights reserved.

Welcome to LSNRCTL, type "help" for information.

LSNRCTL> sttus
NL-00853: undefined command "sttus".  Try "help"
LSNRCTL> status
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 19.0.0.0.0 - Production
Start Date                09-NOV-2021 23:10:30
Uptime                    0 days 0 hr. 37 min. 53 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Log File         /u01/app/oracle/diag/tnslsnr/szdbsvr/listener/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=szdbsvr)(PORT=1521)))
Services Summary...
Service "86b637b62fdf7a65e053f706e80a27ca" has 1 instance(s).
  Instance "cdb1", status READY, has 1 handler(s) for this service...
Service "cdb1" has 1 instance(s).
  Instance "cdb1", status READY, has 1 handler(s) for this service...
Service "cdb1XDB" has 1 instance(s).
  Instance "cdb1", status READY, has 1 handler(s) for this service...
The command completed successfully
LSNRCTL> exit
[oracle@szdbsvr trace]$ sqlplus /nolog

SQL*Plus: Release 19.0.0.0.0 - Production on Tue Nov 9 23:48:22 2021
Version 19.12.0.0.0

Copyright (c) 1982, 2021, Oracle.  All rights reserved.

SQL> conn / as sysdba
????
SQL> select name,open_mode from v$database;

NAME      OPEN_MODE
--------- --------------------
CDB1      READ WRITE

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-5-18 20:53 , Processed in 0.083831 second(s), 20 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表