2017年2月3日金曜日

Install Oracle database 11c R2 CentOS 7.3

$ cd /etc/yum.repos.d

$ sudo wget http://public-yum.oracle.com/public-yum-ol7.repo



https://docs.oracle.com/cd/E52668_01/E39381/html/ol_import_gpg.html


$ cd /etc/pki/rpm-gpg

$ sudo wget http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol7

$ gpg --quiet --with-fingerprint ./RPM-GPG-KEY-oracle-ol7

$ sudo rpm --import ./RPM-GPG-KEY-oracle-ol7



$ sudo LANG=C yum install oracle-rdbms-server-11gR2-preinstall
$ sudo yum install unixODBC-devel
$ sudo yum install compat-libstdc++-33.i686
$ sudo yum install glibc-devel.i686
$ sudo yum install libaio.i686
$ sudo yum install libaio-devel.i686
$ sudo yum install libstdc++.i686
$ sudo yum install libstdc++-devel.i686
$ sudo yum install libXi.i686
$ sudo yum install libXtst.i686


$ sudo yum install glibc-static.x86_64
$ sudo yum install glibc-static.i686

$ sudo yum update





$ sudo passwd oracle


$ sudo mkdir -p /u01/app/oracle

$ sudo chown -R oracle:oinstall /u01/app

$ sudo chmod -R 775 /u01/app/oracle





login as oracle



$ LANG=C database/runInstaller


ファイルをコピーし始めたら

https://www.davemalpass.com/oracle-database-11g-install-on-centos-7/

$ sudo vi /u01/app/oracle/product/11.2.0/dbhome_1/ctx/lib/ins_ctx.mk

ctxhx: $(CTXHXOBJ)
-static $(LINK_CTXHX) $(CTXHXOBJ) $(INSO_LINK) /usr/lib64/stdc.a

$ sudo vi /u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib/ins_emagent.mk
$(MK_EMAGENT_NMECTL)
$(MK_EMAGENT_NMECTL) -lnnz11

abort retry cancel tab x4でリトライ




login as root


# /u01/app/oraInventory/orainstRoot.sh

# /u01/app/oracle/product/11.2.0/dbhome_1/root.sh



~oracle/.bash_profile

export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
export PATH=$ORACLE_HOME/bin:$PATH
export ORACLE_SID=ORCL


https://get.adobe.com/jp/flashplayer/otherversions/



$ sudo yum localinstall adobe-release-x86_64-1.0-1.noarch.rpm

$ sudo yum install flash-plugin

http://192.168.0.10:1158/em

0 件のコメント: