易截截图软件、单文件、免安装、纯绿色、仅160KB

RHEL5下Oracle 10g完整安装说明,不信安不成功!

1.准备工作:
安装32位或64位RHEL5.4,安装向导中不需要选任何组件,不需要预配置任何用户,IP是DHCP或静态皆可。
安装后配置额外组件:
yum -y install libXp,make,binutils,gcc,kernel-headers,glibc-headers,glibc-devel,libgomp
在x86_64上还需要compat-libstdc++-33.x86_64
对x86,上传并解压10201_database_linux32.zip
对x86_64,上传10201_database_linux_x86_64.cpio,解压:
cpio -idmv < 10201_database_linux_x86_64.cpio
2.配用户,权限,目录
groupadd oinstall
groupadd dba
useradd -g oinstall -G dba oracle
passwd oracle
mkdir -p /opt/oracle
mkdir -p /opt/oracledata
chown -R oracle:oinstall /opt/oracle/
chown -R oracle:oinstall /opt/oracledata
chmod -R 775 /opt/oracle
chmod -R 775 /opt/oracledata
3系统优化参数:
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=262144
net.core.wmem_default=262144
net.core.rmem_max=262144
net.core.wmem_max=262144
用sysctl -p使之生效
4.增加如下行到 /etc/security/limits.conf
oracle   soft   nproc   2047
oracle   hard   nproc   16384
oracle   soft   nofile   1024
oracle   hard   nofile   65536
5.增加下面行到 /etc/pam.d/login
session    required     /lib/security/pam_limits.so
6./home/oracle/.bash_profile文件,加入
umask 022
export ORACLE_BASE=/opt/oracle
export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1
export ORACLE_SID=ORCL
export PATH=$PATH:$ORACLE_HOME/bin
export CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/lib
if [ $USER = "oracle" ]; then
         if [ $SHELL = "/bin/ksh" ]; then
         &nb


相关文档:

linux设置 让oracle10g自启动


在/etc/rc.d/init.d/ 创建oracle10g文件
touch oracle10g
chmod a+x oracle10g
[root@test~]# vi /etc/rc.d/init.d/oracle10g
#!/bin/bash
#chkconfig:345 51 49
#description:starts the oracle database deamons
#
ORACLE_HOME=/oracle/product/10.2.0/db_1
ORACLE_OWNER=oracle
case "$1" in
start)
echo ......

oracle 10g 安装过程

在登录em的时候。
查看一下 emctl status dbconsole
找到url地址
在启动和关闭数据库的时候出现
oracle 10g remoteoperationexception error wrong password for user
可以在
组策略 -- >本地策略 -->用户权利指. -- >作为批处理作业登录中加入这个用户
即可. ......

oracle数据库字段类型及其与Java.sql.Types的对应

字符类型:
CHAR(size):固定长度字符串,最大长度2000 bytes
VARCHAR2(size):可变长度的字符串,最大长度4000 bytes,可做索引的最大长度749
NCHAR(size):根据字符集而定的固定长度字符串,最大长度2000 bytes
NVARCHAR2(size):根据字符集而定的可变长度字符串,最大长度4000 byte
LONG:变长的字符串,最大长度限 ......

oracle在线文档地址

为防忘记,记录于下:
oracle 11gR2 : http://www.oracle.com/pls/db112/homepage,下载网址http://www.oracle.com/technology/documentation/database.html
oracle 11gR1 : http://www.oracle.com/pls/db111/homepage
oracle 10gR2 : http://www.oracle.com/pls/db102/homepage ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号