<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 閱讀(477) 評論(0)  編輯  收藏 所屬分類: oralce-為什么這么強大
    主站蜘蛛池模板: 全部免费毛片在线| 免费观看黄网站在线播放| 亚洲电影日韩精品| 亚洲av无码专区在线电影天堂| 91精品免费在线观看| 亚洲w码欧洲s码免费| 免费视频专区一国产盗摄| 亚洲专区一路线二| 天天摸天天操免费播放小视频| 亚洲人成网亚洲欧洲无码| 国产视频精品免费| 免费国产a理论片| AV在线播放日韩亚洲欧| a级男女仿爱免费视频| 亚洲国产成人一区二区精品区 | 国产真实伦在线视频免费观看| 亚洲欧美成人一区二区三区| 在线观看无码的免费网站| 日韩欧美亚洲国产精品字幕久久久 | 污污免费在线观看| 亚洲区日韩区无码区| 久久国产精品成人免费| 亚洲欧洲日产韩国在线| 黄a大片av永久免费| 全黄A免费一级毛片| 久久精品国产亚洲| 国产人在线成免费视频| 男男gvh肉在线观看免费| 国产成人亚洲精品狼色在线 | 中文日韩亚洲欧美制服| 在线观看亚洲免费| a在线免费观看视频| 亚洲人成片在线观看| 国产免费69成人精品视频| a级毛片毛片免费观看久潮喷| 亚洲国产精品午夜电影| 国产一区二区免费在线| 四虎国产精品永久免费网址| 亚洲中文无码永久免| 国产亚洲综合久久系列| 在线免费观看一级毛片|