Oracle 12CR2 installation on CentOS-7

Source: Internet
Author: User

Installing Oracle-database-server-12cr2-preinstall

wget http://public-yum.oracle.com/public-yum-ol7.repo-o/etc/yum.repos.d/ Public-yum-ol7.repowget http://public-yum.oracle.com/rpm-gpg-key-oracle-ol7-o/etc/ Pki/rpm-gpg/rpm-gpg-key-oracle
Yum Clean All
Yum updateyuminstall oracle-database-server-12cr2-preinstall-y

Create an Oracle environment variable configuration file

mkdir/home/oracle/scripts

Cat>/home/oracle/scripts/setenv.SH<<eof# Oracle settingsexport TMP=/Tmpexport TMPDIR=\ $TMPexport Oracle_hostname=Oracle12c.localexport Oracle_unqname=Cdb1export oracle_base=/u01/app/Oracleexport Oracle_home=\ $ORACLE _base/product/12.2.0.1/Db_1export Oracle_sid=Cdb1export PATH=\ $PATH: \ $ORACLE _home/Binexport Ld_library_path=\ $ORACLE _home/lib:/lib:/usr/Libexport CLASSPATH=\ $ORACLE _home/jlib:\ $ORACLE _home/rdbms/jlibeof


echo ". /home/oracle/scripts/setenv.sh ">>/home/oracle/.bash_profile

Chown-r Oracle.oinstall/home/oracle/scriptschmod u+x/home/oracle/scripts/*.sh

Oracle 12CR2 installation on CentOS-7

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.