當前位置:首頁 » 數據倉庫 » centos7安裝oracle資料庫
擴展閱讀
webinf下怎麼引入js 2023-08-31 21:54:13
堡壘機怎麼打開web 2023-08-31 21:54:11

centos7安裝oracle資料庫

發布時間: 2022-09-07 21:15:48

『壹』 怎樣在centos7上安裝oracle12c

實驗環境:Oracle VM VirtualBox 4.2.12
操作系統:CentOS 7(LINUX7)64bit
資料庫 :Oracle 12C 64bit
實驗目標:熟悉LINUX7下安裝Oracle12C
http://blog.csdn.net/huangyanlong/article/details/45021171

『貳』 centos7安裝oracle11.2.0需要哪些依賴

CentOS 7 的環境為
$ uname -a
Linux oracle 3.10.0-123.13.1.el7.x86_64 #1 SMP Tue Dec 9 23:06:09 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
注意安裝的時候需要安裝一個桌面系統(X-Windows + KDE 或者 Gnome),否則安裝程序無法運行。

然後根據需要修改共享內存等等系統參數。這個也不寫了,網上有很多。不過據我的測試,CentOS7貌似不需要修改也是可以的,Oracle在進行安裝檢查的時候沒有報告問題(和以前的不一樣)。當然為了調優資料庫的性能,還是修改的好。

安裝gcc,因為後面Oracle link的時候會用到
yum install gcc
安裝結果為

[plain] view plain
gcc --version
gcc (GCC) 4.8.2 20140120 (Red Hat 4.8.2-16)
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for ing conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
(這里注意,因為Oracle需要的3.4和安裝的4.8的參數的區別,後面link會失敗,解決方法見後)
1. 下載,需要下載兩個文件
p10404530_112030_Linux-x86-64_1of7.zip

p10404530_112030_Linux-x86-64_2of7.zip

2. 解壓縮,把這兩個文件解壓到同一個目錄下
3. 運行installer。中間依賴檢查那一步,可以Skip。因為Oracle要檢查是否安裝了gcc,glibc等等比較老的版本(3.4)
4. 前面一切順利。到了Link那一步,出錯了。Log顯示
error in invoking target 'agent nmhs'

在網上查到了解決方案:

[plain] view plain
vi $ORACLE_HOME/sysman/lib/ins_emagent.mk
Search for the line
$(MK_EMAGENT_NMECTL)
Change it to:
$(MK_EMAGENT_NMECTL) -lnnz11
5. Retry重試。這就OK了。

6. 之後就沒啥問題了。正常安裝,執行root腳本,等等。
7. 安裝後重啟伺服器。
8. 重啟後,檢查oracle用戶的環境變數:

[plain] view plain
declare -x ORACLE_HOME="/home/oracle/app/oracle/proct/11.2.0/dbhome_1"
declare -x ORACLE_SID="orcl"
9. 進入$ORACLE_HOME/network/admin,檢查listener.ora:

[plain] view plain
[oracle@oracle admin]$ cat listener.ora
# listener.ora Network Configuration File: /home/oracle/app/oracle/proct/11.2.0/dbhome_1/network/admin/listener.ora
# Generated by Oracle configuration tools.

SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = orcl)
(ORACLE_HOME = /home/oracle/app/oracle/proct/11.2.0/dbhome_1)
)
)

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.16.33.212)(PORT = 1521))
)
)

ADR_BASE_LISTENER = /home/oracle/app/oracle

重點檢查其中的SID,HOST,PORT,ORACLE_HOME是否正確。如果不正確客戶端會報告ERROR-ORA-12514:TNS:監聽程序當前無法識別連接描述符中請求的服務 錯誤。
如果沒有問題,進入$ORACLE_HOME/bin,啟動監聽器:

[plain] view plain
[oracle@oracle bin]$ ./lsnrctl

LSNRCTL for Linux: Version 11.2.0.3.0 - Proction on 16-DEC-2014 11:22:03

Copyright (c) 1991, 2011, Oracle. All rights reserved.

Welcome to LSNRCTL, type "help" for information.
[plain] view plain
LSNRCTL> start
Starting /home/oracle/app/oracle/proct/11.2.0/dbhome_1/bin/tnslsnr: please wait...

