<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    Install Oracle 11g R2 on Ubuntu

    Ubuntu is not an official supported linux version from Oracle, so I still get some errors during the install process even with required configuration, anyway, it can work and what i'm doing here is try to setup an experiment environment, it's enough to me, any one who want to deploy Oracle in product mode should have supported linux platform like RedHat, OK, following is the steps i have to install it:

    1. If you were in multihomed enviroment, set the ORACLE_HOSTNAME variable:
        export ORACLE_HOSTNAME=machine_name.domain_name

    2. Create create OSDBA (dba) group, Oracle Inventory group (oinstall)  and a user "oracle" which has "dba" as its login group and oinstall as its 2nd group.

    3. Modify /etc/sysctl.conf, set kernel parameter:

    kernel.shmall = 2097152
    kernel
    .shmmax = 2147483648
    kernel
    .shmmni = 4096
    kernel
    .sem = 250 32000 100 128
    fs
    .file-max = 65536
    net
    .ipv4.ip_local_port_range = 1024 65000
    net
    .core.rmem_default = 1048576
    net
    .core.rmem_max = 1048576
    net
    .core.wmem_default = 262144
    net
    .core.wmem_max = 262144

    4. Modify /etc/security/limits.conf to improve the "number of process" and "number of open file"  performance for oracle:
    oracle              soft    nproc   2047
    oracle              hard    nproc   
    16384
    oracle              soft    nofile  
    1024
    oracle              hard    nofile  
    65536

    5. Modify /etc/pam.d/login, add:
    session    required     /lib/security/pam_limits.so
    session    required     pam_limits
    .so

    6. Modify /etc/profile:
    if [ $USER = "oracle" ]; then
            
    if [ $SHELL = "/bin/ksh" ]; then
                  ulimit 
    -16384
                  ulimit 
    -65536
            
    else
                  ulimit 
    -16384 -65536
            fi
    fi

    7. Change user to oracle if you haven't done it yet

    8. Create base directory, for me it's "/app/oracle"

    9. Export ORACLE_BASE, ORACLE_SID
    export ORACLE_BASE=/app/oracle
    export ORACLE_SID
    =orcl

    10.  If you're trying to install oracle with a X window:
    DISPLAY=your.ip.address:0.0 ; export DISPLAY

    11. run installer:
    ./runInstaller

    12. Oracle should start, if the installer GUI cannot be start, check the error messages, most time it's because a wrong X window configuration, if you are running X window with Xming, just like me, please do make sure to check the "No Access Control" check box in the launch, otherwise, Xming will reject the connection.

    13. Now the GUI shoudl open, like what you did in the Windows system, fullfill required value and click next, ingore all errors if there is any condition that is not match, click finish in the last step, it should start install process.

    14. After install oracle, the installer GUI will ask you to run two .sh files, run it with a root role.

    15. You can try to visit https://you.ip.address:1158/em to see is that OK for you.

    16. How to start oracle:
    export ORACLE_BASE=/app/oracle
    export ORACLE_HOME
    =/app/oracle/product/11.2.0/dbhome_1
    export ORACLE_OWNR
    =oracle
    export ORACLE_SID
    =orcl
    export PATH
    =$PATH:$ORACLE_HOME/bin


    lsnrctl start

    sqlplus 
    /nolog
    connect /as sysdba
    startup
    quit

    emctl start dbconsole


    Reference
    http://download.oracle.com/docs/cd/B19306_01/install.102/b15660/pre_install.htm#BABDFJAE

    posted on 2010-03-16 15:57 Find it, try it, experience it 閱讀(595) 評論(0)  編輯  收藏


    只有注冊用戶登錄后才能發表評論。


    網站導航:
     
    <2010年3月>
    28123456
    78910111213
    14151617181920
    21222324252627
    28293031123
    45678910

    導航

    統計

    公告

    If there is any question you have, please don't hesitate, let me know ASAP, you can find me at kenees@gmail.com or QQ: 9808873, hope to make friends with you ;)

    常用鏈接

    留言簿(1)

    隨筆檔案

    文章檔案

    搜索

    積分與排名

    最新評論

    閱讀排行榜

    評論排行榜

    主站蜘蛛池模板: 亚洲精品无码激情AV| 大陆一级毛片免费视频观看| 国产乱人免费视频| 久久久久久亚洲精品影院| 免费在线观看视频网站| 亚洲最新视频在线观看| 91制片厂制作传媒免费版樱花| 亚洲va中文字幕无码久久| 日本免费A级毛一片| 亚洲av无码专区国产乱码在线观看| 成人无码视频97免费| 国产亚洲欧洲精品| 午夜无码A级毛片免费视频| 伊人久久综在合线亚洲2019| 99久久99久久免费精品小说| 亚洲日本在线免费观看| 免费看污成人午夜网站| 美女视频黄免费亚洲| 日本黄色免费观看| 九九免费精品视频在这里| 久久青青草原亚洲av无码| 最好免费观看高清在线| 精品日韩亚洲AV无码| 无码一区二区三区AV免费| 亚洲爆乳AAA无码专区| 亚洲第一区精品观看| 国精产品一区一区三区免费视频 | 综合一区自拍亚洲综合图区| 国产成人免费永久播放视频平台| 男女超爽视频免费播放| 亚洲精品V欧洲精品V日韩精品 | 亚洲国产高清美女在线观看| 在线观看无码AV网站永久免费| 亚洲日韩精品无码专区加勒比☆| 四虎AV永久在线精品免费观看| 国产免费久久精品99久久| 亚洲av永久无码精品古装片| 免费99精品国产自在现线| 日本一区二区三区免费高清在线| 日本亚洲欧洲免费天堂午夜看片女人员 | 亚洲免费人成视频观看|