龙蜥操作系统,可以认为就是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
|