[root@ocp ~]# ls /tmp
linux_11gR2_database_1of2.zip linux_11gR2_database_2of2.zip
[root@ocp ~]# cd /tmp
[root@ocp tmp]# ls
linux_11gR2_database_1of2.zip linux_11gR2_database_2of2.zip
[root@ocp tmp]# unzip linux_11gR2_database_1of2.zip
-bash: unzip: command not found
[root@ocp tmp]# yum install -y unzi
创建相关用户:
[root@ocp tmp]# groupadd oinstall
[root@ocp tmp]# groupadd dba
[root@ocp tmp]# useradd -g oinstall -G dba oracle
[root@ocp tmp]# passwd oracle
Changing password for user oracle.
New UNIX password:
BAD PASSWORD: it is based on a dictionary word
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
创建相关目录
# mkdir -p /u01/app/
# chown -R oracle:oinstall /u01/app/
# chmod -R 775 /u01/app/
安装X相关软件:
# yum groupinstall -y 'X Window System'
以oracle用户登录
[oracle@ocp ~]$ /tmp/database/runInstaller
如果上图是如下所示:
# vi /etc/sysconfig/i18n
LANG="en_US.UTF-8"