How to check whether Oracle is installed successfully in Linux

藏色散人
Release: 2023-03-27 09:45:26
Original
5422 people have browsed it

linux method to check whether oracle is installed successfully: 1. Log in to the linux system and enter the terminal; 2. Execute the "$sqlplus /nolog SQL>conn /as sysdba SQL>startup" command. If it starts normally, it means oracle Successful installation.

How to check whether Oracle is installed successfully in Linux

#The operating environment of this tutorial: linux5.9.8 system, Dell G3 computer.

How to check whether Oracle is installed successfully in Linux?

$sqlplus /nolog
SQL>conn /as sysdba
SQL>startup
Copy after login

It means normal startup

$ps -ef | grep oracle
Copy after login

You can see the necessary processes of oracle

ora_pmon_XXXXXXXXX
ora_psp0_XXXXXXXXX
ora_mman_XXXXXXXXX
ora_dbw0_XXXXXXXXX
ora_lgwr_XXXXXXXXX
ora_ckpt_XXXXXXXXX
ora_smon_XXXXXXXXX
ora_reco_XXXXXXXXX
ora_cjq0_XXXXXXXXX
ora_mmon_XXXXXXXXX
ora_mmnl_XXXXXXXXX
ora_arc0_XXXXXXXXX
ora_arc1_XXXXXXXXX
ora_qmnc_XXXXXXXXX
ora_q000_XXXXXXXXX
Copy after login

Related introduction:

grep function

Text search tool matches the target text line by line according to the "pattern" (filter condition) specified by the user, and prints out the matched lines;

Pattern: consists of the elements of the regular expression Filter conditions written by strings and text strings

grep Complete syntax structure

grep   [options]   [pattern]   file
命令    参数         匹配模式      文件数据
Copy after login

The above syntax structure can often be used with the following parameters

-i: Ignore case;

-o: only display matching target strings;

-v: display strings that cannot be matched (reversed);

- E: Supports the use of extended regular expression strings;

-q: Silent mode, does not output any information

The grep command is one of the most important commands in the Linux system command, and its function is Filter out matching rows or data from text files or pipeline data streams. If combined with regular expressions, the function will be very powerful.

Recommended learning: "linux video tutorial"

The above is the detailed content of How to check whether Oracle is installed successfully in Linux. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!