oracle-database安装
注意,database安装在/dev/sdi盘下,即/dev/sdi挂载在/u01/app/oracle/12.1.0/db_1目录下
1.解压安装包
cd /mnt/hgfs/download
unzip
2.修改环境变量
su oracle
cd /home/oracle
vim .bash_profile
ORACLE_SID=oaec
ORACLE_HOME=/u01/app/oracle/product/12.1.0/db_home
source .bash_profile
3.创建家目录
mkdir -p /u01/app/oracle/product/12.1.0/db_1
4.su root
xhost+
su oracle
cd /mnt/hgfs/downlioad/database
./runInstaller
5.数据库安装
6. su oracle
source .bash_profile
sqlplus / as sysdba