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

as5安装oracle步骤


一:建立用户,用户组:
groupadd dba
groupadd oinstall
useradd oracle -g oinstall -G dba
passwd oracle
二:修改说明,改为as4
vi /etc/redhat-release
修改后的内容:
Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
#Red Hat Enterprise Linux Server release 5.4 (Tikanga)
三:改host(不必,网上说网络检查通不过,其实可以不进行网络监察,在安装oracle时有一步是检查,把网络监察的勾去掉即可)
vi /etc/hosts
修改后的内容:
192.168.10.172               localhost.localdomain localhost
四:export LC_ALL=en_US(如果as5安装时是english时,不必)
五:在/etc/sysctl.conf添加
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
# semaphores: semmsl, semmns, semopm, semmni
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.rmem_max=262144
net.core.wmem_default=262144
net.core.wmem_max=262144
使之生效:
/sbin/sysctl -p
六:在/etc/security/limits.conf中添加
*               soft    nproc   2047
*               hard    nproc   16384
*               soft    nofile  1024
*               hard    nofile  65536
七:在/etc/pam.d/login中添加
session    required     /lib/security/pam_limits.so
八:禁止secure linux
vi /etc/selinux/config
修改以下行:
SELINUX=disabled
九:vi ~/.bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
ORACLE_BA


相关文档:

Oracle 时间操作大全

在系统时间基础上延迟5秒
  sysdate+(5/24/60/60)
  在系统时间基础上延迟5分钟
  sysdate+5/24/60
  在系统时间基础上延迟5小时
  sysdate+5/24
  在系统时间基础上延迟5天
  sysdate+5
  在系统时间基础上延迟5月
  add_months(sysdate,-5)
  在系统时间基础上延迟5年
  add_months ......

Oracle常用操作(不断更新)

关于安装:
    安装Oracle10g时,所输入的全局的SID名称为test(即数据库名,不能作为用户名来登录),密码为test(该密码对应的用户为system,sys等)。
 
    装完后,若从网页上登录oracle,则输入url:http://localhost:1158/em 
    若无法显 ......

Oracle Hang Analysis

Author: rainnyzhong
Date:2010-1-15
 
1.  症状描述:
FALB12从EXCEL IMPORT DATA到DB,预计事务会运行1个多小时,在开始操作后40分钟左右,ORACLE挂死,任何用户都不可以再登陆了。
2.  分析
(1)        下面是挂死时OS的资源状况:
09:37:54  up 73 ......

ORACLE listerner.ora文件 参数意思

The following items are available in the network listener configuration file (listener.ora).
    * Listener Address Section
    * SID_LIST_listener_name Static Service Section
    * Control Parameters
The listener.ora file is located in $ORACLE_HOME/n ......

oracle 数据统计中的名次排序和截取

exname stuname source
王海 数学 86
佼佼 数学 95
芳儿 数学 93
锅炉 数学 95
周学军 数学 93
王海 语文 86
佼佼 语文 95
芳儿 语文 93
按学科和分数排名。排名有2种方式,一种是排名重复则不显示下一名 一种重复也继续显示。
排名一:
select t.exmename,
t.stuname ,
rank() over(partiti ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号