2024CentOS 7 安裝 Oracle 11.2.0手冊(cè)指南_第1頁
2024CentOS 7 安裝 Oracle 11.2.0手冊(cè)指南_第2頁
2024CentOS 7 安裝 Oracle 11.2.0手冊(cè)指南_第3頁
2024CentOS 7 安裝 Oracle 11.2.0手冊(cè)指南_第4頁
2024CentOS 7 安裝 Oracle 11.2.0手冊(cè)指南_第5頁
已閱讀5頁,還剩28頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

CentOS7安裝OracleCentOS7安裝OracleCentOSLinuxrelease7.2.1511(Core)OracleDatabase11gRelease)[root@xqzt~]#[root@xqzt~]#hostnamectlset-hostnameoracledb[root@xqzt~]#vi/etc/sysconfig/networkHOSTNAME=oracledb[root@xqzt~]#hostname添加主機(jī)名與IP[root@xqzt[root@xqzt~]#vi/etc/hosts0oracledb關(guān)閉[root@oracledb[root@oracledb~]#sed-i"s/SELINUX=enforcing/SELINUX=disabled/"/etc/selinux/config[root@oracledb~]#setenforce0firewall開啟1521[root@sdba[root@sdba~]#firewall-cmd--permanent--zone=public--add-port=1521/tcp[root@sdba~]#firewall-cmd--reload1GBofRAMBetween1GBand21.5timesthesizeofBetween2GBand16EqualtothesizeofMorethan1616InstallationRequirementforSoftwareFilesEnterpriseStandardInstallationRequirementforDataFilesEnterpriseStandardgrepgrepMemTotal/proc/meminfogrepSwapTotal/proc/meminfodf-通過查看Oracle安裝文檔中列出的PackageRequirementspackagesforOracleLinuxOnOracleLinux6,RedHatEnterpriseLinux6,andAsianuxServerunixODBC-2.3.1-6.el7.x86_64orlaterunixODBC-2.3.1-6.el7.i686orlaterunixODBC-devel-2.3.1-6.el7.x86_64unixODBC-2.3.1-6.el7.x86_64orlaterunixODBC-2.3.1-6.el7.i686orlaterunixODBC-devel-2.3.1-6.el7.x86_64orlaterunixODBC-devel-2.3.1-6.el7.i686orlateryum-yinstallyum-yinstallyum-yinstallcompat-yuminstall-ygccgcc-c++glibc.i686glibc.x86_64glibc-devel.i686glibc-devel.x86_64yuminstall-ylibaio.i686libaio.x86_64libaio-devel.i686libaio-devel.x86_64yumyuminstall-ylibgcc.i686libgcc.x86_64libstdc++.i686libstdc++.x86_64libstdc++-devel.i686yuminstall-ylibXi.i686libXi.x86_64libXtst.i686 yuminstall-ymakeyuminstall-yyuminstall-yunixODBC.i686unixODBC.x86_64unixODBC-devel.i686unixODBC-ksh無用yuminstall-yksh需要安裝pdksh,另外還需要安裝elfutils-libelf-wgetwget/centos/5/os/x86_64/CentOS/pdksh-5.2.14-37.el5_8.1.x86_64.rpmrpm-ivhpdksh-5.2.14-37.el5_8.1.x86_64.rpmyuminstall-yelfutils-libelf-否則會(huì)提示缺少[root@oracledb~]#groupadd-g200[root@oracledb~]#groupadd-g200[root@oracledb~]#vi[root@oracledb~]#vinet.ipv4.ip_local_port_range=9000fs.file-max=kernel.sem=25032000100fs.aio-max-nr=1048576[root@oracledb~]#groupadd-g201[root@oracledb~]#useradd-u440-goinstall-Gdba-d/home/oracle[root@oracledb~]#useradd-u440-goinstall-Gdba-d/home/oracle[root@oracledb~]#passwd[root@oracledb~]#sysctl-[root@oracledb~]#sysctl-~]# [root@oracledb~]#viif[$USER="oracle"];[root@oracledb~]#viif[$USER="oracle"];if[$SHELL="/bin/ksh"];thenulimit-p16384ulimit-nulimit-nulimit-u16384-n[root@oracledb~]#vi[root@oracledb~]#vi #下面添加一條[oracle@oracledb/]$tree[oracle@oracledb/]$tree└──├──└──[root@oracledb~]#mkdir–p/u01/oracle[root@oracledb[root@oracledb~]#mkdir–p/u01/oracle[root@oracledb~]#chown–Roracle:oinstall/u01oracle[root@localhost~]#su-oracle[oracle@localhost~]$chmod755/u01/oracle[oracle@localhost~]$mkdir/u01/oracle/app[oracle@localhost~]$[root@localhost~]#su-oracle[oracle@localhost~]$chmod755/u01/oracle[oracle@localhost~]$mkdir/u01/oracle/app[oracle@localhost~]$chmod755/u01/oracle/app/[oracle@localhost~]$mkdir/u01/oracle/oradata[oracle@localhost~]$chmod755/u01/oracle/oradata/[oracle@localhost~]$vi./.bash_profileumask022export[oracle@oracledb~]$vi[oracle@oracledb~]$viexportexportORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1exportPATH=$PATH:$ORACLE_HOME/binexport[oracle@oracledb~]$source.bash_profile三、安裝OracleI:\>pscpI:\>pscpr"oracledatabase"oracle@服務(wù)器IP:/u01oracle@3'spassword:p13390677_112040_Linux-p13390677_112040_Linux-p13390677_112040_Linux-p13390677_112040_Linux-p13390677_112040_Linux-p13390677_112040_Linux-p13390677_112040_Linux-unzipp13390677_112040_Linux-x86-64_1of7.zipunzipp13390677_112040_Linux-x86-unzipp13390677_112040_Linux-x86-64_1of7.zipunzipp13390677_112040_Linux-x86-64_2of7.zipunzipp13390677_112040_Linux-x86-64_3of7.zipunzipp13390677_112040_Linux-x86-64_4of7.zipunzipp13390677_112040_Linux-x86-64_5of7.zipunzipp13390677_112040_Linux-x86-64_6of7.zipunzipp13390677_112040_Linux-x86-yuminstalltigervnc-yuminstalltigervnc-[root@oracledb[root@oracledb~]#firewall-cmd--permanent--zone=public--add-port=5901/tcp[root@oracledb~]#firewall-cmd--reload輸入郵件地址及密碼(oracle用戶),以從oralceEnterprise指定OracleBaseSoftwareLocationoracle用戶的profile文件里已設(shè)置此環(huán)境變量,此處保持設(shè)置默認(rèn)編碼為:選項(xiàng)缺失或無效]指定oralce接下來,oralce安裝完缺少的package顯示安裝信息如下。直接Finish靜待oracle[root@oracledboracle]#/usr/oracle/oraInventory/orainstRoot.sh[root@oracledboracle]#至此oracle11gR2[oracle@oracledboracle]$vi[oracle@oracledboracle]$viexportexportORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1exportPATH=$PATH:$ORACLE_HOME/binexportfirewall-cmdfirewall-cmd--permanent--zone=public--add-port=80/tcpfirewall-cmd--permanent--zone=public--remove-port=80/tcpfirewal

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論