Summarized today, using simple several words to describe how to install Oracle Database on Oracle Linux as following.
*** Login as root user1. Update host name in /etc/hosts
2. Update per-requisite packages for Oracle Linux
$ yum -y install oracle-rdbms-server-12cR1-preinstall.x86_64
*** Login as oracle3. Run OUI (Oracle Universal Installer)
$ ./runInstaller
...
Refer to 点击打开链接
4. Set environment variables
Typically add into ~/.bash_profile
And there‘re three necessary varibles
- ORACLE_HOME
- ORACLE_SID
- Add $ORACLE_HOME/bin into PATH
5. Auto startup and shutdown
Refer to 点击打开链接
时间: 2025-01-02 04:25:34