TNSLSNR for Linux: Version 11.2.0.3.0 - Proction
System parameter file is /home/oracle/app/oracle/proct/11.2.0/dbhome_1/network/admin/listener.ora
Log messages written to /home/oracle/app/oracle/diag/tnslsnr/oracle/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.16.33.212)(PORT=1521)))

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.16.33.212)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.3.0 - Proction
Start Date 16-DEC-2014 11:22:07
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /home/oracle/app/oracle/proct/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /home/oracle/app/oracle/diag/tnslsnr/oracle/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.16.33.212)(PORT=1521)))
Services Summary...
Service "orcl" has 1 instance(s).
Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
LSNRCTL>
啟動正常,使用sqlplus啟動資料庫:

[plain] view plain
[oracle@oracle bin]$ ./sqlplus '/ as sysdba'
SQL> startup
ORACLE instance started.

Total System Global Area 960372736 bytes
Fixed Size 2234160 bytes
Variable Size 557844688 bytes
Database Buffers 394264576 bytes
Redo Buffers 6029312 bytes
Database mounted.
Database opened.

10. Centos7自帶了SELINUX,關掉

11. Centos7自帶了下一代防火牆firewalld,關掉,否則客戶端連接過來會報TNS Timeout異常

[plain] view plain
[root@oracle ~]# service firewalld stop
Redirecting to /bin/systemctl stop firewalld.service

現在其它機器就應該可以正常連接並使用Oracle了。
另:裝Oracle最省事的還是在Oracle自己的Enterprise Linux上安裝。那些依賴,系統參數,等等等都不需要設置了。

『叄』 怎樣在CENTOS7虛擬機系統中安裝ORACLE 11g資料庫

官方文檔或網上都有詳細的安裝過程的
關鍵要看你出了什麼錯(出錯的可能多了去了,不太可能一一給你列舉的)

『肆』 centos7安裝oracle 後資料庫直接就能使用嗎

當然可以,但是生產環境不建議裝在centos中,還是redhat 或者 oracle linux 比較靠譜,就算出了問題,oracle服務業跟的上。

『伍』 Linux(centos7)系統下安裝Oracle資料庫顯示以下錯誤

報錯提示是確保目錄/tmp不是root所有,應該是目錄所有者是root用戶,修改成oracle用戶試試

『陸』 centos7安裝oracle11g軟體包怎麼安裝

