转至繁体中文版     | 网站首页 | 图文教程 | 资源下载 | 站长博客 | 图片素材 | 武汉seo | 武汉网站优化 | 
最新公告:     敏韬网|教学资源学习资料永久免费分享站!  [mintao  2008年9月2日]        
您现在的位置: 学习笔记 >> 图文教程 >> 数据库 >> MySql >> 正文
all installing oracle9i documents under linux platform         ★★★★

all installing oracle9i documents under linux platform

作者:闵涛 文章来源:闵涛的学习笔记 点击数:7002 更新时间:2009/4/22 20:45:34
nbsp; 
cat /proc/swaps
  
You can also add temporary swap space by creating a temporary swap file instead of using a raw device. Here is the procedure:  
su - root
dd if=/dev/zero of=tmpswap bs=1k count=900000
chmod 600 tmpswap
mkswap tmpswap
swapon tmpswap
To disable the temporary swap space execute the following commands:  
su - root
swapoff tmpswap
rm tmpswap
  
Setting Shared Memory  
  
For Oracle 9i (9.2.0) installation I had to increase the maximum shared memory size on my Linux server for all Red Hat versions. The Oracle Database Configuration Assistant displayed the following error message on my server:
  
ORA-27123: unable to attach to shared memory segment.
I temporarely increased the shmmax setting for the kernel by executing the following command:  
$ su - root
# cat /proc/sys/kernel/shmmax
33554432
# echo `expr 1024 \* 1024 \* 1024` > /proc/sys/kernel/shmmax
# cat /proc/sys/kernel/shmmax
1073741824
It is recommended to increase the shmmax setting permanently for Oracle. For more information, see Setting Shared Memory.  
  
For more information on optimizing shared memory settings for Oracle databases on Linux, see Setting Shared Memory. These parameters apply to all Red Hat Linux versions. But note that except for the shmmax parameter, these parameter do not need to be changed for installing Oracle on Linux. But you might want to adjust all shared memory settings later to optimize the server for Oracle.  
  
Checking /tmp Space  
  
The Oracle Universal Installer requires up to 400 MB of free space in the /tmp directory.  
  
To check the space in /tmp, run:  
$ df /tmp
If you do not have enough space in the /tmp directory, you can temporarily create a tmp directory in another filesystem. Here is how you can do this:  
su - root
mkdir /<AnotherFilesystem>/tmp
chown root.root /<AnotherFilesystem>/tmp
chmod 1777 /<AnotherFilesystem>/tmp
export TEMP=/<AnotherFilesystem>           # used by Oracle
export TMPDIR=/<AnotherFilesystem>         # used by Linux programs like the linker "ld"
When you are done with your Oracle installation, shutdown Oracle and remove the temporary directory:  
su - root
rmdir /<AnotherFilesystem>/tmp
unset TEMP
unset TMPDIR
  
Sizing Oracle Disk Space  
  
You will need about 2.5 GB for the database software. If you perform a typical database installation and not a customized database installation, then you will need about 3.5 GB of disk space.  
  
The "binutils" Issue  
  
Skip this step for Oracle9iR2.
  
I did not experience this problem with Oracle 9i (9.2.0), but only with Oracle 9i (9.0.1).  
  
The binutils package that comes with Red Hat 7.1, 7.2, 7.3, and with RedHat 2.1 Advanced Server doesn''''t work with Oracle 9i (9.0.1) Universal Installer. Here are the options you have for 9.0.1:  
  
I recommend the following approach:
  
Wait for the following Oracle installation error:  
"Error invoking target install of makefile /opt/oracle/product/9.0.1/plsql/lib/ins_plsql.mk"
And fix this problem as described in Oracle Installation Errors.  
I recommend this approach since it obviates the need to change binutils.  
I do not recommend the following approach:
  
Download the following binutil RPM version and downgrade binutil on the Oracle server:
ftp://ftp.redhat.com/pub/redhat/linux/7.0/en/os/i386/RedHat/RPMS/binutils-2.10.0.18-1.i386.rpm  
  
su - root
rpm -Uvh --force --nodeps binutils-2.10.0.18-1.i386.rpm
When you are done with the Oracle installation, you upgrade your binutil RPM back to the version you had before you downgraded. E.g. on the Red Hat 7.2 server I did:  
rpm -Uvh --force --nodeps binutils-2.11.90.0.8-9.i386.rpm
Here is Oracle''''s official solution for Oracle 9iR1 or 9iR1 iAS on RedHat 2.1 Advanced Server which I don''''t like:  
http://otn.oracle.com/software/products/oracle9i/files/binutils_readme.html  
  
Checking Development Packages (RPMs)  
  
You will need some RPM development packages for the Oracle installer to build the Oracle modules, otherwise you will get an error messages similar to this one:  
Error in invoking target ntcontab.o of makefile  
/opt/oracle/product/9.2.0/network/lib/ins_net_client.mk
  
Development Packages (RPMs) for RH 7.1, 7.2, and RH AS 2.1:
  
To see if these development packages are installed on your server, run the following command:  
rpm -q gcc cpp compat-libstdc++ glibc-devel kernel-headers binutils
For instance, most of these packages will be missing when you installed RedHat 2.1 Advanced Server and if you did not select the "Software Development" package. For the RedHat 2.1 Advanced Server I executed the following commands to install the missing RPMs from the two CDs:  
su - root
rpm -ivh cpp-2.96-108.1.i386.rpm \
glibc-devel-2.2.4-26.i386.rpm \
kernel-headers-2.4.9-e.3.i386.rpm \
gcc-2.96-108.1.i386.rpm \
binutils-2.11.90.0.8-12.i386.rpm
  
Development Packages (RPMs) for RH 7.3, 8.0, and 9:
  
To see if these development packages are installed on your server, run the following command:  
rpm -q gcc cpp compat-libstdc++ glibc-devel glibc-kernheaders binutils
For instance, when I installed Red Hat 9.0 and when I used the default packages for the Installation Type "Server", I had to install the following RPMs afterwards:  
su - root
rpm -ivh binutils-2.13.90.0.18-9.i386.rpm \
cpp-3.2.2-5.i386.rpm \
gcc-3.2.2-5.i386.rpm \
glibc-devel-2.3.2-5.i386.rpm \
glibc-kernheaders-2.4-8.10.i386.rpm  
  
Development Packages (RPMs) for Red Hat Enterprise Linux Advanced Server 3 (RHEL AS 3):
  
To see if these development packages are installed on your server, run the following command:  
rpm -q gcc cpp compat-libstdc++ glibc-devel glibc-headers glibc-kernheaders binutils
  
NOTE: Before you install Oracle9iR2, make sure that you also read the information about the error message "Error in invoking target install of make file /opt/oracle/product/9.2.0/network/lib/ins_oemagent.mk" in the Oracle Installation Errors section!  
  
JDK  
  
Skip this step for Oracle9iR2.
  
I successfully installed Oracle9iR2 without installing JDK on the system. Oracle comes now with its own Java. This means that you don''''t have to execute the following steps which were required for older Oracle versions:  
  
