BBS.ChinaUnix.net
首页 | 新闻 | Linux | FreeBSD | AIX | Windows | 博客 | 论坛 | 存储 | 网络 | 人才 | Wiki | 资料 | 读书 | 手册 | 下载 | 空间 | 搜索
  会员: 密码: 免费注册 | 忘记密码 | 会员登录 | 搜索 | 帮助 


奥运快报: 
奥运热点:
 

[保留] RedHat AS 4.0最新安装Oracle9204手记
首页 » 论坛 » Oracle »  
[打印] [订阅] [收藏] [本帖文本页] [推荐此主题给朋友,立即获积分]
vahala   帅哥
侠客




UID:161984
注册:2004-5-31
最后登录: 2007-10-26
帖子:18
精华:0

可用积分:18 (白手起家)
信誉积分:100
专家积分:0 (本版:0)
空间积分:0
推广积分:0

状态:...离线...

[个人空间] [短信] [博客]


11楼 发表于 2005-9-8 10:21 
RedHat AS 4.0最新安装Oracle9204手记

我早说了楼主的文章是胡写的,一看题目就知道他在胡说。
chinaunix.net的编辑应该多检查一下此类文章,这样的文章一看题目就让人觉得脸红啊!

另外:想获得真经最好去www.oracle.com   oracle的网站上有比较全面和认真的安装文章。



您对本贴的看法:鲜花[0] 臭蛋[0]
空间积分可以换礼品了! | 有奖跟帖:服务器节能,奖50-100元图书 | 致电800-858-2903,了解DELL如何为你量身订制笔记本 | 送2G U盘
wyckwemail
精灵



UID:105715
注册:2003-10-17
最后登录: 2008-09-06
帖子:179
精华:0

可用积分:187 (白手起家)
信誉积分:100
专家积分:0 (本版:0)
空间积分:0
推广积分:0

状态:...离线...

[个人空间] [短信] [博客]


12楼 发表于 2005-9-8 19:39 
RedHat AS 4.0最新安装Oracle9204手记

to:vahala
如果你很有素质,就不应该骂人,一个没有素质的人还感叹"我很悲哀,现在中国搞计算机的同志们实在是太浮躁了!",哈哈哈,可笑!



您对本贴的看法:鲜花[0] 臭蛋[0]
空间积分可以换礼品了! | 有奖跟帖:服务器节能,奖50-100元图书 | 致电800-858-2903,了解DELL如何为你量身订制笔记本 | 送2G U盘
wyckwemail
精灵



UID:105715
注册:2003-10-17
最后登录: 2008-09-06
帖子:179
精华:0

可用积分:187 (白手起家)
信誉积分:100
专家积分:0 (本版:0)
空间积分:0
推广积分:0

状态:...离线...

[个人空间] [短信] [博客]


13楼 发表于 2005-9-8 20:04 
RedHat AS 4.0最新安装Oracle9204手记

也可以安装以下几个软件包:
compat-libstdc++-7.3-2.96.122
compat-gcc-c++-7.3-2.96.122
compat-libstdc++-devel-7.3-2.96.122
compat-db-4.0.14-5
compat-gcc-7.3-2.96.122
tcl-devel-8.3.5-92.i386.ipm
openmotif21-2.1.30-8
setarch-1.3-1
或可能要其他软件包
然后gcc降级
#su – root
#mv /usr/bin/gcc /usr/bin/gcc34
#ln –s /usr/bin/gcc296 /usr/bin/gcc
#mv /usr/bin/g++ /usr/bin/g++34
#ln –s /usr/bin/g++296 /usr/bin/g++
这样也应可以的,试一下,我自个安装成功的!
还有我们公司采用LINUX+ORACLE9.X的浪潮财务系统,安装没有问题,
最好用gcc296!
有错误,希望各位指出,共同提高!



您对本贴的看法:鲜花[0] 臭蛋[0]
空间积分可以换礼品了! | 有奖跟帖:服务器节能,奖50-100元图书 | 致电800-858-2903,了解DELL如何为你量身订制笔记本 | 送2G U盘
wyckwemail
精灵



