about installing 2 different versions of Oracle server ____oracle on a single host

Source: Internet
Author: User

I. Installation of ORACLE12C


Install as normal installation method.


Oracle_base=/u01/app

Oracle_home=/u01/app/oracle

Oracle_sid=a4orcl



Second, install oracle11g


When installing oracle11g, the installation directory and related parameters are selected as follows:

Su-oracle

Oracle_base=/u01/app

Oracle_home=/u02/app/oracle

Oracle_sid=a4orcl02


After the installation is complete, you may need to configure/u02/app/oracle/network/admin/listener.ora

Add the following:

Sid_list_listener =
(Sid_list =
(Sid_desc =
(Global_dbname = a4orcl02)
(Oracle_home =/u02/app/oracle)
(Sid_name = a4orcl02)
)
)


Note that the port at oracle11g login is already 1522.


#根据不同的需求登录不同的数据库, where $oracle_home can be introduced temporarily by using export

Export Oracle_home=/u01/app/home

$ORACLE _home/bin/sqlplus

$ORACLE _HOME/BIN/DBCA


Iii. documents to be used

More/etc/orainst.loc
Inventory_loc=/u01/orainventory
Inst_group=oinstall


More/etc/oratab
A4orcl:/u01/app/oracle:n



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.