Xây dựng linux tại huế

Oracle Linux is based on Red Hat Enterprise Linux. At first, it may be confusing to determine what specific operating system is running. This is because both have the /etc/redhat-release file.

Nội dung chính Show

  • Determine Oracle Linux version
  • Other options
  • Related files
  • Oracle Database 19c [19.3]
  • Where is Oracle installed on Linux?
  • How can I tell if Oracle 19c is installed?
  • Does Oracle Linux contain Oracle Database?
  • What is the latest version of Oracle Linux?

If that file exists, use the cat command to display the contents. Next step is to determine if there is a /etc/oracle-release file as well. If so, then you can be sure that Oracle Linux is running.

cat /etc/oracle-release

Sample output might be: Oracle Linux Server release 6.7

Other options

Next time when you are on a system and not sure what it is running, use this:

ls -l /etc/*-release

This shows you any files that might give a hint on the operating system version.

Related files

  • /etc/enterprise-release [older versions of OEL]
  • /etc/issue
  • /etc/issue.net
  • /etc/lsb-release

One more thing...

Keep learning

So you are interested in Linux security? Join the Linux Security Expert training program, a practical and lab-based training ground. For those who want to become [or stay] a Linux security expert.

See training package



Security scanning with Lynis and Lynis Enterprise

Run automated security scans and increase your defenses. Lynis is an open source security tool to perform in-depth audits. It helps with system hardening, vulnerability discovery, and compliance.

Download

An easy way to check which release version of Oracle you are running is to look at:

%ORACLE_HOME%\admin\protect\bdump\alert_protect.log

and check for the latest startup sequence.  The first digit after the "ORACLE V" is the version. You should see something like the following:

Thu May 03 16:47:56 2007
ORACLE V10.2.0.2.0 - Production vsnsta=0
….
Starting up ORACLE RDBMS Version: 10.2.0.2.0.

Or else you can use the command line.

How to check the Oracle version from the command prompt  

Version information is stored in a table called v$version. In this table you can find version information on Oracle, PL/SQL, etc.

To retrieve the version information for Oracle:

Run this script as sys as sysdba:

SQL> select version from v$instance;

You will see something like this:

VERSION

-----------------

11.1.0.6.0

Or, you can execute the following SQL statement: 

SELECT * from v$version 
WHERE banner like 'Oracle%';

It should return something like this:

Banner
--------------------------------------------------------------------------------------
Oracle Database 10g Release 10.2.0.2.0 - Production

For example:

C:\Documents and Settings\Administrator>sqlplus \nolog

SQL*Plus: Release 10.2.0.2.0 - Production on Fri May 4 15:32:56 20

Copyright [c] 1982, 2005, Oracle. All Rights Reserved.

Enter user-name: protect
Enter password:

Connected to:
Oracle Database 10g Release 10.2.0.2.0 - Production

SQL> select * from v$version
2 where banner like 'Oracle%';

BANNER
----------------------------------------------------------------
Oracle Database 10g Release 10.2.0.2.0 - Production

Oracle Database 19c [19.3]

Oracle Database 19c [19.3] for Linux x86-64 [RPM]

Oracle Database 19c [19.3] for Linux x86-64

Directions
Installation guides and general Oracle Database 19c documentation are here.

Oracle Database 19c Grid Infrastructure [19.3] for Linux x86-64

Contains the Grid Infrastructure Software including Oracle Clusterware, Automated Storage Management [ASM], and ASM Cluster File System. Download and install prior to installing Oracle Real Application Clusters, Oracle Real Application Clusters One Node, or other application software in a Grid Environment

Oracle Database 19c Global Service Manager [GSM/GDS] [19.3] for Linux x86-64

Contains the Global Service Manager Software. Download and install as part of Global Data Services [GDS] deployment.

Oracle Database Gateways 19c [19.3] for Linux x86-64

Contains the Oracle Database Gateways to non-Oracle Databases. Download if you want to set up a heterogeneous data integration environment

Oracle Database 19c Examples [19.3] for Linux x86-64

Contains examples of how to use the Oracle Database. Download if you are new to Oracle and want to try some of the examples presented in the Documentation

Oracle Database 19c Client [19.3] for Linux x86-64

Contains the Oracle Client Libraries for Linux. Download if you want the client libraries only

Oracle Fusion Middleware Web Tier Utilities for Linux x86-64

알아보기

새로운 소식

문의하기

Where is Oracle installed on Linux?

The default location is /u01/app/oracle/product/8.0..

$ORACLE_HOME/bin contains the executables for the database and administrative software..

$ORACLE_HOME/rdbms/admin contains the SQL scripts used to create the catalog, and other useful scripts too numerous to cover here..

How can I tell if Oracle 19c is installed?

Follow these steps: From the Start menu, select All apps, then Oracle - HOMENAME, then Oracle Installation Products, then Universal Installer. In the Welcome window, click Installed Products to display the Inventory dialog box. To check the installed contents, find the Oracle Database product in the list.

Bài Viết Liên Quan

Toplist mới

Bài mới nhất

Chủ Đề