Linux System installs Oracle database

Source: Internet
Author: User

Linux System installation Oracle

Recently learned Oracle Database, the installation problem took a lot of time, online also consulted a lot of documents, at the same time, according to their own experience, summarize The installation steps of Oracle database

Experimental environment:RedHat 6.5 x86_64 Oracle 11g

A. Pre-installation Preparation

1) Check system and configuration requirements

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/76/17/wKioL1ZJ8QvyeuAWAAA5-9fpuO8647.png "style=" float: none; "title=" 1.PNG "alt=" Wkiol1zj8qvyeuawaaa5-9fpuo8647.png "/>

2) planning for hostname and IP, once the Oracle installation is complete, it is not recommended to modify the host name (this experiment hostname:orclsrv

IP:192.168.1.100)

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/76/19/wKiom1ZJ8LuwPqBWAAAa2wwHFng108.png "style=" float: none; "title=" 2.PNG "alt=" Wkiom1zj8luwpqbwaaaa2wwhfng108.png "/>

3) Create a running user for Oracle

Create a running user Oracle

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/76/19/wKiom1ZJ8LvgjriRAAA2ES9zCLI132.png "style=" float: none; "title=" 3.PNG "alt=" Wkiom1zj8lvgjriraaa2es9zcli132.png "/>

Create a base directory

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/76/17/wKioL1ZJ8QzR-5z8AAAO5EhH03o172.png "style=" float: none; "title=" 4.PNG "alt=" Wkiol1zj8qzr-5z8aaao5ehh03o172.png "/>

4) Adjust The environment configuration for Oracle users

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/76/17/wKioL1ZJ8QzisYtsAAAKmv1Lphs124.png "style=" float: none; "title=" 5.PNG "alt=" Wkiol1zj8qzisytsaaakmv1lphs124.png "/>

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/76/19/wKiom1ZJ8LzgWA3nAAA4xovhbVw360.png "style=" float: none; "title=" 6.PNG "alt=" Wkiom1zj8lzgwa3naaa4xovhbvw360.png "/>

5) Configure Oracle user resource limits

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/76/17/wKioL1ZJ8Q3x_wX8AAALeuet1vo615.png "style=" float: none; "title=" 7.PNG "alt=" Wkiol1zj8q3x_wx8aaaleuet1vo615.png "/>

Add to

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/76/19/wKiom1ZJ8L3ScIZAAAAKf5fyAvo176.png "style=" float: none; "title=" 8.PNG "alt=" Wkiom1zj8l3scizaaaakf5fyavo176.png "/>


650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/76/19/wKiom1ZJ8L2iuuWjAAALYtIyzZ4638.png "style=" float: none; "title=" 9.PNG "alt=" Wkiom1zj8l2iuuwjaaalytiyzz4638.png "/>

Add to

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/76/17/wKioL1ZJ8Q2ziUPsAAAWjmk472w055.png "style=" float: none; "title=" 10.PNG "alt=" Wkiol1zj8q2ziupsaaawjmk472w055.png "/>

6) because the Oracle installation environment requires some development components, yum installation is required to build the yum Environment First

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/76/19/wKiom1ZJ8L3jqSs7AAAL6PdPEJY744.png "style=" float: none; "title=" 11.PNG "alt=" Wkiom1zj8l3jqss7aaal6pdpejy744.png "/>

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/76/17/wKioL1ZJ8Q6iNZE9AAARcRyjPjc469.png "style=" float: none; "title=" 12.PNG "alt=" Wkiol1zj8q6inze9aaarcryjpjc469.png "/>

after the YUM build is complete, install the development components

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/76/19/wKiom1ZJ8L6h3F4hAAAaViwAmWQ951.png "style=" float: none; "title=" 13.PNG "alt=" Wkiom1zj8l6h3f4haaaaviwamwq951.png "/>

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/76/17/wKioL1ZJ8Q7zb2BpAAAr7Bxr5jE110.png "style=" float: none; "title=" 14.PNG "alt=" Wkiol1zj8q7zb2bpaaar7bxr5je110.png "/>

