程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 數據庫知識 >> Oracle數據庫 >> Oracle數據庫基礎 >> Solaris 下安裝Oracle8.17文檔

Solaris 下安裝Oracle8.17文檔

編輯:Oracle數據庫基礎

Solaris 下安裝Oracle8.17
一.用root用戶做:
1.groupadd dba
2.useradd -d dba -d $ORACLE_HOME -m -s /bin/sh Oracle
3.修改/etc/group文件的最後一行如下:dba::100:Oracle
4.修改/etc/passwd文件的最後一行如下:oracle:x:1001:100::/Oracle_HOME:/bin/sh
5.mkdir /oracle;chown -R oracle:dba /Oracle
6.# vi /etc/system 在最後一行後加入:
set shmsys:shminfo_shmmax=(0.5*物理內存)*1024*1024的數值
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=100
set semsys:seminfo_semmni=100
set semsys:seminfo_semmsl=100
set semsys:seminfo_semmns=200
set semsys:seminfo_semopm=100
set semsys:seminfo_semvmx=32767
set ulimit=3000000
7. passwd Oracle
8.Reboot
二.用Oracle 用戶做:
vi /etc/Oracle/.profile(.cshrc) 在最後一行加入:

#evn for install Oracle
set ORACLE_BASE /data/u01/Oracle
set ORACLE_HOME /data/u01/Oracle/product/8.1.7
set Oracle_TERM xsun5
set LD_LIBRARY_PATH $Oracle_HOME/lib:/usr/openwin/lib:/usr/dt/lib
set CLASSPATH .:/data/u01/Oracle/product/jdbc/lib/classes111.zip:/data/u01/oracl
e/product/jdbc/lib/nls_charset11.zip:/export/home/Oracle/trade_prog
set PATH .:/export/home/Oracle/trade_prog:/bin:/usr/openwin/bin:/usr/bin:/usr/uc
b:/usr/local/bin:/data/u01/Oracle/product/bin
set NLS_LANG AMERICAN_AMERICA.ZHS16CGB231280
#set NLS_LANG=SIMPLIFIED CHINESE_CHINA.ZHS16GBK
set Oracle_SID orcl
set DISPLAY 192.168.0.190:0.0

2.退出,再用Oracle登錄,使新的環境生效
3.cd /cdrom/cdrom0;./runInstaller(注意看提示,他會告訴你root.sh的位置的)
4.當提示用戶輸入用戶組的時候,以root身份運行/cdrom/cdrom0/Oracle8.1.7/OraInstall/orainstRoot.sh腳本
(su; ./*.sh)
5.當安裝到100%時,以root身份運行/data/Oracle/product/8.1.7/root.sh腳本(注意看提示,他會告訴你root.sh的位置的)

三.安裝完畢後用Oracle用戶做
1.運行$Oracle_HOME/8.1.7/bin/svrmgrl
2.Connect internal
3.Shutdown
4.Startup


5.如果啟動sqlplus可以用internal用戶去登陸的


Hardware Requirements
To install Oracle8i products included with this release, your Sun SPARC Solaris
system must meet the minimum hardware requirements listed in Table 1–2.

Memory A minimum of 128 MB RAM is required to install Oracle8i
products. Oracle8i ClIEnt products require 64 MB of RAM

Disk Space Requirements

Typical 1160 MB
Minimal 985 MB
Custom Up to a maximum of 1355 MB
Swap Space Twice the amount of RAM or at least 400 MB, whichever is
greater, is recommended for most systems.

Table 1–4 Disk Space Requirements for Oracle8i ClIEnt
Administrator 435 MB
Programmer 320 MB
Application User 230 MB
Custom Up to a maximum of 440 MB


Temporary Disk Space Required by the Oracle Universal Installer
The Oracle Universal Installer requires up to 75 MB of space in the /tmp directory.
If you do not have enough space in /tmp, set the environment variable TMP_DIR to
point to a directory with sufficIEnt space.


Table 1–6 Operating System Software Requirements
OS Software Requirements
Operating System Solaris 2.6 or 2.7

具體請察看聯機文檔

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved