- 2
- 0
- 约1.46千字
- 约 26页
- 2019-08-07 发布于安徽
- 举报
实用文档
文案大全
数据库安装步骤
1.创建oracle用户和组
[root@hostname ~]# groupadd oinstall
[root@hostname ~]# groupadd dba
[root@hostname ~]# useradd -g oinstall -G dba oracle
[root@hostname ~]# passwd oracle
输入两次密码
2.修改oracle用户的环境变量
oracle用户下,在 /home/oracle/.bash_profile文件中添加如下参数
[oracle@hostname ~]$ vim .bash_profile
文档最后添加:
# For Oracle
export DISPLAY=:0.0
export TMP=/tmp;
export TMPDIR=$TMP;
export ORACLE_BASE=/home/oracle/app/oracle;
export ORACLE_HOME=$ORACLE_BASE/product/12.1.0/db_1;
export ORACLE_SID=ipms;
export ORACLE_TERM=xterm;
export PATH=/usr/sbin:$PATH
export PATH=$ORACLE_HOME/bin:$PATH;
ex
原创力文档

文档评论(0)