- 论坛徽章:
- 0
|
Oracle 10g (10.1.0.3)for Solaris 9 x86 安装\r\nGux\r\n2006-05-30\r\nOE: Solaris 9 x86+Recommender Patches\r\nHardware Platform:PC computer \r\n1@P4 1.7G\r\n1GRAM\r\nGA-8IR533M/B\r\nIBM20GHDD\r\nnVidiaTNT2 M64 32M\r\nRTL8029AS NIC\r\nPS/2 101key & PS/2 mouse. \r\nSoftware: Solaris 9 for x86 & Recommender Patches\r\nRTL8029AS NIC driver for Solaris x86\r\nOracle 10g (10.1.0.3) for Solaris 9&10 x86\r\nOracle 10g (10.1.0.3) Patches for Solaris 9 x86:\r\n■ 111713-06, SunOS 5.9_x86: Shared library patch for C++\r\n■ 111728-03, SunOS 5.9_x86: Math Library (libm) patch\r\n■ 112234-12, SunOS 5.9_x86: Kernel Patch\r\n■ 113986-08, SunOS 5.9_x86: linker Patch\r\n■ 115114-02, SunOS 5.9_x86: Patch for assembler\r\n■ 116013-02, SunOS 5.9_x86: ps utility patch\r\n注意:以上的Patches请从sunsolve.sun.com下载。\r\nOracle 10g (10.1.0.3) Packages for Solaris 9 x86:\r\nSUNWarc\r\nSUNWbtool\r\nSUNWhea\r\nSUNWlibm \r\nSUNWlibms \r\nSUNWsprot \r\nSUNWtoo \r\nSUNWi1of \r\nSUNWi1cs \r\nSUNWi15cs \r\nSUNWxwfnt\r\n注意:其中SUNWi1cs SUNWi15cs两个软件包中的红色字为数字1,该软件包在OS系统第一张安装中,OS系统缺省没有安装。\r\n1.1. 安装过程:\r\n1.1.1. OE: Solaris 9x86&Recommander Patches\r\n略\r\n1.1.2. TL8029AS NIC drivers \r\n # cd /heom/tools/ni-0.8.11\r\n # /usr/ccs/bin/make install\r\n # ./addni.sh\r\n # devfsadm -i ni\r\n #vi /etc/hostname.ni0 (注意:该文件内应为IP地址)如:\r\n # more /etc/hostname.ni0\r\n192.168.205.204\r\nvi /etc/netmasks & defaultrouter、/etc/hosts、/etc/resolv.conf etc…\r\n# ifconfig ni0 192.168.205.204/24 up\r\n#ping 192.168.205.252\r\nPING 192.168.205.252: 56 data bytes\r\n64 bytes from 192.168.205.252: icmp_seq=0. time=9. ms\r\n64 bytes from 192.168.205.252: icmp_seq=1. time=0. ms\r\n64 bytes from 192.168.205.252: icmp_seq=2. time=0. ms\r\n……\r\n…….\r\n# netstat -rn\r\nRouting Table: IPv4\r\nDestination Gateway Flags Ref Use Interface\r\n192.168.205.0 192.168.205.204 U 1 7 ni0\r\n224.0.0.0 192.168.205.204 U 1 0 ni0\r\ndefault 192.168.205.252 UG 1 0 \r\n127.0.0.1 127.0.0.1 UH 26 18228 lo0\r\n1.1.3. 建立UNIX组与用户\r\n# /usr/sbin/groupadd oinstall\r\n# /usr/sbin/groupadd dba\r\n1.1.4. 建立UNIX用户\r\n# /usr/sbin/useradd -g oinstall -G dba oracle\r\n#passwd oracle (qijiora)\r\n1.1.5. 创建Oracle相关目录\r\n# mkdir -p /home/oracle (the Oracle base directory)\r\n# mkdir -p /home/oradata (an Oracle datafile directory)\r\n# chown -R oracle install /home /oracle\r\n# chown -R oracle install /home/oradata\r\n# chmod -R 775 /home /oracle\r\n# chmod -R 775 /home/oradata\r\n1.1.6. 更改系统内核参数\r\n# cp /etc/system /etc/system.orig\r\n# vi /etc/system & add:\r\nset semsys:seminfo_semmni=100\r\nset semsys:seminfo_semmns=1024\r\nset semsys:seminfo_semmsl=256\r\nset semsys:seminfo_semvmx=32767\r\nset shmsys:shminfo_shmmax=4294967295\r\nset shmsys:shminfo_shmmni=100\r\n注意:完成以上步骤后需重启系统。\r\n1.1.7. 编辑oracle用户环境变量\r\n#vi /home/oracle/.cshrc\r\nmore /home/oracle/.cshrc\r\n#ident \"@(#)local.cshrc 1.2 00/05/01 SMI\"\r\numask 022\r\nset path=(/bin /sbin /usr/sbin /usr/openwin/bin /usr/ccs/bin /usr/bin /usr/ucb /etc /home/oracle /home/oradata .)\r\nif ( $?prompt ) then\r\n set history=32\r\nendif\r\nalias ls ls -Fa\r\nstty erase ^H\r\nsetenv EDITOR vi\r\nalias ping ping -s\r\nsetenv DISPLAY 192.168.205.205:0.0 #俺在这台机器上用Xmanager安装Oracle\r\nsetenv ORACLE_BASE /home/oracle\r\nsetenv ORACLE_SID DBA\r\nsetenv TEMP /tmp\r\nsetenv TMPDIR /tmp\r\nunsetenv ORACLE_HOME\r\nunsetenv TNS_ADMIN\r\nsetenv NLS_LANG \"SIMPLIFIED CHINESE\"_CHINA.ZHS16GBK\r\n\r\n1.1.8. Oracle安装\r\n望了抓图,按提示进行或直接下一步就行了。\r\n1.1.9. http://192.168.205.204:5500/em/\r\n \r\n\r\n图粘不上来。\r\n连装系统带配网络、装oracle、建库共用了4个小时。\r\n我是菜鸟,第一次装Oracle for x86,大家共享看看就是了。 |
|