環境准備
安裝包:
CentOS-7-x86_64-DVD
linux.x64_11gR2_database_1of2.zip
linux.x64_11gR2_database_2of2.zip
本教程是在VMware下安裝的,注意設置內存的時候,不要設置動態內存。
安裝Oracle前准備
創建運行oracle資料庫的系統用戶和用戶組
[jonathan@localhost ~]$ su root#切換到rootPassword:
[root@localhost]# groupadd oinstall#創建用戶組oinstall[root@localhost]# groupadd dba#創建用戶組dba[root@localhost]# useradd -g oinstall -g dba -m oracle#創建oracle用戶,並加入到oinstall和dba用戶組[root@localhost]# passwd oracle#設置用戶oracle的登陸密碼,不設置密碼,在CentOS的圖形登陸界面沒法登陸Changing password for user oracle.
New password: # 密碼
BAD PASSWORD: The password is shorter than 8 charactersRetype new password: # 確認密碼
passwd: all authentication tokens updated successfully.
[root@localhost]# id oracle # 查看新建的oracle用戶uid=1001(oracle) gid=1002(dba) groups=1002(dba)
為啥要創建oinstall用戶組及dba組?參考link創建oracle資料庫安裝目錄
[jonathan@localhost ~]$ su root
Password:
[root@localhost]# mkdir -p /data/oracle#oracle資料庫安裝目錄[root@localhost]# mkdir -p /data/oraInventory#oracle資料庫配置文件目錄[root@localhost]# mkdir -p /data/database#oracle資料庫軟體包解壓目錄[root@localhost]# cd /data
[root@localhost data]# ls#創建完畢檢查一下(強迫症)database oracle oraInventory
[root@localhost data]# chown -R oracle:oinstall /data/oracle#設置目錄所有者為oinstall用戶組的oracle用戶[root@localhost data]# chown -R oracle:oinstall /data/oraInventory[root@localhost data]# chown -R oracle:oinstall /data/database[root@localhost data]#
修改OS系統標識
Oracle默認不支持CentOS系統安裝,Oracle Database 11g Release 2 的 OS要求參考:link修改文件 /etc/RedHat-release
[root@localhost data]# cat /proc/version
Linux version 3.10.0-327.el7.x86_64 ([email protected]) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Thu Nov 19 22:10:57 UTC 2015[root@localhost data]# cat /etc/redhat-releaseCentOS Linux release 7.1.1503 (Core)
[root@localhost data]# vi /etc/redhat-release[root@localhost data]# cat /etc/redhat-releaseredhat-7
[root@localhost data]#
安裝oracle資料庫所需要的軟體包
Oracle Database Package Requirements for Linux x86-64 如下:(參考:https://docs.oracle.com/cd/E11882_01/install.112/e47689/pre_install.htm#BABCFJFG)yum install gcc* gcc-* gcc-c++-* glibc-devel-* glibc-headers-* compat-libstdc* libstdc* elfutils-libelf-devel* lio-devel* sysstat* unixODBC-* pdksh-*1
1
根據具體情況去安裝,上面只是提供了一個大概的內容,不是很全關閉防火牆
CentOS 7.2默認使用的是firewall作為防火牆
[root@localhost /]# systemctl status firewalld.service#查看防火牆狀態,運行中● firewalld.service - firewalld - dynamic firewall daemonLoaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)Active: active (running) since Thu 2016-04-07 18:54:29 PDT; 2h 20min agoMain PID: 802 (firewalld)
CGroup: /system.slice/firewalld.service
└─802 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopidApr 07 18:54:25 localhost.localdomain systemd[1]: Starting firewalld - dynamic firewall daemon...
Apr 07 18:54:29 localhost.localdomain systemd[1]: Started firewalld - dynamic firewall daemon.
[root@localhost /]# systemctl stop firewalld.service#關閉防火牆[root@localhost /]# systemctl status firewalld.service#再次查看防火牆狀態,發現已關閉● firewalld.service - firewalld - dynamic firewall daemonLoaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)Active: inactive (dead) since Thu 2016-04-07 21:15:34 PDT; 9s agoMain PID: 802 (code=exited, status=0/SUCCESS)Apr 07 18:54:25 localhost.localdomain systemd[1]: Starting firewalld - dynamic firewall daemon...
Apr 07 18:54:29 localhost.localdomain systemd[1]: Started firewalld - dynamic firewall daemon.
Apr 07 21:15:33 localhost systemd[1]: Stopping firewalld - dynamic firewall daemon...
Apr 07 21:15:34 localhost systemd[1]: Stopped firewalld - dynamic firewall daemon.
[root@localhost /]# systemctl disable firewalld.service#禁止使用防火牆(重啟也是禁止的)Removed symlink /etc/systemd/system/dbus-org.Fedoraproject.FirewallD1.service.
Removed symlink /etc/systemd/system/basic.target.wants/firewalld.service.
[root@localhost /]#
關閉selinux(需重啟生效)
[root@localhost /]# vi /etc/selinux/config[root@localhost /]# cat /etc/selinux/config將 SELINUX=disabled #此處修改為disabled
修改內核參數
[root@localhost /]# vi /etc/sysctl.conf
在最下面添加以下內容:
net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.conf.all.rp_filter = 1
fs.file-max = 6815744 #設置最大打開文件數fs.aio-max-nr = 1048576
kernel.shmall = 2097152 #共享內存的總量,8G內存設置:2097152*4k/1024/1024kernel.shmmax = 2147483648 #最大共享內存的段大小kernel.shmmni = 4096 #整個系統共享內存端的最大數kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500 #可使用的IPv4埠范圍net.core.rmem_default = 262144
net.core.rmem_max= 4194304
net.core.wmem_default= 262144
net.core.wmem_max= 1048576
使配置參數生效
[root@localhost /]# sysctl -p
net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.conf.all.rp_filter = 1
sysctl: setting key "fs.file-max": Invalid argumentfs.file-max = 6815744 #設置最大打開文件數fs.aio-max-nr = 1048576
sysctl: setting key "kernel.shmall": Invalid argumentkernel.shmall = 2097152 #共享內存的總量,8G內存設置:2097152*4k/1024/1024sysctl: setting key "kernel.shmmax": Invalid argumentkernel.shmmax = 2147483648 #最大共享內存的段大小sysctl: setting key "kernel.shmmni": Invalid argumentkernel.shmmni = 4096 #整個系統共享內存端的最大數kernel.sem = 250 32000 100 128
sysctl: setting key "net.ipv4.ip_local_port_range": Invalid argumentnet.ipv4.ip_local_port_range = 9000 65500 #可使用的IPv4埠范圍net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
[root@localhost /]#
對oracle用戶設置限制,提高軟體運行性能
[root@localhost /]# vi /etc/security/limits.conf在最下面部分添加內容(粗體為添加的內容)
@student - maxlogins 4
* oracle soft nproc 2047 *
* oracle hard nproc 16384 *
* oracle soft nofile 1024 *
* oracle hard nofile 65536 *
End of file
配置用戶的環境變數
[root@localhost /]# vi /home/oracle/.bash_profile添加以下內容:
export ORACLE_BASE=/data/oracle #oracle資料庫安裝目錄export ORACLE_HOME=$ORACLE_BASE/proct/11.2.0/db_1 #oracle資料庫路徑export ORACLE_SID=orcl #oracle啟動資料庫實例名export ORACLE_TERM=xterm #xterm窗口模式安裝export PATH=$ORACLE_HOME/bin:/usr/sbin:$PATH #添加系統環境變數export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib #添加系統環境變數export LANG=en_US #防止安裝過程出現亂碼
export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK #設置Oracle客戶端字元集
生效
[root@localhost /]# source /home/oracle/.bash_profile解壓安裝包
[oracle@localhost /]$ cd /usr/local/src#進入/usr/local/src目錄[oracle@localhost src]$ ls
linux.x64_11gR2_database_1of2.zip linux.x64_11gR2_database_2of2.zip[oracle@localhost src]$ unzip linux.x64_11gR2_database_1of2.zip -d /data/database/#解壓(省略...)
[oracle@localhost src]$ unzip linux.x64_11gR2_database_2of2.zip -d /data/database/#解壓(省略...)
[oracle@localhost src]$ su root
Password:
[root@localhost src]# chown -R oracle:oinstall /data/database/database/
oracle安裝
登錄oracle用戶
通過圖形界面登錄oracle用戶
啟動oralce安裝
到/data/database/database/目錄下,執行./runInstaller按照步驟進行安裝
安裝中出現的問題
安裝過程中連接庫時,在進度68%時會出現兩個錯誤:
第一個:
/lib64/libstdc++.so中memcpy@GLIBC_2.4找不到。
問題:glibc是2.17的庫,連接找的是2.14的庫。
解決辦法:改成靜態鏈接。
查看 /usr/lib64/libc.a是否存在。
修改oracle安裝目錄下:ORACLEHOME/ctx/lib/insctx.mkctxhx:(CTXHXOBJ)(LINKCTXHX)(CTXHXOBJ) (INSOLINK)修改為:ctxhx:(CTXHXOBJ)-static (LINKCTXHX)(CTXHXOBJ) $(INSO_LINK) /usr/lib64/libc.a然後點擊retry通過。
第二個:
問題:undefinied reference symbol』B_DestroyKeyObject』,查看日誌,實際就是沒有找到nnz11這個庫。
解決辦法:
修改ORACLEHOME/sysman/lib/insemagent(MK_EMAGENT_NMECTL)修改為:
$(MK_EMAGENT_NMECTL) -lnnz11
然後點擊retry通過。

『柒』 centos7安裝oracle11g報錯,請問怎麼解

重新下載安裝看看。
1、win32_11gR2_database_1of2和win32_11gR2_database_2of2解壓到同個文件夾下合並(可以直接左鍵框住右鍵點擊一起解壓),打開運行其中的setup開始安裝,如圖所示
2、開始安裝前的准備
3、郵箱以及口令可以不寫,點擊下一步,出現提醒,直接點是即可
4、默認狀態,直接點擊「下一步」
5、默認狀態,直接點擊「下一步」
6、默認即可,管理口令一定要是大小寫字母跟數字組成的八位密碼才可
7、安裝需要佔用約2G的C盤空間,內存2G以上即可,如果不符合的話可以直接選擇全部忽略即可進行安裝(但是這樣做很容易造成計算機的系統破潰所以最好是在有充足的空間的時候再進行安裝)

『捌』 centos7上怎麼安裝oracle

CentOS 7 的環境為
$ uname -a
Linux oracle 3.10.0-123.13.1.el7.x86_64 #1 SMP Tue Dec 9 23:06:09 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
注意安裝的時候需要安裝一個桌面系統(X-Windows + KDE 或者 Gnome),否則安裝程序無法運行。

然後根據需要修改共享內存等等系統參數。這個也不寫了,網上有很多。不過據我的測試,CentOS7貌似不需要修改也是可以的,Oracle在進行安裝檢查的時候沒有報告問題(和以前的不一樣)。當然為了調優資料庫的性能,還是修改的好。

安裝gcc,因為後面Oracle link的時候會用到
yum install gcc
安裝結果為

[plain] view plain
gcc --version
gcc (GCC) 4.8.2 20140120 (Red Hat 4.8.2-16)
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for ing conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
(這里注意,因為Oracle需要的3.4和安裝的4.8的參數的區別,後面link會失敗,解決方法見後)
1. 下載,需要下載兩個文件
p10404530_112030_Linux-x86-64_1of7.zip

p10404530_112030_Linux-x86-64_2of7.zip

2. 解壓縮,把這兩個文件解壓到同一個目錄下
3. 運行installer。中間依賴檢查那一步,可以Skip。因為Oracle要檢查是否安裝了gcc,glibc等等比較老的版本(3.4)
4. 前面一切順利。到了Link那一步,出錯了。Log顯示
error in invoking target 'agent nmhs'

在網上查到了解決方案:

[plain] view plain
vi $ORACLE_HOME/sysman/lib/ins_emagent.mk
Search for the line
$(MK_EMAGENT_NMECTL)
Change it to:
$(MK_EMAGENT_NMECTL) -lnnz11
5. Retry重試。這就OK了。

6. 之後就沒啥問題了。正常安裝,執行root腳本,等等。
7. 安裝後重啟伺服器。
8. 重啟後,檢查oracle用戶的環境變數:

[plain] view plain
declare -x ORACLE_HOME="/home/oracle/app/oracle/proct/11.2.0/dbhome_1"
declare -x ORACLE_SID="orcl"
9. 進入$ORACLE_HOME/network/admin,檢查listener.ora:

[plain] view plain
[oracle@oracle admin]$ cat listener.ora
# listener.ora Network Configuration File: /home/oracle/app/oracle/proct/11.2.0/dbhome_1/network/admin/listener.ora
# Generated by Oracle configuration tools.

SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = orcl)
(ORACLE_HOME = /home/oracle/app/oracle/proct/11.2.0/dbhome_1)
)
)

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.16.33.212)(PORT = 1521))
)
)

