Solaris 下安裝Oracle8.17文檔

來源:互聯網
上載者:User

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

具體請察看聯機文檔



相關文章

Beyond APAC's No.1 Cloud

19.6% IaaS Market Share in Asia Pacific - Gartner IT Service report, 2018

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。