After installing oracle, you must add the following settings in linux to use oracle normally:
After installing oracle, you must add the following settings in linux to use oracle normally:
After installing Oracle, you must add the following settings in linux to use oracle normally:
Set two environment variables: ORACLE_HOME and ORACLE_SID, and add the bin directory of ORACLE to PATH. Generally, ORACLE_SID = orcl is installed by default ,, ORACLE_HOME =/home/oracle/product/10 ...... the procedure is as follows:
1. su oracle and press enter to switch to the oracle user;
2. cd and press enter to return to the oracle user directory;
3. vi. bash_profile, press enter to edit the file, press I to enter the insert status, and add the following lines at the end:
Export ORACLE_SID = orcl
Export ORACLE_HOME =/home/oracle/product/10 ...... (the part is modified according to your actual path)
Export PATH = $ PATH: $ ORACLE_HOME/bin
Press ESC to exit vi editing. Enter wq and press enter to save the disk.
Log out of all oracle users, and then log on to oracle.
Note that before wq is entered, there is a colon. First enter this: you can enter the command at the bottom of the editor.
For more information about Oracle, see the Oracle topic page? Tid = 12