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.
#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
It means normal startup
$ps -ef | grep oracle
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
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 命令 参数 匹配模式 文件数据
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!