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

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

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

    ivaneeo's blog

    自由的力量,自由的生活。

      BlogJava :: 首頁 :: 聯系 :: 聚合  :: 管理
      669 Posts :: 0 Stories :: 64 Comments :: 0 Trackbacks

    Install Oracle 64Bit On Ubuntu

    Creating A Listener For the New DB

    It's not a requirement to create a Listener before you create a database, but it's a good idea to do so. A Listener is a process which listens on a well-known port for requests from remote users seeking to connect to the Oracle database. Without one, therefore, you'd only ever be able to connect to the database whilst directly logged onto the server itself, which is obviously a bit of a show-stopper!

    To create a Listener, we use the Network Configuration Assistant. To invoke the Assistant, just issue the command netca (should be in path) as the oracle user in a new terminal session. Press "Next" to accept the defaults. After a bit you will get to "Finish" which is where you want to finish.

    netca

    Creating a Database

    First, find out the id of the oinstall group. You can find this from looking in System -> Admin -> Users and Groups -> Manage Groups. Alternatively, use:

    cat /etc/group | grep oinstall

    NB: The oinstall Group Id should be 1002 or similar. If the User/Group Applet is giving "0" then try double checking the Properties of the group. I've noticed that the Users/Groups Applet can be unreliable...

    Then, as root, perform the following command. (NB: This can't be performed by sudo, you must be root)

    echo "<dba_group_gid>" > /proc/sys/vm/hugetlb_shm_group

    This allows the oinstall group access to hugetlbpages. Without this you will get error "ORA-27125: unable to create shared memory segment" when setting up the database.

    Run the Database Configuration Assistant, or DBCA for short. You will need to be the Oracle user you set up earlier.

    dbca

    This is not a difficult thing to do: mostly, in our case, it involves clicking "Next" to walk through the wizard, accepting all defaults. You will be prompted when you actually need to enter something.

    Just be sure to specify the correct database name (it should match what is set as your ORACLE_SID, but with a proper domain extension. By default the ORACLE_SID is orcl10, and can be found out by running the oraenv command in the oracle bin directory...

    Use the password "oracle" for the password and write down the values it spits out at the end...!

    NB: If you get a "ORA-12547- Lost Contact" error, make sure you have libaio1installed (sudo apt-get install libaio1)...
    Well Done...!

    If it all went well you now have an Oracle Db on your machine. Pat yourself on the back for getting this far and sticking with it. You still have a way to go before its all installed but go and have some tea to celebrate...! And then go on to Part 2...
    Last Updated on Saturday, 16 January 2010 12:09

    posted on 2011-01-13 16:51 ivaneeo 閱讀(471) 評論(0)  編輯  收藏 所屬分類: oralce-為什么這么強大
    主站蜘蛛池模板: 国产一精品一av一免费爽爽| 国产va免费观看| 1000部国产成人免费视频| 亚洲国产精品人久久| 亚洲午夜免费视频| 亚洲综合激情视频| 日本h在线精品免费观看| 亚洲乱码一区av春药高潮| 日韩视频在线精品视频免费观看| 91在线亚洲精品专区| 无码区日韩特区永久免费系列| 亚洲永久中文字幕在线| 无码中文字幕av免费放| 国产亚洲精品bv在线观看| 日韩免费视频播播| 日韩在线一区二区三区免费视频| 亚洲一级特黄大片无码毛片| 中文字幕在线视频免费| 亚洲影院在线观看| 成年女人毛片免费播放视频m| 亚洲国产成人久久综合| 免费人成视网站在线观看不卡| 免费无码国产V片在线观看| 亚洲精品乱码久久久久久蜜桃不卡| 男女午夜24式免费视频| 亚洲毛片免费视频| 一本色道久久88亚洲综合| 99视频免费在线观看| 亚洲冬月枫中文字幕在线看| 国产视频精品免费| 在线观看免费无码视频| 亚洲免费福利视频| 亚洲日本中文字幕一区二区三区| 国产免费一区二区视频| 亚洲男人天堂2022| 77777亚洲午夜久久多人| 青娱分类视频精品免费2| h片在线播放免费高清| 亚洲免费一级视频| 国产亚洲情侣一区二区无| h视频在线观看免费网站|