<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无码AV男人的天堂不卡| 91九色视频无限观看免费| 亚洲另类古典武侠| 啦啦啦在线免费视频| 四虎影视久久久免费观看| 曰韩亚洲av人人夜夜澡人人爽 | 亚洲性日韩精品一区二区三区| 国产精品免费看久久久香蕉| 亚洲伊人久久大香线蕉苏妲己| 亚洲国产精品免费观看| 亚洲AV无码专区在线观看成人| 亚洲国产一区明星换脸| 免费国产黄网站在线观看| 国产成人久久精品亚洲小说| 国产亚洲一区二区手机在线观看| 午夜精品射精入后重之免费观看 | 国产AV无码专区亚洲AVJULIA| 永久久久免费浮力影院| 91成人在线免费观看| 国产免费爽爽视频在线观看| 久久久久久久国产免费看| 看Aⅴ免费毛片手机播放| 亚洲AV无码久久| 国产乱子影视频上线免费观看| 久久精品免费电影| 国产精品1024在线永久免费| 中文字幕在线观看亚洲日韩| 亚洲精品福利网站| 亚洲av无码不卡| 国产亚洲3p无码一区二区| 在线a亚洲v天堂网2018| 日韩毛片无码永久免费看| 免费福利视频导航| 亚洲高清视频免费| 免费在线视频你懂的| 国产成人精品免费视频大| 人与禽交免费网站视频| 99在线观看精品免费99| 日韩免费高清大片在线|