centos7安裝oracle


完整步驟:https://blog.csdn.net/wushuoyouting/article/details/117200461

1、環境准備

       1)centos7圖形化界面(預留60G空間,1G內存,聯網)

  2)oracle安裝包

  3)字體

2、配置yum源(oracle和阿里源)

修改/etc/sysconfig/network-scripts/ifctf-ens33文件中的

  BOOTPROTO=static

  ONBOOT=yes

  IPADDR=

  GATEWAY=(查看虛擬機的“編輯”里面的“虛擬網絡編輯器”中查看)

  DNS1=跟GATEWAY一致

 oracle數據源:

https://public-yum.oracle.com/getting-started.html#installing-software-from-oracle-linux-yum-server

阿里源:

curl -o epel.repo http://mirrors.aliyun.com/repo/epel-7.repo

curl -o base.repo http://mirrors.aliyun.com/repo/Centos-7.repo

 

第二部分:

安裝先導文件:yum -y install oracle-rdbms-server-11gR2-preinstall.x86_64

 

啟動監聽:lsnrctl start

 

啟動已經安裝的數據庫orcl。
操作用戶oracle
啟動監聽,才能進行遠程連接
[oracle@localhost ~]# lsnrctl start

啟動數據庫過程如下:
[oracle@localhost ~]# sqlplus /nolog

使用dba權限連接Oralce
SQL> connect / as sysdba

啟動數據庫
SQL> startup

確認啟動結果:
ORACLE instance started.
Total System Global Area 534462464 bytes
Fixed Size 2215064 bytes
Variable Size 373293928 bytes
Database Buffers 150994944 bytes
Redo Buffers 7958528 bytes
Database mounted.
Database opened.
————————————————
版權聲明:本文為CSDN博主「「已注銷」」的原創文章,遵循CC 4.0 BY-SA版權協議,轉載請附上原文出處鏈接及本聲明。
原文鏈接:https://blog.csdn.net/wushuoyouting/article/details/117200461


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM