安装环境:
操作系统:
数据库系统:
#du -sh database/ 察看database文件夹大小 #sysctl -a |grep sem 修改内核参数
安装步骤:
1\配置本地YUM源
2\
#groupadd oinstall
#groupadd dba
#useradd -g oinstall -G dba oracle 主组为oinstall 附属组 dba
#passwd oracle
#mkdir /u01
#chown oracle.oinstall /u01 修改 所属用户和组
#xhost +
#su - oracle
#./runinstaller
oracle_base /u01/app/oracle
oracle_home /u01/app/oracle/product/11.2.0/dbhome_1
inventory directory /u01/app/orainventory
oraventory group name oinstall
global database name orcl
oracle service identifier(SID) orcl
file system specify database file location: /u01/app/oracle/oradata
sys/system/sysman/dbsnmp datong
database infromation
global database name orcl
system identifier(SID ) orcl
server parameter file name /u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfileorcl.ora
修改环境变量:
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1
export ORACLE_SID=orcl
export PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/lib