欢迎来到天天文库
浏览记录
ID:39466896
大小:1.58 MB
页数:13页
时间:2019-07-04
《ORACLE的安装》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、安装Oracle以二进制方式上传oracle安装文件以及补丁到临时文件夹/home/setup,需要的文件如下:p3006854_9204_LINUX.zipship_9204_linux_disk1.cpioship_9204_linux_disk2.cpioship_9204_linux_disk3.cpio1.安装oracleforLinux的补丁[root]#cd/home/setup#unzipp3006854_9204_LINUX.zip生成rhel3_pre_install.sh#shrhel3_pre_i
2、nstall.sh2.修改oracle用户的环境变量文件#su–oracle(切换用户,按提示输入oracle用户的密码)$vi.bash_profile修改.bash_profile文件,在文件的最后增加如下内容:exportLANG=CexportLC_ALL=C保存退出3.解压Oracle安装包[oracle]$cd/home/setup$cpio-idmv3、9204_linux_disk3.cpio4.安装Oracle注销oracle用户,注销整个x-windows,以oracle用户重新登录到x-window打开终端控制台[oracle]$cd/home/oracle$mkdirzxindbf$cdzxindbf$mkdirorainventory$cd/home/setup/Disk1$./runInstaller此时可能提示:DISPLAYnotset!PleasesetDISPLAYandtryagain.那么执行:$exportDISPLAY=本地pc机ip:0.4、0$exportLANG=C$./runInstaller此时会启动X-Manager将会看到:xset:unabletoopendisplay"10.40.110.138:0.0"xset:unabletoopendisplay"10.40.110.138:0.0"xsetroot:unabletoopendisplay'10.40.110.138:0.0'xset:unabletoopendisplay"10.40.110.138:0.0"xset:unabletoopendisplay"10.40.110.138:5、0.0"Creatinglink/home/oracle/.kde/socket-imp.Createdlinkfrom"/home/oracle/.kde/socket-imp"to"/tmp/ksocket-oracle"/usr/X11R6/bin/iceauth:creatingnewauthorityfile/home/oracle/.ICEauthorityCreatinglink/home/oracle/.kde/tmp-imp.Createdlinkfrom"/home/oracle/.kde/tmp-i6、mp"to"/tmp/kde-oracle"ksplash:cannotconnecttoXserver10.40.110.138:0.0kded:cannotconnecttoXserver10.40.110.138:0.0DCOPabortingcallfrom'anonymous-8562'to'kded'kded:ERROR:Communicationproblemwithkded,itprobablycrashed.kdeinit:Can'tconnecttotheXServer.kdeinit:Mightno7、tterminateatendofsession.kcminit:cannotconnecttoXserver10.40.110.138:0.0knotify:cannotconnecttoXserver10.40.110.138:0.0DCOPabortingcallfrom'anonymous-8578'to'knotify'ERROR:Communicationproblemwithknotify,itprobablycrashed.kdeinit:couldn'topen()tty:Permissiondenie8、dksmserver:cannotconnecttoXserver10.40.110.138:0.0startkde:Shuttingdown...klauncher:Exitingonsignal1startkde:Runningshutdownscripts...startkde:Done.OracleServe
3、9204_linux_disk3.cpio4.安装Oracle注销oracle用户,注销整个x-windows,以oracle用户重新登录到x-window打开终端控制台[oracle]$cd/home/oracle$mkdirzxindbf$cdzxindbf$mkdirorainventory$cd/home/setup/Disk1$./runInstaller此时可能提示:DISPLAYnotset!PleasesetDISPLAYandtryagain.那么执行:$exportDISPLAY=本地pc机ip:0.
4、0$exportLANG=C$./runInstaller此时会启动X-Manager将会看到:xset:unabletoopendisplay"10.40.110.138:0.0"xset:unabletoopendisplay"10.40.110.138:0.0"xsetroot:unabletoopendisplay'10.40.110.138:0.0'xset:unabletoopendisplay"10.40.110.138:0.0"xset:unabletoopendisplay"10.40.110.138:
5、0.0"Creatinglink/home/oracle/.kde/socket-imp.Createdlinkfrom"/home/oracle/.kde/socket-imp"to"/tmp/ksocket-oracle"/usr/X11R6/bin/iceauth:creatingnewauthorityfile/home/oracle/.ICEauthorityCreatinglink/home/oracle/.kde/tmp-imp.Createdlinkfrom"/home/oracle/.kde/tmp-i
6、mp"to"/tmp/kde-oracle"ksplash:cannotconnecttoXserver10.40.110.138:0.0kded:cannotconnecttoXserver10.40.110.138:0.0DCOPabortingcallfrom'anonymous-8562'to'kded'kded:ERROR:Communicationproblemwithkded,itprobablycrashed.kdeinit:Can'tconnecttotheXServer.kdeinit:Mightno
7、tterminateatendofsession.kcminit:cannotconnecttoXserver10.40.110.138:0.0knotify:cannotconnecttoXserver10.40.110.138:0.0DCOPabortingcallfrom'anonymous-8578'to'knotify'ERROR:Communicationproblemwithknotify,itprobablycrashed.kdeinit:couldn'topen()tty:Permissiondenie
8、dksmserver:cannotconnecttoXserver10.40.110.138:0.0startkde:Shuttingdown...klauncher:Exitingonsignal1startkde:Runningshutdownscripts...startkde:Done.OracleServe
此文档下载收益归作者所有