CentOS-6.7 under Installation oracle11g

Source: Internet
Author: User

Detailed installation details can be found in the ORACLE11G official documentation (install.112/e24324/toc.html), where only a few major steps are recorded.

(1) Check the hardware

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/74/1B/wKioL1YUngnxXfoEAAKrV3lPkA4440.jpg "style=" float: none; "title=" memory required. png "alt=" wkiol1yungnxxfoeaakrv3lpka4440.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/74/1E/wKiom1YUnfOwBZtMAAFXUKKlyXw655.jpg "style=" float: none; the "title=" kernel requires a. png "alt=" wkiom1yunfowbztmaafxukklyxw655.jpg "/>


(2) Check the installation package

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/74/1B/wKioL1YUnyjyvBlBAAElJdWFXGM934.jpg "style=" float: none; "title=" kernel version. png "alt=" wkiol1yunyjyvblbaaeljdwfxgm934.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/74/1E/wKiom1YUnxOTcibaAAEnugt8_vI465.jpg "style=" float: none; the "title=" package requires a. png "alt=" wkiom1yunxotcibaaaenugt8_vi465.jpg "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/74/1B/wKioL1YUn8_hH4vSAAEnvXW0UhA704.jpg "title=" Rpm-1.png "alt=" Wkiol1yun8_hh4vsaaenvxw0uha704.jpg "/>

The missing package is installed with Yum, where the Pdksh package does not appear to be in the Yum source, it needs to be manually downloaded and installed
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/74/1B/wKioL1YUodSBUBlHAAAc2owBjTw243.jpg "title=" 2015-10-07_123805.png "alt=" Wkiol1yuodsbublhaaac2owbjtw243.jpg "/>

In addition to the above packages, install UNIXODBC and Unixodbc-devel

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/74/1E/wKiom1YUopvgrd8GAAEhd_Rl1gI986.jpg "title=" ODBC requires. png "alt=" wkiom1yuopvgrd8gaaehd_rl1gi986.jpg "/>

(3) Create groups and users

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/74/1E/wKiom1YUoriTLCn0AAK8KA-yFY0036.jpg "title=" Group requires. png "alt=" wkiom1yuoritlcn0aak8ka-yfy0036.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/74/1B/wKioL1YUowbAyyMQAAEXpGoLCpo545.jpg "title=" 07.png "alt=" Wkiol1yuowbayymqaaexpgolcpo545.jpg "/>

The password for the Oracle user set here is Oracle

(4) Configuring resource Limits

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/74/1E/wKiom1YUpQGhKJS5AAKSDcWKJUo850.jpg "title=" 360 Feedback 16591010303225.png "alt=" Wkiom1yupqghkjs5aaksdcwkjuo850.jpg "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/74/1E/wKiom1YUo17TWdBgAAHyzMxnNm4429.jpg "title=" Resource limits. png "alt=" wkiom1yuo17twdbgaahyzmxnnm4429.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/74/1E/wKiom1YUo7fwqNjMAACdJWFPCck074.jpg "title=" 08.png "alt=" Wkiom1yuo7fwqnjmaacdjwfpcck074.jpg "/>

Edit the/etc/sysctl.conf file to append the following content to the end of the file

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/74/1B/wKioL1YUpheRNVquAAE6deGban8654.jpg "title=" 2015-10-07_125600.png "alt=" Wkiol1yuphernvquaae6degban8654.jpg "/>

Then execute the sysctl-p command to make it effective

Next, edit the/etc/security/limits.conf file to append the following to the end of the file

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/74/1E/wKiom1YUpp2gQJxbAABtLWZ2Wt4184.jpg "title=" 09.png "alt=" Wkiom1yupp2gqjxbaabtlwz2wt4184.jpg "/>

(5) Create a directory

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/74/1B/wKioL1YUpy2TlS0zAAB2vfJgjP0387.jpg "title=" 10.png "alt=" Wkiol1yupy2tls0zaab2vfjgjp0387.jpg "/>

(6) Install the graphical interface (not required)

Because the graphical interface is used to install Oracle, a graphical interface is required.

Execute the following command:

Yum groupinstall "X window System"

Yum Groupinstall Desktop

