版權(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ì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 海外項(xiàng)目部培訓(xùn)
- 鎢絞絲加熱子制造工安全宣教考核試卷含答案
- 燈具裝配工安全規(guī)程模擬考核試卷含答案
- 溶解乙炔生產(chǎn)工操作技能知識(shí)考核試卷含答案
- 魚油提煉工崗前技術(shù)知識(shí)考核試卷含答案
- 酒店員工職務(wù)行為規(guī)范制度
- 酒店客房服務(wù)操作規(guī)范制度
- 濟(jì)南達(dá)人鋼琴培訓(xùn)計(jì)劃
- 中醫(yī)護(hù)理基礎(chǔ)理論
- 家電清洗培訓(xùn)協(xié)議書模板
- 江蘇省鹽城市大豐區(qū)四校聯(lián)考2025-2026學(xué)年七年級(jí)上學(xué)期12月月考?xì)v史試卷(含答案)
- 小學(xué)生飛機(jī)科普教學(xué)
- 美術(shù)館施工組織設(shè)計(jì)方案
- 2022-2023學(xué)年北京市延慶區(qū)八年級(jí)(上)期末數(shù)學(xué)試卷(含解析)
- 檔案數(shù)字化加工上墻制度
- 2026年黑龍江農(nóng)業(yè)經(jīng)濟(jì)職業(yè)學(xué)院單招綜合素質(zhì)考試參考題庫附答案詳解
- 干菌子委托加工協(xié)議書
- 中國肺癌合并肺結(jié)核臨床診療指南(2025版)
- 文化IP授權(quán)使用框架協(xié)議
- 2024年廣西壯族自治區(qū)公開遴選公務(wù)員筆試試題及答案解析(綜合類)
- 混凝土攪拌與運(yùn)輸信息化系統(tǒng)設(shè)計(jì)
評(píng)論
0/150
提交評(píng)論