oracle12c(oracle12.1.0.1.0)安装指南--实测OEL5.9(RH5)

时间:2023-12-21 11:05:56

[root@oel ora12c]# uname -a
Linux oel 2.6.39-300.26.1.el5uek #1 SMP Thu Jan 3 18:31:38 PST 2013 x86_64 x86_64 x86_64 GNU/Linux
[root@oel ora12c]# cat /etc/oracle-release 
Oracle Linux Server release 5.9

#因为该机器上有个oracle10g的库,建在oracle用户下了,所以新建ora12c用户,以不影响原用户。

mkdir -p /u02/ora12c
useradd -g oinstall -G dba -d /u02/ora12c -m ora12c
chown -R ora12c:oinstall /u02 cp /etc/skel/.bash_profile /u02/ora12c
cp /etc/skel/.bashrc /u02/ora12c
cp /etc/skel/.bash_logout /u02/ora12c

#下面的yum指令会自动安装12c所需的所有rpm包,第一行注释的是rh6下的语句

# yum install oracle-rdbms-server-12cR1-preinstall

yum install oracle-validated

yum -y install uptrack

#解压zip文件

[ora12c@oel zip]$ ll
total 2421884
drwxr-xr-x 7 ora12c oinstall 4096 Jun 10 20:14 database
-rw-r--r-- 1 ora12c oinstall 1361028723 Jul 1 11:04 linuxamd64_12c_database_1of2.zip
-rw-r--r-- 1 ora12c oinstall 1116527103 Jul 1 11:03 linuxamd64_12c_database_2of2.zip

#启动安装程序

[root@oel ~]# su - ora12c
[ora12c@oel ~]$ pwd
/u02/ora12c
[ora12c@oel ~]$ ll
total 0
[ora12c@oel ~]$ cd ../zip/database/
[ora12c@oel database]$ ll
total 60
drwxr-xr-x 4 ora12c oinstall 4096 Jul 1 14:00 install
drwxrwxr-x 2 ora12c oinstall 4096 May 25 04:43 response
drwxr-xr-x 2 ora12c oinstall 4096 May 25 03:29 rpm
-rwxr-xr-x 1 ora12c oinstall 7808 May 25 03:29 runInstaller
drwxrwxr-x 2 ora12c oinstall 4096 May 25 04:43 sshsetup
drwxr-xr-x 14 ora12c oinstall 4096 May 25 04:43 stage
-r-xr-xr-x 1 ora12c oinstall 500 Jun 10 13:52 welcome.html
[ora12c@oel database]$ ./runInstaller

安装界面没什么不同,如下:

oracle12c(oracle12.1.0.1.0)安装指南--实测OEL5.9(RH5)

oracle12c(oracle12.1.0.1.0)安装指南--实测OEL5.9(RH5)

打完收工,话说优化器改动不小~