这篇文章主要为大家展示了“RHEL4上如何安装Oracle1”,内容简而易懂,条理清晰,希望能够帮助大家解决疑惑,下面让小编带领大家一起研究并学习一下“RHEL4上如何安装Oracle1”这篇文章吧。
RHEL4上安装Oracle1,InstallRHEL4U1
/ext313500MB
swap824MB(itshouldbephysicalmemory*2.ifphysicalmemory>1G,justsetswap=physicalmemory)
IP:192.168.193.8/255.255.255.0
Hostname:RHEL4
Gateway:192.168.193.1
DNS:202.96.0.133
Nofirewall
Languages:
English(USA)
Chinese(P.R.ofChina)
Location:Asia/Shanghai
Customizesoftwarepackagestobeinstalled.
XwindowsSystem
GNOMEDesktopEnvironment
KDE(KDeskTopEnvironment)
Editors
GraphicalInternet
Office/Productivity
SoundandVideo
ServerCofigurationTools
FTPServer
LegacyNetworkServer
DevelopmentTools
LegacySoftwareDevelopment
AdministrationTools
RHEL4上安装Oracle1,OpenFTPfeature:
#setup->systemservices->vsftpd
#cd/etc/init.d
#./vsftpdstart
RHEL4上安装Oracle1,CreateOracleUser:
#groupaddoinstall
#groupadddba
#useradd-goinstall-Gdbaora10g
RHEL4上安装Oracle1,ModifyOracleuser's.bash_profile
exportORACLE_BASE=/u10/app/oracle
exportORACLE_HOME=$ORACLE_BASE/product/10.2.0.1
exportORACLE_SID=ora10g
exportPATH=$PATH:$HOME/bin:$ORACLE_HOME/bin
exportLD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/lib
exportLC_CTYPE=en_US.UTF-8
RHEL4上安装Oracle1,modifylinuxsystemparameters:
a.#vi/etc/sysctl.conf
在该文件末尾加入如下内容:
kernel.shmall=2097152
kernel.shmmax=2147483648
kernel.shmmni=4096
kernel.sem=25032000100128
fs.file-max=65536
net.ipv4.ip_local_port_range=102465000
net.core.rmem_default=262144
net.core.rmem_max=262144
net.core.wmem_default=262144
net.core.wmem_max=262144
#/sbin/sysctl-p命令操作来使我们所做的变更生效.
b.#vi/etc/security/limits.conf
#添加如下的行
*softnproc2047
*hardnproc16384
*softnofile1024
*hardnofile65536
c.#vi/etc/pam.d/login
添加:sessionrequired/lib/security/pam_limits.so
d.#vi/etc/profile文件
添加如下部分:
if[$USER="oracle"];then
if[$SHELL="/bin/ksh"];then
ulimit-p16384
ulimit-n65536
else
ulimit-u16384-n65536
fi
fi
RHEL4上安装Oracle1,确认如下package已经安装了:
确认以下rpm包都已经安装:
make-3.79
binutils-2.11
openmotif-2.2.2-16
setarch-1.3-1
compat-db-4.0.14.5
compat-gcc-7.3-2.96.122
compat-gcc-c++-7.3-2.96.122
compat-libstdc++-7.3-2.96.122
compat-libstdc++-devel-7.3-2.96.122
RHEL4上安装Oracle1,ftp10201_database_linux32.zip到/home/ora10g
RHEL4上安装Oracle1,$unzip10201_database_linux32.zip
RHEL4上安装Oracle1,Disablesendmail:
/etc/init.d
/etc/rc0.d
/etc/rc1.d
/etc/rc2.d
/etc/rc3.d
/etc/rc4.d
/etc/rc5.d
/etc/rc6.d
#mv*sendmail*./yszhang
10modify/etc/hosts:
127.0.0.1RHEL4localhost.localdomainlocalhost
变成
127.0.0.1localhost.localdomainlocalhost
192.168.193.8RHEL4
9.#xhost+
RHEL4上安装Oracle1之安oraclebinary
#mkdir/u10
#chownora10g:oinstall/u10
#su-ora10g
$/home/ora10g/database/runInstaller&
只有物理内存一项不合格,其余全部检查成功,不选择创建数据库。
以上是“RHEL4上如何安装Oracle1”这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注编程网行业资讯频道!