UID:105715
注册:2003-10-17
最后登录: 2008-09-06
帖子:179
精华:0

可用积分:187 (白手起家)
信誉积分:100
专家积分:0 (本版:0)
空间积分:0
推广积分:0

状态:...离线...

[个人空间] [短信] [博客]


14楼 发表于 2005-9-8 20:14 
RedHat AS 4.0最新安装Oracle9204手记

http://www.puschitz.com/InstallingOracle9i.shtml#RunningOracleInstallationOnRHELAS4
这里有全英文的安装文档资料,大家可以参考一下!



您对本贴的看法:鲜花[0] 臭蛋[0]
空间积分可以换礼品了! | 有奖跟帖:服务器节能,奖50-100元图书 | 致电800-858-2903,了解DELL如何为你量身订制笔记本 | 送2G U盘
lifeistrue
风云使者



UID:153528
注册:2004-4-21
最后登录: 2008-09-04
帖子:525
精华:0

可用积分:325 (白手起家)
信誉积分:100
专家积分:0 (本版:0)
空间积分:0
推广积分:0

状态:...保密...

[个人空间] [短信] [博客]


15楼 发表于 2005-9-12 21:30 
RedHat AS 4.0最新安装Oracle9204手记

vahala,我颇怀疑你的人品



您对本贴的看法:鲜花[0] 臭蛋[0]
空间积分可以换礼品了! | 有奖跟帖:服务器节能,奖50-100元图书 | 致电800-858-2903,了解DELL如何为你量身订制笔记本 | 送2G U盘
expresso   帅哥
侠客




UID:126709
注册:2004-1-13
最后登录: 2008-09-06
帖子:29
精华:0

可用积分:15 (白手起家)
信誉积分:100
专家积分:0 (本版:0)
空间积分:0
推广积分:0

状态:...离线...

[个人空间] [短信] [博客]


16楼 发表于 2005-9-13 00:10 
RedHat AS 4.0最新安装Oracle9204手记

非常感谢楼主!

to:vahala
实施的环境有差异,实施的人水平有高低,难免有些问题。
如果帖子有问题的话,可以出来讨论。
骂人就太没素质了。



您对本贴的看法:鲜花[0] 臭蛋[0]
空间积分可以换礼品了! | 有奖跟帖:服务器节能,奖50-100元图书 | 致电800-858-2903,了解DELL如何为你量身订制笔记本 | 送2G U盘
king3171   帅哥
风云使者



UID:55846
注册:2003-5-8
最后登录: 2008-09-04
帖子:605
精华:6

可用积分:617 (稍有积蓄)
信誉积分:115
专家积分:26 (本版:0)
空间积分:804
推广积分:0

来自:china
状态:...离线...

[个人空间] [短信] [博客]


17楼 发表于 2005-9-13 12:27 
RedHat AS 4.0最新安装Oracle9204手记