ADR_BASE_LISTENER = /home/oracle/app/oracle

重點檢查其中的SID,HOST,PORT,ORACLE_HOME是否正確。如果不正確客戶端會報告ERROR-ORA-12514:TNS:監聽程序當前無法識別連接描述符中請求的服務 錯誤。
如果沒有問題,進入$ORACLE_HOME/bin,啟動監聽器:

[plain] view plain
[oracle@oracle bin]$ ./lsnrctl

LSNRCTL for Linux: Version 11.2.0.3.0 - Proction on 16-DEC-2014 11:22:03

Copyright (c) 1991, 2011, Oracle. All rights reserved.

Welcome to LSNRCTL, type "help" for information.
[plain] view plain
LSNRCTL> start
Starting /home/oracle/app/oracle/proct/11.2.0/dbhome_1/bin/tnslsnr: please wait...

TNSLSNR for Linux: Version 11.2.0.3.0 - Proction
System parameter file is /home/oracle/app/oracle/proct/11.2.0/dbhome_1/network/admin/listener.ora
Log messages written to /home/oracle/app/oracle/diag/tnslsnr/oracle/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.16.33.212)(PORT=1521)))

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.16.33.212)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.3.0 - Proction
Start Date 16-DEC-2014 11:22:07
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /home/oracle/app/oracle/proct/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /home/oracle/app/oracle/diag/tnslsnr/oracle/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.16.33.212)(PORT=1521)))
Services Summary...
Service "orcl" has 1 instance(s).
Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
LSNRCTL>
啟動正常,使用sqlplus啟動資料庫:

[plain] view plain
[oracle@oracle bin]$ ./sqlplus '/ as sysdba'
SQL> startup
ORACLE instance started.

Total System Global Area 960372736 bytes
Fixed Size 2234160 bytes
Variable Size 557844688 bytes
Database Buffers 394264576 bytes
Redo Buffers 6029312 bytes
Database mounted.
Database opened.

10. Centos7自帶了SELINUX,關掉

11. Centos7自帶了下一代防火牆firewalld,關掉,否則客戶端連接過來會報TNS Timeout異常

[plain] view plain
[root@oracle ~]# service firewalld stop
Redirecting to /bin/systemctl stop firewalld.service

現在其它機器就應該可以正常連接並使用Oracle了。
另:裝Oracle最省事的還是在Oracle自己的Enterprise Linux上安裝。那些依賴,系統參數,等等等都不需要設置了。

『玖』 centos7 安裝oracle11g需要多長時間

1、看你電腦或伺服器的性能和熟練程度,根據硬碟讀寫和cpu處理速度
2、./runInstaller 一般10分鍾即可完成。
3、dbca創建資料庫也就幾分鍾。

『拾』 Centos7 安裝Oracle 11g

修改一下參數