1、环境
redhat5 32 + oracle 10g 32
2、卸载
[root@edrsr9p1 ~]# rm -rf /u01/app/oracle/* [root@edrsr9p1 ~]# rm -rf /etc/ora* [root@edrsr9p1 ~]# cd /usr/local/bin [root@edrsr9p1 bin]# rm -f coraenv dbhome oraenv
3、安装
[root@edrsr9p1 ~]# su - oracle [oracle@edrsr9p1 ~]$ cd /stage/10.2.0/ [oracle@edrsr9p1 10.2.0]$ unzip 10201_database_linux32.zip
[oracle@edrsr9p1 10.2.0]$ cd /stage/10.2.0/database/ [oracle@edrsr9p1 database]$ ./runInstaller Starting Oracle Universal Installer... Checking installer requirements... Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2 Failed <<<< Exiting Oracle Universal Installer, log for this session can be found at /tmp/OraInstall2012-11-17_04-21-00PM/installActions2012-11-17_04-21-00PM.log
版本兼容性检测不过,忽略版本检查。
[oracle@edrsr9p1 database]$ ./runInstaller -ignoreSysPrereqs Starting Oracle Universal Installer... Checking installer requirements... Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2 Failed <<<< >>> Ignoring required pre-requisite failures. Continuing... Preparing to launch Oracle Universal Installer from /tmp/OraInstall2012-11-17_04-29-14PM. Please wait ... DISPLAY not set. Please set the DISPLAY and try again. Depending on the Unix Shell, you can use one of the following commands as examples to set the DISPLAY environment variable: - For csh: % setenv DISPLAY 192.168.1.128:0.0 - For sh, ksh and bash: $ DISPLAY=192.168.1.128:0.0; export DISPLAY Use the following command to see what shell is being used: echo $SHELL Use the following command to view the current DISPLAY environment variable setting: echo $DISPLAY - Make sure that client users are authorized to connect to the X Server. To enable client users to access the X Server, open an xterm, dtterm or xconsole as the user that started the session and type the following command: % xhost + To test that the DISPLAY environment variable is set correctly, run a X11 based program that comes with the native operating system such as 'xclock': % <full path to xclock.. see below> If you are not able to run xclock successfully, please refer to your PC-X Server or OS vendor for further assistance. Typical path for xclock: /usr/X11R6/bin/xclock
runInstaller必须在x window下执行,不能是命令行。
[root@edrsr9p1 ~]# xhost + [root@edrsr9p1 ~]# su - oracle [oracle@edrsr9p1 ~]$ DISPLAY=:0.0;export DISPLAY
[oracle@edrsr9p1 database]$ ./runInstaller -ignoreSysPrereqs
图形界面安装,先安装软件。
netca配置服务。
dbca建库。