[quote]原帖由 "vahala"]你个贱人,看来你活着就是为了混口饭吃![/quote 发表:

大家都是讨论技术,不要在这骂人,指出别人问题本无可厚非,但不应该骂人,CU里不欢迎你这样的人



您对本贴的看法:鲜花[0] 臭蛋[0]

__________________________________

每一发愤努力的背后,必有加倍的赏赐。成功的特质:1、热情;2、信念;3、策略;4、清楚的价值观;5、活力;6、凝聚力;7、善于传送讯息
空间积分可以换礼品了! | 有奖跟帖:服务器节能,奖50-100元图书 | 致电800-858-2903,了解DELL如何为你量身订制笔记本 | 送2G U盘
isky8888   帅哥
侠客




UID:300130
注册:2005-8-8
最后登录: 2006-08-17
帖子:19
精华:0

可用积分:15 (白手起家)
信誉积分:100
专家积分:0 (本版:0)
空间积分:0
推广积分:0

状态:...离线...

[个人空间] [短信] [博客]


18楼 发表于 2005-9-21 22:50 
RedHat AS 4.0最新安装Oracle9204手记



QUOTE:
原帖由 "chen_cng" 发表:
非常好的教程,感谢楼主的辛劳。
通过它偶在centos 4.1下安装成功oracle 9.2.4.0

你好,chen_cng,我现在也是使用的CentOS 4.1,x86_64.但是我安装Oracle 9.2.4遇到问题。
我按照以前在AS3(32位,现在正在工作的环境)上的安装经验,将需要的包全部安装完毕了,本贴中楼主贴的包我也安装了,但是他说的几个zip我并没有安装,因为我以前在As3中也是没有安装的。
现在具体的问题是,./runInstaller的时候出现can't find libjava.so.错误
而在此之前的p3006854_9204_LINUX.zip这个补丁安装也不成功,编译无法通过,提示
suffix or operands invalid for 'push'
suffix or operands invalid for 'pop'
说这两条指令有问题,无法生成/etc/libcwait.so,不知道是不是64位 AMD Opteron 有什么差别。我没管它了,但runInstaller出现了那个错误,我无法继续了。

大家遇到过这个问题吗,谢谢。



您对本贴的看法:鲜花[0] 臭蛋[0]
空间积分可以换礼品了! | 有奖跟帖:服务器节能,奖50-100元图书 | 致电800-858-2903,了解DELL如何为你量身订制笔记本 | 送2G U盘
isky8888   帅哥
侠客




UID:300130
注册:2005-8-8
最后登录: 2006-08-17
帖子:19
精华:0

可用积分:15 (白手起家)
信誉积分:100
专家积分:0 (本版:0)
空间积分:0
推广积分:0

状态:...离线...

[个人空间] [短信] [博客]


19楼 发表于 2005-9-22 09:31 
RedHat AS 4.0最新安装Oracle9204手记

这是我在Metalink找到的一个说明,但是,我在CentOS4.1(相当于Redhat As 4 Update1)应用这个补丁的时候,出现了/usr/bin/ld:crti.o:No such file的错误。我在继续需求解决方法,希望有经验的人参与讨论,谢谢。
Requirements for Installing Oracle 9iR2 on RHEL4 X86_64
-------------------------------------------------------

1.        Hardware:
        =========
        * Minimum Hardware Requirements
           - 512 MB of physical RAM
           - 1 GB of swap space (or twice the size of RAM)
              On systems with 2 GB or more of RAM, the swap space can be between one and two times the size of RAM.
           - 400 MB of disk space in the /tmp directory
           - The following shows the approximate disk space requirements for software files for each installation type:
                Enterprise Edition  2.5 GB (and 1.2 GB for the seed database)  
                Standard Edition    1.5 GB (and 1.2 GB for the seed database)  
                Custom (maximum)    2.5 GB  

2.        Software:
        =========
        * Red Hat Enterprise Linux AS 3 (Update 1)
        * Required OS Components
            - kernel-2.4.21-9.0.1.EL.x86_64
            - glibc 2.3.2-95.x86_64
            - gcc-3.2.3-24.x86_64
            - gcc-c++-3.2.3-24.x86_64
            - libstdc++-3.2.3-24.i386
            - libstdc++-devel-3.2.3-24.x86_64
            - libstdc++-3.2.3-24.x86_64
            - glibc-devel-2.3.2-95.3.i386
            - glibc-2.3.2-95.6.i686
            - make-3.79.1.x86_64
            - gnome-libs-1.4.1.2.90-34.1.i386
            - ORBit-0.5.17-10.4.i386
            - audiofile-0.2.3-7.1.i386
            - esound-0.2.28-5.1.i386
            - gtk+-1.2.10-27.1.i386
            - imlib-1.9.13-12.i386
            - libpng10-1.0.13-8.i386
            - libungif-4.1.0-15.i386
            - tcp_wrappers-7.6-34.i386
            - setarch-1.3-1.x86_64
            - libaio-0.3.96-3.x86_64

The x86_64 packages are on the Red Hat Enterprise Linux 3 x86-64 distribution.
The  i386  packages are on the Red Hat Enterprise Linux 3 x86 distribution.
Or you download the required i386 packages from this note.
Attachment 308588.1:1 rpm_i386_for_9iR2_64bit.zip


glibc-devel-2.3.2-95.3.i386
This package might require the --force option during installation.
gnome-libs-1.4.1.2.90-34.1.i386
This package might require the --force option during installation if 64-bit gnome packages are installed.
Oracle recommends that you do not install 64-bit gnome packages if they are not required for other applications.

3.        Environment:
        ============
        * Required Environment Variable
           - LD_ASSUME_KERNEL=2.4.19
        * Modify your kernel settings in /etc/sysctl.conf (RedHat) as follows:
           kernel.hostname   = yourhost.yourdomain.com  #<--- full qualified hostname !!
           kernel.domainname = yourdomain               #<--- correct domain name !!
           fs.file-max       = 65536
           net.ip_local_port_range = 1024 65000

       * Required memory related kernel parameters
             (If the current value for any parameter is higher than the value listed in this table, do not change the value of that parameter.)
           - SEMMNI  128     Defines the maximum number of semaphore sets in the entire system.  
           - SEMMNS  32000   Defines the maximum semaphores on the system.
                             This setting is a minimum recommended value, for initial installation only.
                             The SEMMNS parameter should be set to the sum of the PROCESSES parameter
                             for each Oracle database, adding the largest one twice, and then adding
                             an additional 10 for each database.
           - SEMOPM  100     Defines the maximum number of operations for each semop call.  
           - SEMMSL  250     Defines the minimum recommended value, for initial installation only.  
           - SHMMAX          Set this parameter to half the size of physical RAM available on your system.
                             This value cannot exceed 4294967295
           - SHMMNI  4096    Defines the maximum number of shared memory segments in the entire system.  
           - SHMALL  2097152 Defines the maximum total shared memory system wide.

        * Hostname command should return the fully qualified hostname as shown
          below:
             % hostname
               hostname.domainname
        * If any Java packages are installed on the system, unset the Java
          environment variables, for example  JAVA_HOME.
        * The oracle account used to install Oracle 9.2.0.4, should not have
          the Oracle install related variables  set by default.
          For example setting ORACLE_HOME, PATH, LD_LIBRARY_PATH to include
          Oracle  binaries in .profile, .login file and /etc/profile.d should
          be completely avoided.

4.  Following Patch 3423540 is required for invoking OUI
      Bug 3423540 - RH3.0 AMD64: ERROR WHILE LOADING SHARED LIBRAIES:LIBCWAIT.SO
     This patch must be installed on systems running Red Hat Enterprise Linux 3.0
     AMD64/EM64T before running the Oracle Universal Installer (for any Oracle product).
     Otherwise following errors might be encountered.

     Initializing Java Virtual Machine from

     /tmp/OraInstall2005-05-26_12-33-14PM/jre/bin/java.
     Please wait... Error: can't find libjava.so.

     Please select Linux Intel (64-bit) as the platform menu choice for downloading this patch.
     This patch is required for 9.2.0.4.0 and above.
     glibc-devel-2.3.2-95.3.i386.rpm is required for the successful compilation of the above patch.
     If the above is not installed following error will be encountered.
     
      /usr/bin/ld: cannot open crti.o: No such file or directory

5.  Now You are ready to invoke your Oracle Universal Installer.


ADDITIONAL NOTES
----------------

1. Linux x86-64, support on AMD64/EM64T and Intel Processor Chips that adhere to the x86-64 architecture with supported Linux releases.
   -- Oracle 32-bit running on AMD64/EM64T with 32-bit OS is supported.
   -- Oracle 32-bit running on AMD64/EM64T with 64-bit OS is not supported .

2. To improve the performance of the software on Linux systems, you must increase the following shell limits for the oracle user:

   * To increase the shell limits:
     Add the following lines to /etc/security/limits.conf file:
      *               soft     nproc     2047
      *               hard     nproc     16384
      *               soft     nofile    1024
      *               hard     nofile    65536
     Add or edit the following line in the /etc/pam.d/login file, if it does not already exist:
      session     required     /lib64/security/pam_limits.so
    Depending on the oracle user's default shell, make the following changes to the default shell startup file:
    For the Bourne, Bash, or Korn shell, add the following lines to the /etc/profile file (or the /etc/profile.local file on SuSE systems):
       if [ $USER = "oracle" ]; then
          if [ $SHELL = "/bin/ksh" ]; then
             ulimit -p 16384
             ulimit -n 65536
          else
             ulimit -u 16384 -n 65536
          fi
      fi
   For the C or tcsh shell, add the following lines to the /etc/csh.login file (or the /etc/csh.login.local file on SuSE systems):
      if ( $USER == "oracle" ) then
         limit maxproc 16384
         limit descriptors 65536
      endif
   Also for SSH please add the following line in /etc/ssh/sshd_config
     UsePrivilegeSeparation no
   Restart the ssh service with "service ssh restart" command

3. Asynchronous I/O on ext2 and ext3 file systems is not supported for Red Hat Enterprise Linux 3.
   This issue is tracked through Oracle bug number Bug 3592118.
   Asynchronous I/O is supported on raw devices for Red Hat Enterprise Linux 3.

4. No extra patch is required for the DIRECTIO support for x86_64.

5. Following rpm command can be used to distinguish between a 32 bit or 64 bit package.
     #rpm --query --queryformat "%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH})\n" glibc-devel
     glibc-devel-2.3.4.2.9 (i386)

6. The correct name and part no of the CD are as follow.
   Name                                                                 Part #
   -----                                                                ------
   Oracle9i Database Release 2 (9.2.0.4.0) for Linux x86-64 CD 1 of 3         B14882-01
   Oracle9i Database Release 2 (9.2.0.4.0) for Linux x86-64 CD 2 of 3         B14883-01
   Oracle9i Database Release 2 (9.2.0.4.0) for Linux x86-64 CD 3 of 3         B14884-01

ATTACHMENTS
-----------
rpm_i386_for_9iR2_64bit.zip contains the 32 Bit packages required for Oracle Installation.
#md5sum rpm_i386_for_9iR2_64bit.zip
239483042e2a83b847cc121608a698b5  rpm_i386_for_9iR2_64bit.zip

Attachment 308588.1:1 rpm_i386_for_9iR2_64bit.zip

RELATED DOCUMENTS
-----------------

Oracle9i Release Notes
Release 2 (9.2.0.4) for Linux x86-64
Part No. B13848-02
http://download-west.oracle.com/docs/html/B13848_02/toc.htm



您对本贴的看法:鲜花[0] 臭蛋[0]
空间积分可以换礼品了! | 有奖跟帖:服务器节能,奖50-100元图书 | 致电800-858-2903,了解DELL如何为你量身订制笔记本 | 送2G U盘
isky8888   帅哥
侠客




UID:300130
注册:2005-8-8
最后登录: 2006-08-17
帖子:19
精华:0

可用积分:15 (白手起家)
信誉积分:100
专家积分:0 (本版:0)
空间积分:0
推广积分:0

状态:...离线...

[个人空间] [短信] [博客]


20楼 发表于 2005-9-22 10:47 
RedHat AS 4.0最新安装Oracle9204手记

sorry,没读仔细,人家已经写了
glibc-devel-2.3.2-95.3.i386.rpm is required for the successful compilation of the above patch.



您对本贴的看法:鲜花[0] 臭蛋[0]
空间积分可以换礼品了! | 有奖跟帖:服务器节能,奖50-100元图书 | 致电800-858-2903,了解DELL如何为你量身订制笔记本 | 送2G U盘

首页 » 论坛 » Oracle »


 


Copyright © 2001-2008 ChinaUnix.net All Rights Reserved     联系我们:

感谢所有关心和支持过ChinaUnix的朋友们    转载本站内容请注明原作者名及出处

京ICP证041476号


清除 Cookies - ChinaUnix - Archiver - WAP - TOP

Processed in 0.134707 second(s), 4 queries , Gzip enabled