Chinaunix首页 | 论坛 | 博客
  • 博客访问: 709028
  • 博文数量: 139
  • 博客积分: 7607
  • 博客等级: 少将
  • 技术积分: 1964
  • 用 户 组: 普通用户
  • 注册时间: 2007-11-11 23:43
个人简介

...

文章分类

全部博文(139)

文章存档

2012年(53)

2011年(4)

2010年(29)

2009年(10)

2008年(33)

2007年(10)

分类: LINUX

2009-11-01 14:49:48

1.rpm -qa binutils compat-db control-center gcc gcc-c++ glibc glibc-common libstdc++ libstdc++-devel make libaio libXp
2.yum install compat* libXp
3.vi /etc/hosts
  # Do not remove the following line, or various programs
  # that require network functionality will fail.
  127.0.0.1               fanfan1 localhost.localdomain localhost
  ::1             localhost6.localdomain6 localhost6
  192.168.2.3             fanfan1.com fanfan1
3.service network restart
4./usr/sbin/groupadd oinstall;/usr/sbin/groupadd dba
5./usr/sbin/useradd -g oinstall -G dba -d /home/oracle -s /bin/bash
6.passwd oracle
7.vi /etc/sysctl.conf
  kernel.shmall = 2097152
  kernel.shmmax = 2147483648
  kernel.shmmni = 4096
  kernel.sem = 250 32000 100 128
  fs.file-max = 65536
  net.ipv4.ip_local_port_range = 1024 65000
  net.core.rmem_default = 10485761.rpm -qa binutils compat-db control-center gcc gcc-c++ glibc glibc-common libstdc++ libstdc++-devel make libaio libXp
2.yum install compat* libXp
3.vi /etc/hosts
  # Do not remove the following line, or various programs
  # that require network functionality will fail.
  127.0.0.1               fanfan1 localhost.localdomain localhost
  ::1             localhost6.localdomain6 localhost6
  192.168.2.3             fanfan1.com fanfan1
3.service network restart
4./usr/sbin/groupadd oinstall;/usr/sbin/groupadd dba
5./usr/sbin/useradd -g oinstall -G dba -d /home/oracle -s /bin/bash
6.passwd oracle
7.vi /etc/sysctl.conf
  kernel.shmall = 2097152
  kernel.shmmax = 2147483648
  kernel.shmmni = 4096
  kernel.sem = 250 32000 100 128
  fs.file-max = 65536
  net.ipv4.ip_local_port_range = 1024 65000
  net.core.rmem_default = 1048576
  net.core.rmem_max = 1048576
  net.core.wmem_default = 262144
  net.core.wmem_max = 262144
8./sbin/sysctl -p
9.su - oracle
10.vi .bash_profile
    TMP=/tmp; export TMP
    TMPDIR=$TMP; export TMPDIR
    ORACLE_BASE=/opt/oracle; export ORACLE_BASE
    ORACLE_HOME=$ORACLE_BASE/product/10.2.0.1/db_1; export ORACLE_HOME
    ORACLE_SID=WCHDB1; export ORACLE_SID
    ORACLE_TERM=xterm; export ORACLE_TERM
    PATH=/usr/sbin:$PATH; export PATH
    PATH=$ORACLE_HOME/bin:$PATH; export PATH
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
    CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
11.source ./.bash_profile
12.export LANG=C
13.export LC_ALL=C
14.unzip 10201_database_linux32.zip
15.cd database
16../runInstaller
  net.core.rmem_max = 1048576
  net.core.wmem_default = 262144
  net.core.wmem_max = 262144
8./sbin/sysctl -p
9.su - oracle
10.vi .bash_profile
    TMP=/tmp; export TMP
    TMPDIR=$TMP; export TMPDIR
    ORACLE_BASE=/opt/oracle; export ORACLE_BASE
    ORACLE_HOME=$ORACLE_BASE/product/10.2.0.1/db_1; export ORACLE_HOME
    ORACLE_SID=WCHDB1; export ORACLE_SID
    ORACLE_TERM=xterm; export ORACLE_TERM
    PATH=/usr/sbin:$PATH; export PATH
    PATH=$ORACLE_HOME/bin:$PATH; export PATH
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
    CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
11.source ./.bash_profile
12.export LANG=C
13.export LC_ALL=C
14.unzip 10201_database_linux32.zip
15.cd database
16../runInstaller
阅读(914) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~