实际安装中:
1.跳过了第二步设定交换区空间
2.安装完成后没有提示执行orainstRoot.sh,只有root.sh
实际建库中:
1.只执行了第二步,手工建库部分
2.修改文件存放路径 /opt/app/oracle/oradata/crnophq -> /usr/local/oradata/orcl
3.修改数据库名 crnophq -> orcl
4.修复建库脚本执行错误 ORA-30012: undo tablespace 'UNDOTBS1' does not exist or of wrong type,
修改 UNDO TABLESPACE undotbs -> UNDO TABLESPACE UNDOTBS1
配置监听
SID_LIST_LISTENER =
(
SID_LIST =
(
SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = /usr/local/oracle/product/11.2.0/db_1)
(SID_NAME = orcl)
)
)
LISTENER =
(
DESCRIPTION =
(
ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.199.129)(PORT = 1521)
)
)
启动监听:lnsrctl start
客户端连接,success!
Tips:
1.sqlplus中退格键处理,.bash_profile中加上stty erase ^H
2.xshell文件上传,yum install lrzsz,上传:rz
3.lnsrctl记不住,全拼:listener control,这样好记
4.监听里配置的实例名大小写敏感,ORCL客户端会连不上