7) copy some packages that need to be installed to the host

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/76/17/wKioL1ZJ8Q_SUzzmAACd-aNmfoo061.png "style=" float: none; "title=" 15.PNG "alt=" Wkiol1zj8q_suzzmaacd-anmfoo061.png "/>

Installing Pdksh

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/76/17/wKioL1ZJ8RDiG4oBAAAPfK-BAUM898.png "style=" float: none; "title=" 19.PNG "alt=" Wkiol1zj8rdig4obaaapfk-baum898.png "/>

Install support Chinese Characters

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/76/19/wKiom1ZJ8MDBp7o_AAAcE8tVS3s262.png "style=" float: none; "title=" 20.PNG "alt=" Wkiom1zj8mdbp7o_aaace8tvs3s262.png "/>

8) Unzip the Oracle installation package

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/76/19/wKiom1ZJ8L-QRfyBAAAQUW_hVPQ009.png "style=" float: none; "title=" 16.PNG "alt=" Wkiom1zj8l-qrfybaaaquw_hvpq009.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/76/19/wKiom1ZJ8L_xkUSEAAAQXwa59jw989.png "style=" float: none; "title=" 17.PNG "alt=" Wkiom1zj8l_xkuseaaaqxwa59jw989.png "/>

After the decompression is complete, you can see a database directory in the ~oracle directory

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/76/17/wKioL1ZJ8Q-jm_sfAABP1Q0kZt4337.png "style=" float: none; "title=" 18.PNG "alt=" Wkiol1zj8q-jm_sfaabp1q0kzt4337.png "/>

The above step is the pre-installation of the Oracle database, the need to restart the host

two. installation steps for Oracle

Note: log on as an Oracle user after rebooting

1) Start Installation

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/76/19/wKiom1ZJ8MChucbfAABIhfx6Tbs409.png "style=" float: none; "title=" 21.PNG "alt=" Wkiom1zj8mchucbfaabihfx6tbs409.png "/>

2) Typical installation process

Lab Environment, it is recommended to leave the email address blank and cancel the "I hope to pass ... " check box

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/76/17/wKioL1ZJ8RGwVjkhAAESeasHiac844.png "style=" float: none; "title=" 22.PNG "alt=" Wkiol1zj8rgwvjkhaaeseashiac844.png "/>

New Installation advice Options " Create and configure a database "

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/76/17/wKioL1ZJ8RKCcYSyAADL2BZM3bY165.png "style=" float: none; "title=" 23.PNG "alt=" Wkiol1zj8rkccysyaadl2bzm3by165.png "/>


Experiment Environment Selection " Desktop Class " , the configuration requirements are not high, if the enterprise environment needs to choose " Server Class "

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/76/19/wKiom1ZJ8MLBSbvbAADpYfpWak4767.png "style=" float: none; "title=" 24.PNG "alt=" Wkiom1zj8mlbsbvbaadpyfpwak4767.png "/>


Typical installation only need to set the management password, the other default is not modified, if the password is too simple, the system will be prompted not to meet the criteria, click Continue to do

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/76/17/wKioL1ZJ8ROxWHyLAAEXG7eIFQg007.png "style=" float: none; "title=" 25.PNG "alt=" Wkiol1zj8roxwhylaaexg7eifqg007.png "/>


Create a product list, modify the inventory directory to " /opt/oracle/orainventory "

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/76/19/wKiom1ZJ8MOjDuSBAADpgkcFZHA275.png "style=" float: none; "title=" 26.PNG "alt=" Wkiom1zj8mojdusbaadpgkcfzha275.png "/>


There will be some failure prompts, click "Fix and Check Again"

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/76/19/wKiom1ZJ8MSA8rMzAAE4KfPIwQI380.png "style=" float: none; "title=" 27.PNG "alt=" Wkiom1zj8msa8rmzaae4kfpiwqi380.png "/>

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/76/17/wKioL1ZJ8RXRkn9jAAEaIcfhQxo888.png "style=" float: none; "title=" 28.PNG "alt=" Wkiol1zj8rxrkn9jaaeaicfhqxo888.png "/>

