资源预览内容
第1页 / 共26页
第2页 / 共26页
第3页 / 共26页
第4页 / 共26页
第5页 / 共26页
第6页 / 共26页
第7页 / 共26页
第8页 / 共26页
第9页 / 共26页
第10页 / 共26页
亲,该文档总共26页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
Oracle database Client Installation Guide10g Release 2 (10.2) for Red hat 5.4_x86-642010-5-8 v1.11 Preinstallation tasks1.1 Logging into the system as root Start the X server software. Setup configure Execution Command configure1.2 Checking the OS requirement# lsb_release -idDistributor ID: RedHatEnterpriseServerDescription: Red Hat Enterprise Linux Server release 5.4 (Tikanga)1.3 Checking the kernel requirement# uname -r2.6.18-164.el51.4 Checking the Package RequirementsThe following packages (or later versions) must be installed (rpm-qi)binutils-2.17.50 (x86_64)compat-db-4.2.52 (x86_64)compat-libstdc+-296(i386)compat-libstdc+-33-3.2.3 (x86_64)compat-libstdc+-33-3.2.3(i386)control-center-2.16.0 (x86_64)gcc-4.1.1 (x86_64)gcc-c+-4.1.1 (x86_64)glibc-2.5-12 (x86_64)glibc-2.5-12 (i686)glibc-common-2.5-12 (x86_64)glibc-devel-2.5-12 (x86_64)glibc-devel-2.5-12(i386)glibc-headers-2.5-12 (x86_64)ksh-20060214-1.4 (x86_64)libaio-0.3.96 (x86_64)libgcc-4.1.1(i386)libgcc-4.1.1(x86_64)libgnome-2.16.0 (x86_64)libgnomeui-2.16.0 (x86_64)libgomp-4.1.1 (x86_64)libstdc+-4.1.1 (x86_64)libstdc+-devel-4.1.1 (x86_64)libXp-1.0.0-8 (i386)make-3.81 (x86_64)sysstat-7.0.0 (x86_64)1.5 Checking the kerner parameterskernel.shmall = 2097152kernel.shmmax = 3221225472kernel.shmmni = 4096kernel.sem = 250 32000 100 128fs.aio-max-nr = 1048576fs.file-max = 6815744net.ipv4.ip_local_port_range = 9000 65500net.core.rmem_default=4194304net.core.rmem_max=4194304net.core.wmem_default=1048576net.core.wmem_max=10485761.6 Checking the required user and group oracle(304)dba(403)/oracle# cat /etc/passwd.tt:x:301:401:/tt:/bin/bashoracle:x:304:403:/oracle:/bin/bashapp:x:302:401:/app:/bin/bash#cat /etc/grouptt:x:401:dba:x:403:1.7 Checking the required soft directoryCreate the filesystem /oraclelvoracle10G# df -hFilesystem Size Used Avail Use% Mounted on./dev/mapper/vg00-lvoracle 9.7G 325M 8.9G 4% /oracle.2 Installing Oracle Database Client2.1 Environment variablesAdd the path in environment file for /oracle/.profileexport ORACLE_BASE=/oracleexport ORACLE_HOME=$ORACLE_BASE/product/102/clientexport PATH=$ORACLE_HOME/bin:$PATHexport LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/lib32export LIBPATH=$ORACLE_HOME/lib2.2 Start the installationcpio -idmvc10201_database_linux_x86_64.cpio# xhost +# su - oracle$ export DISPLAY=10.40.48.194:0.0 # set the local IP for XWindow / XManager client$ xclock # test to display clock window$ /oracle/client/runInstallerNextNextNext,select allNext NextNextNextConfigure the net:NextInput the service nameChoose protocolInput the host ipTest the configurationChange LoginSuccessful Configure another net service namerbNextNextNextNextNextNextNextNextNextWhen finish the previous steps, it needs to execute the following scripts with root in another session/window, and then back to here to click the OK button.# /oracle/oraInventory/orainstRoot.shChanging permissions of /oracle/oraInventory to 770.Changing groupname of /oracle/oraInventory to dba.The execution of the script is complete# /oracle/product/102/client/root.shRunning Oracle10 root.sh script.The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /oracle/product/102/clientEnter the full pathname of the local bin directory: /usr/local/bin: Copying dbhome to /usr/local/bin . Copying oraenv to /usr/local/bin . Copying coraenv to /usr/local/bin .Creating /etc/oratab file.Entries will be added to the /etc/oratab file as needed byDatabase Configuration Assistant when a database is createdFinished running generic part of root.sh script.Now product-specific root actions will be performed.NextClose2.3 Patch Download the patch from http:/metalink.oracle.com # xhost +# su - oracle$ export DISPLAY=10.40.48.194:0.0 # set the local IP for XWindow / XManager client$ xclock # test to display clock window$ cd /oracle/patch$ ll-rw-r-r- 1 oracle dba 1195551830 May 10 11:05 p6810189_10204_Linux-x86-64.zip$ unzip p6810189_10204_Linux-x86-64.zip$ ll-rw-r-r- 1 oracle dba 1195551830 May 10 11:05 p6810189_10204_Linux-x86-64.zipdrwxr-xr-x 5 oracle dba 4096 Mar 12 2008 Disk1$ /oracle/patch/ Disk1/runInstaller3 Postinstallation Tasks 3.1 Test the connenct1,cc/oracle$sqlplus CC/SMARTCCSQL*Plus: Release 10.2.0.4.0 - Production on Tue May 11 15:31:50 2010Copyright (c) 1982
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号