# 主机版本 [root@rhel7 soft]# cat /etc/os-release NAME="Red Hat Enterprise Linux Server" VERSION="7.9 (Maipo)" ID="rhel" ID_LIKE="fedora" VARIANT="Server" VARIANT_ID="server" VERSION_ID="7.9" PRETTY_NAME="Red Hat Enterprise Linux Server 7.9 (Maipo)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:redhat:enterprise_linux:7.9:GA:server" HOME_URL="https://www.redhat.com/" BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7" REDHAT_BUGZILLA_PRODUCT_VERSION=7.9 REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux" REDHAT_SUPPORT_PRODUCT_VERSION="7.9"
# 网络信息 [root@rhel7 soft]# ip a 2: ens192: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 00:0c:29:9a:03:bd brd ff:ff:ff:ff:ff:ff inet 192.168.6.131/24 brd 192.168.6.255 scope global noprefixroute ens192 valid_lft forever preferred_lft forever inet6 fe80::23c5:d3dc:85bb:dbf4/64 scope link noprefixroute valid_lft forever preferred_lft forever
# 挂载本地 ISO 镜像 [root@rhel7 soft]# mount | grep iso9660 | grep -v "/run/media" /dev/sr0 on /mnt type iso9660 (ro,relatime) [root@rhel7 soft]# df -h|grep /mnt /dev/sr0 4.3G 4.3G 0 100% /mnt
[root@rhel7:/root]# cat /etc/os-release NAME="Red Hat Enterprise Linux Server" VERSION="7.9 (Maipo)" ID="rhel" ID_LIKE="fedora" VARIANT="Server" VARIANT_ID="server" VERSION_ID="7.9" PRETTY_NAME="Red Hat Enterprise Linux Server 7.9 (Maipo)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:redhat:enterprise_linux:7.9:GA:server" HOME_URL="https://www.redhat.com/" BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7" REDHAT_BUGZILLA_PRODUCT_VERSION=7.9 REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux" REDHAT_SUPPORT_PRODUCT_VERSION="7.9"
查看 Oracle 版本以及补丁:
1 2 3 4 5 6
[oracle@rhel7:/home/oracle]$ sqlplus -v
SQL*Plus:Release11.2.0.4.0Production
[oracle@rhel7:/home/oracle]$ opatch lspatches There are no Interim patches installed in this OracleHome.
LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 13-JUN-202415:46:58
Copyright (c) 1991, 2013, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521))) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 11.2.0.4.0 - Production Start Date 13-JUN-202415:45:54 Uptime 0 days 0 hr. 1min. 4 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /u01/app/oracle/product/11.2.0/db/network/admin/listener.ora Listener LogFile /u01/app/oracle/diag/tnslsnr/rhel7/listener/alert/log.xml Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=rhel7)(PORT=1521))) Services Summary... Service "lucifer"has 1 instance(s). Instance "lucifer", status READY, has 1 handler(s) for this service... Service "luciferXDB"has 1 instance(s). Instance "lucifer", status READY, has 1 handler(s) for this service... The command completed successfully
SQL*Plus: Release11.2.0.4.0 Production on Thu Jun 1315:47:062024
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release11.2.0.4.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options
sys@LUCIFER 2024-06-1315:47:06> show parameter name
NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ cell_offloadgroup_name string db_file_name_convert string db_name string lucifer db_unique_name string lucifer global_names booleanFALSE instance_name string lucifer lock_name_space string log_file_name_convert string processor_group_name string service_names string lucifer