(7) Setting display environment variables

Can Baidu search "Linux DISPLAY variable Settings "

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/74/1E/wKiom1YUrFuAqLGRAAKo3JEzejg801.jpg "title=" 360 Feedback 163301128514098.png "alt=" Wkiom1yurfuaqlgraako3jezejg801.jpg "/>


For setting the display environment variable, I did not succeed for a long time, simply gave up.

The simplest way is to start the graphical interface and then open a command-line window in the graphical interface, and all subsequent installation operations are

This window so that you do not have to set the display environment variable.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/74/1E/wKiom1YUrbvB_d3MAAA_-CZ6AlA237.jpg "style=" float: none; "title=" 2015-10-07_132727.png "alt=" Wkiom1yurbvb_d3maaa_-cz6ala237.jpg "/>


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/74/1E/wKiom1YUrbujFnhqAACeyvOHSNw582.jpg "style=" float: none; "title=" 2015-10-07_132818.png "alt=" Wkiom1yurbujfnhqaaceyvohsnw582.jpg "/>

(8) The final preparatory work

Download the oracle11g installation file, merge the files from the two compressed packages into a single folder, and copy them to the virtual machine.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/74/1C/wKioL1YUrqrTK-6wAAA1SDFmJek175.jpg "title=" 14.png "alt=" Wkiol1yurqrtk-6waaa1sdfmjek175.jpg "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/74/1E/wKiom1YUrsPBjhv4AAANGjYJ_oY464.jpg "title=" 2015-10-07_133341.png "alt=" Wkiom1yurspbjhv4aaangjyj_oy464.jpg "/>


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/74/1E/wKiom1YUryHALftyAAAtLEqmCb4039.jpg "title=" 15.png "alt=" Wkiom1yuryhalftyaaatleqmcb4039.jpg "/>

(9) Installation oracle11g

Execute the following command in the command-line window of the graphical interface:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/74/1C/wKioL1YUr5XhP3rQAAA-QLS4Trc430.jpg "title=" 17.png "alt=" Wkiol1yur5xhp3rqaaa-qls4trc430.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/74/1C/wKioL1YUw9mD7sAEAAHCDn4Uxog529.jpg "style=" float: none; "title=" 1.png "alt=" Wkiol1yuw9md7saeaahcdn4uxog529.jpg "/>


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/74/1F/wKiom1YUw8OBOCq1AAFsoFz7nUE690.jpg "style=" float: none; "title=" 2.png "alt=" Wkiom1yuw8obocq1aafsofz7nue690.jpg "/>


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/74/1C/wKioL1YUw9mCFWY2AAHKyFTYfBc968.jpg "style=" float: none; "title=" 3.png "alt=" Wkiol1yuw9mcfwy2aahkyftyfbc968.jpg "/>


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/74/1F/wKiom1YUw8SjbJaTAAKHWLoJwX4466.jpg "style=" float: none; "title=" 4.png "alt=" Wkiom1yuw8sjbjataakhwlojwx4466.jpg "/>


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/74/1C/wKioL1YUw9my58g_AACoV96Y4s0917.jpg "style=" float: none; "title=" 5.png "alt=" Wkiol1yuw9my58g_aacov96y4s0917.jpg "/>


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/74/1F/wKiom1YUw8SzOpaOAAI7ybyiCAo644.jpg "style=" float: none; "title=" 6.png "alt=" Wkiom1yuw8szopaoaai7ybyicao644.jpg "/>


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/74/1C/wKioL1YUw9qBqat6AAN9mtsQ8GM379.jpg "style=" float: none; "title=" 7.png "alt=" Wkiol1yuw9qbqat6aan9mtsq8gm379.jpg "/>


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/74/1F/wKiom1YUw8WRBO6lAAIdiYttBgY262.jpg "style=" float: none; "title=" 8.png "alt=" Wkiom1yuw8wrbo6laaidiyttbgy262.jpg "/>


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/74/1C/wKioL1YUw9uwxnp1AAGedhctd2w588.jpg "style=" float: none; "title=" 9.png "alt=" Wkiol1yuw9uwxnp1aagedhctd2w588.jpg "/>


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/74/1F/wKiom1YUw8Xh3JfoAALtrOsEKVc793.jpg "style=" float: none; "title=" 10.png "alt=" Wkiom1yuw8xh3jfoaaltrosekvc793.jpg "/>


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/74/1C/wKioL1YUw9uAou81AAIoa3L0az0966.jpg "style=" float: none; "title=" 11.png "alt=" Wkiol1yuw9uaou81aaioa3l0az0966.jpg "/>


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/74/1F/wKiom1YUw8aTOQIMAAUO7F-baKg367.jpg "style=" float: none; "title=" 12.png "alt=" Wkiom1yuw8atoqimaauo7f-bakg367.jpg "/>


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/74/1C/wKioL1YUw9zBOCrAAAFGWMTGVp8916.jpg "style=" float: none; "title=" 13.png "alt=" Wkiol1yuw9zbocraaafgwmtgvp8916.jpg "/>


