After installing oracle on linux, you need to manually validate the environment variables every time

Problem description: Every time you restart linux, you need to manually source .bash_profile, otherwise the prompt is not a valid command when you enter the sqlplus or lsnrctl command.
The problem is solved: Under the root user, vi .bashrc, paste the environment variables in the oracle .bash_profile.
Then source .bashrc
and then reboot
successfully after verification

Guess you like

Origin blog.51cto.com/14790211/2587559