切换到oracle用户
su - oracle
启动监听
lsnrctl start
确认是不是想要启动的oracle实例
echo $ORACLE_SID
如果不是,切换SID
oracle切换SID:
vi .bash_profile
修改
export ORACLE_SID=dg1
保存退出
使修改生效
. ~/.bash_profile
echo $ORACLE_SID查看
连接sqlplus
sqlplus ‘/as sysdba‘
启动
startup
Linux下启动Oracle,布布扣,bubuko.com
Linux下启动Oracle
原文:http://www.cnblogs.com/attlia/p/3660667.html