Edit. Bash_profile Setting Environment variables

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/74/1F/wKiom1YUw8bi-G_HAAA9g5cPMcE338.jpg "style=" float: none; "title=" 2015-10-07_143319.png "alt=" Wkiom1yuw8bi-g_haaa9g5cpmce338.jpg "/>


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/74/1C/wKioL1YUw9yxaeq6AAHJGaM6zWk776.jpg "style=" float: none; "title=" 2015-10-07_143628.png "alt=" Wkiol1yuw9yxaeq6aahjgam6zwk776.jpg "/>

(10) database startup and shutdown

Start monitoring: Lsnrctl start

Stop listening: Lsnrctl stop

View listening status: Lsnrctl status

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/74/1F/wKiom1YUw8aDtkprAAVy8PXkq08233.jpg "style=" float: none; "title=" 2015-10-07_143833.png "alt=" Wkiom1yuw8adtkpraavy8pxkq08233.jpg "/>

Close database: Shutdown immediate

Startup database: Sqlplus/as SYSDBA

Startup

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/74/1C/wKioL1YUykrxS-1NAAB8q0eeCe8123.jpg "style=" float: none; "title=" 2015-10-07_150950.png "alt=" Wkiol1yuykrxs-1naab8q0eece8123.jpg "/>


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/74/1F/wKiom1YUyjXBFhByAAKYN3vfbZk556.jpg "style=" float: none; "title=" 2015-10-07_151443.png "alt=" Wkiom1yuyjxbfhbyaakyn3vfbzk556.jpg "/>


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/74/1C/wKioL1YUykrTPeg9AAD-tvomSds555.jpg "style=" float: none; "title=" 2015-10-07_151722.png "alt=" Wkiol1yuykrtpeg9aad-tvomsds555.jpg "/>

Another way to start and shut down a database is Dbstart and Dbshut

$oralce_home/dbstart and $oracle_home/dbshut in two footstep files, respectively.

Oracle_home_listner=$1 changed to oracle_home_listner= $ORACLE _home

at the same time, the/etc/oratab file orcl:/u01/app/oracle/product/11.2.0/dbhome_1:n

Change into Orcl:/u01/app/oracle/product/11.2.0/dbhome_1:y

At this point, running Dbstart and Dbshut will successfully start shutting down the database.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/74/1F/wKiom1YUzHOx8nMDAAF3sCNJ2YI673.jpg "title=" 2015-10-07_154027.png "alt=" Wkiom1yuzhox8nmdaaf3scnj2yi673.jpg "/>

View the database character set

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/74/1C/wKioL1YU0gqxjMciAAPG5Rn_F0M643.jpg "title=" 2015-10-07_160339.png "alt=" Wkiol1yu0gqxjmciaapg5rn_f0m643.jpg "/>

Em

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/74/1C/wKioL1YU19Pgv4zQAAI6uYkJt5Q012.jpg "title=" 2015-10-07_161645.png "alt=" Wkiol1yu19pgv4zqaai6uykjt5q012.jpg "/>

(11) Delete the graphical interface (optional)

Yum Groupremove Desktop

Yum groupremove "X window System"



This article is from the "ten-li Rice flower" blog, please be sure to keep this source http://5880861.blog.51cto.com/5870861/1700620

CentOS-6.7 under Installation oracle11g

Related Article

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.