php oracle817,Oracle 817 For Linux/Unix安装文档-数据库专栏,ORACLE
oracle 817安裝文檔
1.????? 創建dba組和oracle用戶
root@hz_cmode # groupadd dba
root@hz_cmode # useradd -m -d /opt/oracle -s /bin/ksh -g dba oracle
root@hz_cmode # passwd oracle new password:
re-enter new password:
passwd (system): passwd successfully changed for oracle
2.????? 修改/etc/system
務必備份system,不正確修改system有可能導致操作系統不能啟動
root@hz_cmode # cp /etc/system /etc/system.old
將下面的配置加入到system的末尾
set shmsys:shminfo_shmmax=4294967295
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=10
set semsys:seminfo_semmni=100
set semsys:seminfo_semmsl=1010
set semsys:seminfo_semmns=2010
set semsys:seminfo_semopm=100
set semsys:seminfo_semvmx=32767
重起服務器
root@hz_cmode # sync
root@hz_cmode # reboot
3.????? oracle軟件安裝
將oracle8i enterprise editon(64-bit)1of2放入光驅
將以下加入oracle用戶的.profile文件
oracle_base=/opt/oracle/app/oracle
oracle_home=/opt/oracle/app/oracle/product/8.1.7
oracle_sid=dbsg
oracle_owner=oracle
ld_library_path=$oracle_home/lib
path=$path:$oracle_home/bin
export oracle_base oracle_home oracle_sid ld_library_path path oracle_owner
oracle_nls33=$oracle_home/ocommon/nls/admin/data
stty erase ^h
以下操作需要在圖形界面下完成
以oracle用戶登陸系統,絕對路徑安裝
$ /cdrom/cdrom0/runinstaller
aspectratio=”t” v:ext=”edit”>
點擊next
確認destination目錄,點擊next
輸入dba,點擊next
另開一個窗口用root用戶執行/opt/oracle/app/oracle/product/8.1.7/orainstroot.sh腳本
root@hz_cmode # /opt/oracle/app/oracle/product/8.1.7/orainstroot.sh
creating oracle inventory pointer file (/var/opt/oracle/orainst.loc)
changing groupname of /opt/oracle/app/oracle/orainventory to dba.
然后點擊retry
點擊next
選擇typical,點擊next
點擊next
輸入datafile放置的目錄,該目錄oracle用戶應該有讀寫權限。
點擊next
點擊next
安裝程序正在復制軟件到硬盤上。
另開個窗口確認除安裝窗口外,沒有其他窗口在/cdrom/cdrom0目錄中,eject將光盤彈出,將oracle8i enterprise editon(64-bit)2of2放入光驅
將/cdrom/disk1改為/cdrom/disk2,點擊ok。
另開一個窗口用root用戶執行/opt/oracle/db01/app/oracle/product/8.1.7/root.sh腳本
running oracle8 root.sh script…
the following environment variables are set as:
oracle_owner= oracle
oracle_home=? /opt/oracle/db01/app/oracle/product/8.1.7
oracle_sid=?? dbsg
enter the full pathname of the local bin directory: [/usr/local/bin]:
creating /var/opt/oracle/oratab file…
entry will be added to the /var/opt/oracle/oratab file 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.
important note: please delete any log and trace files previously
created by the oracle enterprise manager intelligent
agent. these files may be found in the directories
you use for storing other net8 log and trace files.
if such files exist, the oem ia may not restart.
點擊ok
建庫過程
安裝完畢,點擊exit退出安裝。
總結
以上是生活随笔為你收集整理的php oracle817,Oracle 817 For Linux/Unix安装文档-数据库专栏,ORACLE的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 各种神经网络优化算法:从梯度下降到Ada
- 下一篇: linux 其他常用命令