在linux下安装oracle客户端

本文档详细介绍了在Red Hat AS3系统上安装Oracle 9.2.0.4客户端的步骤,包括配置系统参数、创建用户和组、修改GCC版本、处理字符集、设置环境变量、安装客户端、修改服务名以及进行测试。通过这些步骤,确保顺利安装并能成功连接到Oracle数据库。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

本次测试为red hat的as3版本,oracle为9.2.0.4。

1、配置好系统参数
修改 /etc/sysctl.conf 加入以下的语句:
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.shmall = 2097152
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000 
修改 /etc/security/limits.conf 加入以下语句:
oracle soft nofile 65536
oracle hard nofile 65536
oracle soft nproc 16384
oracle hard nproc 16384

2、创建oracle的组、用户
# groupadd oinstall (在安装oracle时UNIX Group name:oinstall)
# groupadd dba
# useradd -g oinstall -G dba oracle
# passwd oracle

3、创建安装路径,设置权限
4、修改gcc的版本,修改相应文件连接
as3为gcc323,要用gcc296的版本才能安装
5、把如下代码编辑成shell文件,然后运行一下,处理一下系统的字符集。

 

# ! / bin / bash
#
# change rh8 chinese fonts to simsun
# This is a GPL sript .  The content comes form Xiang Yu .  Thanks him .
# usage:
# 1 ,  install rh8 and  select  simplified chinese .
# 2 ,  make a temple directory in anywhere you prefer .
#   for  example  / usr / local / temp
#   copy  'where / it / has / the / windows_fonts / simsun . ttc' and
# all of these fonts ,  simsun . ttc、SimSun18030 . ttc、tahoma . ttf and tahomabd . ttf
#  to this temp place  / usr / local / temp
# 3 ,   copy  this  shell  script into this directory .
# 4 ,   run  it
# 5 ,   set  the fonts to your most prefered ones in gnome ,  kde and xmms and others .

# first ,  put the fonts to the correct  dir .
export CDIR
=/ usr / X11R6 / lib / X11 / fonts / TrueType
# export CDIR =/ usr / local / btest
export XFConfig
=/ etc / X11 / XF86Config
# export XFConfig =/ usr / local / atest / XF86Config
export GTKRC
=/ etc / gtk / gtkrc . zh_CN
# export GTKRC =/ usr / local / atest / gtkrc . zh_CN
export GNOMERC
=/ etc / gnome / gtkrc . zh_CN
# export GNOMERC =/ usr / local / atest / gnome / gtkrc . zh_CN
export FONTSCONF
=/ etc / fonts / fonts . conf
# export FONTSCONF =/ usr / local / atest / fonts . conf
export CHINPUTAD
=/ usr / lib / Chinput / Chinput . ad
# export CHINPUTAD =/ usr / local / atest / Chinput . ad
export XMMSMO
=/ usr / share / locale
# export XMMSMO =/ usr / local / atest

mkdir   $ CDIR

# copy  the fonts to it
cp simsun
. ttc  $ CDIR / simsun . ttf
cp SimSun18030
. ttc  $ CDIR / SimSun18030 . ttf
cp t* 
$ CDIR /

# copy  encodings
cp 
/ usr / X11R6 / lib / X11 / fonts / encodings / encodings . dir   $ CDIR /

# make the fonts . dir
echo  ' 62
tahoma
. ttf -misc-kai-medium-r-normal-- 0 - 0 - 0 - 0 -p- 0 -ascii- 0
tahoma
.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值