Download JDK 1.3.1 or Blackdown 1.1.8_v3: (I usually used Blackdown)
http://www.blackdown.org
http://java.sun.com
  
According to the JDK documentation, install JDK under /usr/local. Then create a symbolic link to the JDK under /usr/local/java:  
su - root
bzip2 -dc jdk118_v3-glibc-2.1.3.tar.bz2 | tar xf - -C  /usr/local
ln -s /usr/local/jdk118_v3 /usr/local/java
  
Creating Oracle User Accounts  
  
su - root
groupadd dba          # group of users to be granted with SYSDBA system privilege
groupadd oinstall     # group owner of Oracle files
useradd -c "Oracle software owner" -g oinstall -G dba oracle
passwd oracle
For more information on the "oinstall" group account, see When to use "OINSTALL" group during install of oracle.  
  
Creating Oracle Directories  
  
In this example, make sure that the /opt filesystem is large enough, see Oracle Disk Space for more information. If /opt is not on a separate filesystem, then make sure the root filesystem "/" has enough space.  
  
su - root
mkdir /opt/oracle
mkdir /opt/oracle/product
mkdir /opt/oracle/product/9.2.0
chown -R oracle.oinstall /opt/oracle
                                             
mkdir /var/opt/oracle
chown oracle.dba /var/opt/oracle
chmod 755 /var/opt/oracle
  
Setting Oracle Environments  
  
Set the following Oracle environment variables before you start runInstaller.  
  
As the oracle user execute the following commands:  
# Set the LD_ASSUME_KERNEL environment variable only for Red Hat 9 and
# for Red Hat Enterprise Linux Advanced Server 3 (RHEL AS 3) !!
# Use the "Linuxthreads with floating stacks" implementation instead of NPTL:
export LD_ASSUME_KERNEL=2.4.1
  
# Oracle Environment
export ORACLE_BASE=/opt/oracle
export ORACLE_HOME=/opt

上一页  [1] [2] [3] [4] [5] [6] [7]  下一页


[网页制作]Document 和 Document.all 分别什么时候用  [网页制作]document.all与WEB标准
[Web开发]document.all还是document.getElementsByName  [Web开发]document.all与WEB标准
[SyBase]在 Red Hat Linux 9 上安装 Oracle9i Database  [ORACLE]Oracle9i 資料庫管理實務講座(一)
[ORACLE]ORACLE9i 的透明网关的配置  [ORACLE]Oracle9i OCM认证实践课考试的一些说明
[ORACLE]Installing Oracle 9iR2 on RHEL AS 3 Step-by-St…  [ORACLE]Installing Oracle 10g on RHEL AS 3 Step-by-Ste…
教程录入:mintao    责任编辑:mintao 
  • 上一篇教程:

  • 下一篇教程:
  • 【字体: 】【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口
      注:本站部分文章源于互联网,版权归原作者所有!如有侵权,请原作者与本站联系,本站将立即删除! 本站文章除特别注明外均可转载,但需注明出处! [MinTao学以致用网]
      网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!)

    同类栏目
    · Sql Server  · MySql
    · Access  · ORACLE
    · SyBase  · 其他
    更多内容
    热门推荐 更多内容
  • 没有教程
  • 赞助链接
    更多内容
    闵涛博文 更多关于武汉SEO的内容
    500 - 内部服务器错误。

    500 - 内部服务器错误。

    您查找的资源存在问题,因而无法显示。

    | 设为首页 |加入收藏 | 联系站长 | 友情链接 | 版权申明 | 广告服务
    MinTao学以致用网

    Copyright @ 2007-2012 敏韬网(敏而好学,文韬武略--MinTao.Net)(学习笔记) Inc All Rights Reserved.
    闵涛 投放广告、内容合作请Q我! E_mail:admin@mintao.net(欢迎提供学习资源)

    站长:MinTao ICP备案号:鄂ICP备11006601号-18

    闵涛站盟:医药大全-武穴网A打造BCD……
    咸宁网络警察报警平台