安裝平台centos6.5 + oracle 11g

來源:互聯網
上載者:User

標籤:oracle 11g 安裝

安裝平台centos6.5  + oracle 11g
聲明:本文為自己筆記整理,非完整安裝步驟,僅供參考;;;;
步驟一:指定主機名稱和規劃IP地址(需重啟系統)
    主機名稱:xyhdb   修改#vim /etc/hosts檔案  添加xyhdb xyhdb.xyh
    系統IP地址:ip 192.168.0.233/24  網關X.1 #setup


建立相關檔案夾和oracle使用者
groupadd oinstall
groupadd dba
useradd -g oinstall -G dba oracle
mkdir -p /u01/app
mkdir /u01/oradata
mkdir /u01/oraInventory
chown -R oracle:oinstall /u01/app/
chown -R oracle:oinstall /u01/oradata
chown -R oracle:oinstall /u01/oraInventory
chmod -R 775 /u01/app/
chmod -R 775 /u01/oradata
passwd oracle



================================================
添加環境變數:修改/home/oracle目錄下的.bash_profile
export ORACLE_BASE=/u01/app
export ORACLE_HOME=$ORACLE_BASE/oracle/product/11.2/db_home
export PATH=$ORACLE_HOME/bin:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
export ORACLE_SID=orcl



使用root賬戶修改參數
Add the following lines to the "/etc/security/limits.conf" file.
oracle              soft    nproc   2047
oracle              hard    nproc   16384
oracle              soft    nofile  4096
oracle              hard    nofile  65536
oracle              soft    stack   10240

==============================================================
使用oracle賬戶解壓資料庫檔案
unzip p13390677_112040_Linux-x86-64_1of7.zip
unzip p13390677_112040_Linux-x86-64_2of7.zip
啟動安裝命令[[email protected] database]$ ./runInstaller
==============================================================
yum安裝軟體包
yum install gcc gcc-c++ libaio-devel compat-libstdc++ libstdc++-devel -y

rpm
rpm -ivh compat-libstdc++-33-3.2.3-69.el6.x86_64.rpm
rpm -ivh pdksh-5.2.14-30.x86_64.rpm


----------------------------------------------------------------------------------
其它相關命令:

dbca   建立資料庫
netca    配置監聽
lsnrctl status 查看監聽狀態

本文出自 “信諾” 部落格,請務必保留此出處http://xinnuo.blog.51cto.com/4132978/1792182

安裝平台centos6.5 + oracle 11g

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.