《linux下oracle10g客户端安装v1.3》由会员分享,可在线阅读,更多相关《linux下oracle10g客户端安装v1.3(26页珍藏版)》请在金锄头文库上搜索。
1、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: RedHatEn
2、terpriseServerDescription: 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)compa
3、t-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)
4、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 paramet
5、erskernel.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 C
6、hecking 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
7、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/bi
8、n:$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 cloc
9、k 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
10、, 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 comp
11、lete# /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
12、 /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.Next
13、Close2.3 Patch Download the patch from http:/ # 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 p681
14、0189_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