http://wmdata.com.cn/oracle/11g/index.html
Oracle11g从去年年底发布至今已经有一段时间了,我可以说也算首批体验Oracle11g的客户了吧,也许是对Oracle11g的太期待,所以他还没发布我就了解了好多好多Oracle11g的新特性和很多关于它的新技术,现对Oracle11g的安装作一下介绍,希望能对初学者或了解不深的客户有所帮助<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
我使用的OS版本是:OEL4
以下是引用片段: [oracle@ractestorcl]$cat/etc/redhat-release EnterpriseLinuxEnterpriseLinuxASrelease4(OctoberUpdate5) [oracle@ractestorcl]$cat/etc/enterprise-release EnterpriseLinuxEnterpriseLinuxASrelease4(OctoberUpdate5)
|
安装程序路径:
/mnt/Oracle11g_linux_x86_64/database
创建用户
以下是引用片段: groupadd-g1001dba groupadd-g1002oinstall useradd-u10000-gdba-Goinstall,dba-d/home/oracle-s/bin/bashoracle chown-Roracle:dba/home/oracle usermod-gdba-Goinstall,dbaoracle 使用的.bash_profile exportORACLE_BASE=/home/oracle exportORACLE_HOME=$ORACLE_BASE/11g exportORA_CRS_HOME=$ORACLE_BASE/crs exportORACLE_PATH=$ORACLE_BASE/common/oracle/sql:.:$ORACLE_HOME/rdbms/admin exportORACLE_SID=orcl1 exportPATH=$ORACLE_HOME/bin:$ORA_CRS_HOME/bin:${PATH}:$HOME/bin exportPATH=${PATH}:/usr/bin:/bin:/usr/bin/X11:/usr/local/bin exportPATH=${PATH}:$ORACLE_BASE/common/oracle/bin exportORACLE_TERM=xterm exportTNS_ADMIN=$ORACLE_HOME/network/admin exportORA_NLS10=$ORACLE_HOME/nls/data exportLD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/lib:/usr/lib:/usr/local/lib:$ORACLE_HOME/oracm/lib:$ORACLE_HOME/lib exportLIBPATH=$LIBPATH:$ORA_CRS_HOME/lib:$ORACLE_HOME/lib exportCLASSPATH=${CLASSPATH}:$ORACLE_HOME/rdbms/jlib:$ORACLE_HOME/jlib:$ORACLE_HOME/network/jlib:$ORACLE_HOME/JRE exportTHREADS_FLAG=native exportTEMP=/tmp exportTMPDIR=/tmp exportNLS_LANG=american_america.WE8ISO8859P1 exportDISPLAY=10.198.90.55:2 aliassysdba="sqlplus'/assysdba'" exportEDITOR=vi
|
修改的核心参数
以下是引用片段: kernel.shmall=2097152 kernel.shmmax=2147483648 kernel.shmmni=4096 kernel.sem=25032000100128 fs.file-max=65536 net.ipv4.ip_local_port_range=102465000 net.core.rmem_default=262144 net.core.wmem_default=262144 net.core.rmem_max=262144 net.core.wmem_max=262144
|
使用xclock检查display正确:
<?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /><shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"><stroke joinstyle="miter"></stroke><formulas><f eqn="if lineDrawn pixelLineWidth 0"></f><f eqn="sum @0 1 0"></f><f eqn="sum 0 0 @1"></f><f eqn="prod @2 1 2"></f><f eqn="prod @3 21600 pixelWidth"></f><f eqn="prod @3 21600 pixelHeight"></f><f eqn="sum @0 0 1"></f><f eqn="prod @6 1 2"></f><f eqn="prod @7 21600 pixelWidth"></f><f eqn="sum @8 21600 0"></f><f eqn="prod @7 21600 pixelHeight"></f><f eqn="sum @10 21600 0"></f></formulas><path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"></path><lock v:ext="edit" aspectratio="t"></lock></shapetype><shape id="_x0000_i1026" style="WIDTH: 184.5pt; HEIGHT: 185.25pt" type="#_x0000_t75" alt=""><imagedata src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image001.jpg" o:href="http://dev.yesky.com/imagelist/2007/194/267xr7cy7082.jpg"></imagedata></shape>
以下是引用片段: [oracle@ractest ~]$ xclock
[oracle@ractest ~]$ /mnt/Oracle11g_linux_x86_64/database
[oracle@ractest ~]$ cd /mnt/Oracle11g_linux_x86_64/database
[oracle@ractest database]$ ls -l
total 10
drwxr-xr-x4 1003 oinstall96 Mar 23 18:45 doc
drwxr-xr-x5 1003 oinstall 1024 Mar 23 18:45 install
drwxr-xr-x2 1003 oinstall 1024 Mar 23 18:45 response
-rwxr-xr-x1 1003 oinstall 1251 Mar 23 18:45 runInstaller
drwxr-xr-x12 1003 oinstall 1024 Mar 23 18:45 stage
-rw-r--r--1 1003 oinstall 4638 Mar 23 18:45 welcome.html
[oracle@ractest database]$ ./runInstaller
Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
Passed
All installer requirements met.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2007-06-28_02-26-12AM. Please wait ...[oracle@ractest database]$ Oracle Universal Installer, Version 11.1.0.2.0 Production
Copyright (C) 1999, 2007, Oracle. All rights reserved.
Oracle Universal Installer, Version 11.1.0.2.0 Production
Copyright (C) 1999, 2007, Oracle. All rights reserved.
启动图形以后选择ba
|
<shape id="_x0000_i1030" style="WIDTH: 375pt; HEIGHT: 293.25pt" type="#_x0000_t75" alt="点击放大此图片" o:button="t"><imagedata src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image002.jpg" o:href="http://dev.yesky.com/imagelist/2007/194/19k2742j19rgs.jpg"></imagedata></shape>
选择oracle base的时候,oracle不推荐使用user home作为oracle base,这里我选yes忽略
<shape id="_x0000_i1027" style="WIDTH: 375pt; HEIGHT: 292.5pt" type="#_x0000_t75" alt="点击放大此图片" o:button="t"><imagedata src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image003.jpg" o:href="http://dev.yesky.com/imagelist/2007/194/mh2l8f7n525js.jpg"></imagedata></shape>
进行prerequirements检查的时候,安装程序认为swap不足,我选择YES忽略
<shape id="_x0000_i1028" style="WIDTH: 375pt; HEIGHT: 295.5pt" type="#_x0000_t75" alt="点击放大此图片" o:button="t"><imagedata src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image004.jpg" o:href="http://dev.yesky.com/imagelist/2007/194/f9fh39u54v0qs.jpg"></imagedata></shape>
<shape id="_x0000_i1029" style="WIDTH: 375pt; HEIGHT: 296.25pt" type="#_x0000_t75" alt="点击放大此图片" o:button="t"><imagedata src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image005.jpg" o:href="http://dev.yesky.com/imagelist/2007/194/9b1d2d4081hrs.jpg"></imagedata></shape>
<shape id="_x0000_i1031" style="WIDTH: 375pt; HEIGHT: 296.25pt" type="#_x0000_t75" alt="点击放大此图片"><imagedata src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image006.jpg" o:href="http://dev.yesky.com/imagelist/2007/194/6hl3q5uv31qgs.jpg"></imagedata></shape>
<shape id="_x0000_i1032" style="WIDTH: 375pt; HEIGHT: 294.75pt" type="#_x0000_t75" alt="点击放大此图片" o:button="t"><imagedata src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image007.jpg" o:href="http://dev.yesky.com/imagelist/2007/194/q4d98065oqz5s.jpg"></imagedata></shape>
以下是引用片段: [oracle@ractest database]$
[oracle@ractest database]$ su - root
Password:
[root@ractest ~]# /home/oracle/oraInventory/orainstRoot.sh
Changing permissions of /home/oracle/oraInventory to 770.
Changing groupname of /home/oracle/oraInventory to dba.
The execution of the script is complete
[root@ractest ~]# /home/oracle/11g/root.sh
Running Oracle11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME=/home/oracle/11g
Enter the full pathname of the local bin directory: [/usr/local/bin]:
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...
Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
Finished product-specific root actions.
[root@ractest ~]#
|
<shape id="_x0000_i1033" style="WIDTH: 375pt; HEIGHT: 295.5pt" type="#_x0000_t75" alt="点击放大此图片" o:button="t"><imagedata src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image008.jpg" o:href="http://dev.yesky.com/imagelist/2007/194/yuy2767ay884s.jpg"></imagedata></shape>
<shape id="_x0000_i1025" style="WIDTH: 375pt; HEIGHT: 295.5pt" type="#_x0000_t75" alt="点击放大此图片" o:button="t"><imagedata src="file:///C:%5CDOCUME~1%5CADMINI~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image009.jpg" o:href="http://dev.yesky.com/imagelist/2007/194/1bv547w43al7s.jpg"></imagedata></shape>
通过这个例子你可以十分清楚的了解Oracle11g的安装过程,诸多惊喜尽在Oracle11g,赶快加入我们的Oracle11g应用行列吧。
分享到:
相关推荐
环境:CentOS CentOS release 6.5 (Final) 64bite oracle版本:ORACLE 11G R2.0.4 64bite
里面有详细的安装步骤,以及下载地址!.......................
oracle 10g安装步骤详解 精心整理
本文按步骤详解数据库Oracle 11g的基本安装。
oracle安装详解,11g的有十分详细的图解步骤,只要按照步骤操作一定可以安装成功。
Oracle 11g数据库 安装部署 在linux Redhat6.5环境下图文介绍安装步骤流程。
oracle10g安装详解,很详细的步骤哦
NULL 博文链接:https://lsx125920.iteye.com/blog/720210
在win7中安装oracle 10g数据库的步骤,和互联网上的朋友们相互学习,
在linux(redHat6.3 64bits+oracle11g 64bits)下安装oracle11g,详细的步骤和常出现错误解决方法
文件是在LINUX下面安装oracle11G的详细教程,里面详细描述了安装步骤,并对一些问题进行的详解
Oracle10g数据泵操作步骤详解 用数据泵导出可提高数据库导入导出性能
Centos上Oracle11G的安装过程中linux的配置,Oracle环境配置部署,Oracle安装详解。
包括了oracle从下载,到安装中的详细步骤,每一步都有详细的图文说明,由自己亲手整理的,不是所谓的复制粘贴,希望能帮助到大家。
SUSE10下安装ORACLE10G详解,有详细的安装SUSE到配置网络等步骤
主要介绍了分享Oracle 11G Client 客户端安装步骤(图文详解),非常具有实用价值,需要的朋友可以参考下。
介绍了在centos7.x系统下安装oracle11gR2的详细步骤和方法(图文并茂),以及使用到的工具。
下文重点给大家介绍Oracle 11g服务器安装详细步骤图文详解,具体内容如下所示: 1.大家可以根据自己的操作系统是多少位(32位或64位)的,到官网下载相应的安装程序,如下图所示。 有一点需要注意,Oracle的安装...
该文档有助于初学者进行Oracle 10g的安装,内有图解,很详细,对于初学者来说是很好的教程
Oracle10g for redhat 安装(图文详解),详细介绍安装过程中的注意事项。