oracle 12C需要的rpm包
yum install -y binutils* 
yum install -y compat-libcap1* 
yum install -y compat-libstdc++* 
yum install -y compat-libstdc++* 
yum install -y gcc-* 
yum install -y gcc-c++-* 
yum install -y glibc-* 
yum install -y glibc-* 
yum install -y glibc-devel-* 
yum install -y glibc-devel-* 
yum install -y ksh*
yum install -y libgcc-* 
yum install -y libstdc++-*
yum install -y libaio-* 
yum install -y libaio-devel-* 
yum install -y libXext-*  
yum install -y libXtst-* 
yum install -y libXtst-* 
yum install -y libX11-*
yum install -y libXau-* 
yum install -y libXau-* 
yum install -y libxcb-* 
yum install -y libxcb-* 
yum install -y libXi-* 
yum install -y libXi-* 
yum install -y make-* 
yum install -y sysstat-* 

---------------------
作者:番薯伯 
来源:CSDN 
原文:https://blog.csdn.net/alangmei/article/details/22984015?utm_source=copy 
版权声明:本文为博主原创文章,转载请附上博文链接!


# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

# User specific environment and startup programs


export LANG=en_US.UTF-8
export TEMP=/tmp
export TMPDIR=/tmp
export ORACLE_SID=iot
export ORACLE_BASE=/usr/lib/oracle/12.1/client64
export ORACLE_HOME=/usr/lib/oracle/12.1/client64
export ORACLE_TERM=xterm
export PATH=$ORACLE_HOME/bin:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
export CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
umask 022
 

iot =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = zhc2-scan)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = iot)
    )
  )