e股脑电脑教程网
  • 首 页
  • 操作系统
  • 应用软件
  • 下载工具
  • 影音视频
  • 办公软件
  • 媒体制作
  • 网站建设
  • 平面设计
  • 数据库
  • 程序开发
  • 视频教程
编辑推荐: | 文章搜索:
您现在的位置: e股脑 >> 数据库 >> Oracle教程 >> Install Oracle on Solaris 8/9/10 >> 教程正文
 
教程搜索
 
 
相关教程
  • 用Oracle 10g列值掩码技术隐藏敏感数据
  • ORACLE常用Script
  • OracleSupport全球解答的最hot的21个问
  • Oracle 中的OOP概念
  • 过程,函数,程序包
  • 异常和游标管理
  • 集合和成员函数
  • Oracle10gR2安裝
  • SQL 的高级应用
  • Install Oracle on Solaris 8/9/10
  • Install Oracle9 on RedHat
  • Start Console on Oracle9i VS Oracle
  • oracle自动imp脚本
  • Oracle9i连接sybase的透明网关的配置
  • 用裸设备来提高Oracle数据库的性能
  • 从Oracle迁移到SQL Server的陷阱
 
 

图文教程


  • Windows抢了谁的饭碗 非主流操作系统To

  • 地球还是火星 平常心看“非主流”

  • 综合运用Office 2007批量制作奖状

  • 没有系统盘如何才能修复受损系统?

  • 巧妙运用Excel中边界的附加功能!
 
 
赞 助 商
 
 
Install Oracle on Solaris 8/9/10
  • 来源:e股脑
  • 点击次数:
  • 更新时间:2007-8-9
Create a UNIX user and use these settings (This user will called Oracle User in this document and used "oracle" as a sample):

username

oracle

Primary Group

dba

Secondary Groups

oinstall

Login Shell

/usr/bin/sh

(In this document, Bourne Shell will be used as shell. If you choose another, you have to make modification to environment according to your shell)

Home Directory

/export/home/oracle

Create Home Dir

Make sure It is checked

Password

At least 8 Characters length

If you want to use command line type the following:

#groupadd dba#groupadd oinstall#useradd -g dba -G oinstall -d /export/home/oracle -m -s /bin/sh oracle#passwd oracle

5-) Create a directory named "/opt/oracle" in the root directory (or where you want) to become the base and others for Oracle Database as follows

mkdir -p /opt/oracle/product/8.1.7 mkdir -p /opt/oracle/oraInventory

Now you need to grant this directory for user "oracle" to install and manage Oracle database. Make the user "oracle" owner of this directory as follows;

chown -R oracle:dba /opt/oracle


"Oracle Universal Installer " will make other sub-directories automatically in this base directory except where the database files ("oradata" directory) would reside. Installer will ask you this diectory's location.

Now create another "oracle" directory in the "/var/opt" for your database's startup options file (called "oratab") and make the user "oracle" of this directory, too, as follows:

mkdir /var/opt/oracle chown -R oracle:dba /var/opt/oracle

6-) You need to login as "Oracle User" to the system. So, logout and login as user "oracle" to system again.

TASKS TO PERFORM BY "ORACLE USER"

1-) You, logged as Oracle User named "oracle", need to make some modifications to your environment variables to run "Oracle Universal Installer " for installing and managing Oracle Database.

If you choose "/export/home/oracle" directory as home and Bourne Shell as login shell while creating user "oracle", you have a hidden file named ".profile" in "/export/home/oracle" directory. Open this file and replace the PATH string by following:

PATH=/bin:/usr/bin:/usr/openwin/bin:/usr/sbin:/usr/ccs/bin:/sbin:/opt/oracle/product/8.1.7/bin:PATH=$PATH:/usr/local/bin:/opt/oracle/admin/bin:.


Go to the bottom of the "export PATH" string and insert these rows below:

ADMIN_HOME=/opt/oracle/adminDISPLAY=localhost:0.0LD_LIBRARY_PATH=/usr/lib:/usr/openwin/lib:/opt/oracle/product/8.1.7/lib:LOCAL_HOME=/usr/localMSGVERB=text:actionNOMSGLABEL=1NOMSGSEVERITY=1ORACLE_BASE=/opt/oracleORACLE_HOME=/opt/oracle/product/8.1.7NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1 #for English#NLS_LANG=TURKISH_TURKEY.WE8ISO8859P9 #for TurkishORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/dataORACLE_SID=orcl #You may replace "orcl" with your own SID Name you wish to use

export ORACLE_BASE ORACLE_HOME ORACLE_SID ADMIN_HOME LOCAL_HOMEexport MSGVERB NOMSGLABEL NOMSGSEVERITY NLS_LANG ORA_NLS33 DISPLAY LD_LIBRARY_PATH

Click here for a sample ".profile" file.

2-) After modification of this file, save it and relogin as the user "oracle".

PERFORM INSTALLATION

Make sure that your environment variables set correctly by entering following command:

set

Now, your system is ready to install Oracle 8.1.7. To install Oracle change default directory to where your oracle files reside. For example, if your installation files are at "/export/home/oracle/ora817", type the following command:

cd /export/home/oracle/ora817

and run Installer program by the command:

runInstaller

Then, "Oracle Universal Installer " will begin. Follow instructions in your screen and complete installation of Oracle 8.1.7 software.


When the Oracle Software installation completed, "Oracle Universal Installer" will attempt to run "Net8 Configuration Assistant" and "Database Configuration Assistant". Specify y

上一页  1 2 3 下一页
  • 上一篇教程: Install Oracle9 on RedHat
  • 下一篇教程: SQL 的高级应用
  •  

    关于本站 | 广告联系 | 版权声明 | 使用帮助

    Copyright © 2004-2008 www.egunao.com All rights reserved.