# 网络信息 root@ubuntu24:~# ip a 2: ens160: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 00:0c:29:69:68:2b brd ff:ff:ff:ff:ff:ff altname enp3s0 inet 192.168.6.168/24 brd 192.168.6.255 scope global dynamic noprefixroute ens160 valid_lft 84876sec preferred_lft 84876sec inet6 fe80::20c:29ff:fe69:682b/64 scope link valid_lft forever preferred_lft forever
# 连接外网测试 root@ubuntu24:~# ping www.baidu.com PING www.a.shifen.com (180.101.50.242) 56(84) bytes of data. 64 bytes from 180.101.50.242: icmp_seq=1 ttl=53 time=7.38 ms 64 bytes from 180.101.50.242: icmp_seq=2 ttl=53 time=8.14 ms 64 bytes from 180.101.50.242: icmp_seq=3 ttl=53 time=7.79 ms 64 bytes from 180.101.50.242: icmp_seq=4 ttl=53 time=7.82 ms 64 bytes from 180.101.50.242: icmp_seq=5 ttl=53 time=7.83 ms
LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 30-JUL-2024 17:50:09
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 30-JUL-2024 17:49:14 Uptime 0 days 0 hr. 0 min. 54 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 Log File /u01/app/oracle/diag/tnslsnr/ubuntu24/listener/alert/log.xml Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ubuntu24)(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: Release 11.2.0.4.0 Production on Tue Jul 30 17:50:10 2024
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options
sys@LUCIFER 2024-07-30 17:50:10> 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 boolean FALSE instance_name string lucifer lock_name_space string log_file_name_convert string processor_group_name string service_names string lucifer sys@LUCIFER 2024-07-30 17:50:15> select open_mode from v$database;