Follow the prompts to run the repair script as root on the other terminal

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/76/19/wKiom1ZJ8MXzFTUeAACNwCpp3F8276.png "style=" float: none; "title=" 29.PNG "alt=" Wkiom1zj8mxzftueaacnwcpp3f8276.png "/>

after the repair is complete, still prompt failed, click " Ignore All " , go to next

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/76/17/wKioL1ZJ8RbT68TGAAECJz9kD0Y956.png "style=" float: none; "title=" 30.PNG "alt=" Wkiol1zj8rbt68tgaaecjz9kd0y956.png "/>


Click Finish


650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/76/17/wKioL1ZJ8RfRM1ljAAEF8D9s7LQ581.png "style=" float: none; "title=" 31.PNG "alt=" Wkiol1zj8rfrm1ljaaef8d9s7lq581.png "/>

Start installation

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/76/19/wKiom1ZJ8MfDFFp-AAEhDizpN-0029.png "style=" float: none; "title=" 32.PNG "alt=" Wkiom1zj8mfdffp-aaehdizpn-0029.png "/>

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/76/17/wKioL1ZJ9Arx30XyAAEmpwSd_4U094.png "style=" float: none; "title=" 33.PNG "alt=" Wkiol1zj9arx30xyaaempwsd_4u094.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/76/19/wKiom1ZJ87rTQt2tAAFnYnbp72s597.png "style=" float: none; "title=" 34.PNG "alt=" Wkiom1zj87rtqt2taafnynbp72s597.png "/>

when this interface appears, click " Password Management " , unlock user SCOTT and click OK

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/76/17/wKioL1ZJ9AvCpkmYAABrehgw6o8218.png "style=" float: none; "title=" 35.PNG "alt=" Wkiol1zj9avcpkmyaabrehgw6o8218.png "/>

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/76/19/wKiom1ZJ87vwED9DAAADfJ_W6bs455.png "style=" float: none; "title=" 36.PNG "alt=" Wkiom1zj87vwed9daaadfj_w6bs455.png "/>



The "Execute Configuration Script" dialog box will also pop up.

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/76/19/wKiom1ZJ87uxr1BBAABPE2IWx-0516.png "style=" float: none; "title=" 37.PNG "alt=" Wkiom1zj87uxr1bbaabpe2iwx-0516.png "/>


Follow the prompts to run the configuration script as root on another terminal

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/76/17/wKioL1ZJ9AyR-R-8AAA4h-Jw4mg772.png "style=" float: none; "title=" 38.PNG "alt=" Wkiol1zj9ayr-r-8aaa4h-jw4mg772.png "/>

Database on Basic Installation complete

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/76/17/wKioL1ZJ9AzR2ykbAADQu2k7SlA119.png "style=" float: none; "title=" 39.PNG "alt=" Wkiol1zj9azr2ykbaadqu2k7sla119.png "/>


Verifying the installation Results

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/76/19/wKiom1ZJ87zihO5zAAAKf2BRdDs166.png "style=" float: none; "title=" 40.PNG "alt=" Wkiom1zj87ziho5zaaakf2brdds166.png "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/76/17/wKioL1ZJ9A2x0xp7AAAw0MMSYbg054.png "style=" float: none; "title=" 41.PNG "alt=" Wkiol1zj9a2x0xp7aaaw0mmsybg054.png "/>


The first sign-in will display the English interface, if you want to Chinese, you can log off the user, after re-login will display the Chinese language interface

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/76/19/wKiom1ZJ872wg8cGAAFBFxKG0_U786.png "style=" float: none; "title=" 42.PNG "alt=" Wkiom1zj872wg8cgaafbfxkg0_u786.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/76/17/wKioL1ZJ9A7RzH7rAADF47ymKQ8853.png "style=" float: none; "title=" 43.PNG "alt=" Wkiol1zj9a7rzh7raadf47ymkq8853.png "/>



































This article is from the "10319031" blog, please be sure to keep this source http://10329031.blog.51cto.com/10319031/1713309

Linux System installs Oracle database

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.