Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2016
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. ### wnameless/oracle-xe-11g使用
  2.  
  3. 1、拉取
  4. ```
  5. docker pull wnameless/oracle-xe-11g
  6. ```
  7. 2、部署
  8. ```
  9. docker run -d -p 49160:22 -p 49161:1521 -e ORACLE_ALLOW_REMOTE=true wnameless/oracle-xe-11g
  10. ```
  11. 3、连接信息
  12. ```
  13. hostname: localhost
  14. port: 49161
  15. sid: xe
  16. username: system
  17. password: oracle
  18. ```
  19. 4、连接到oracle容器宿主机
  20. ```
  21. ssh root@localhost -p 49160
  22. root@localhost's password: admin
  23. ```
  24. 5、连接到宿主机终端
  25. ```
  26. su - oracle
  27. sqlplus '/as sysdba'
  28. ```
  29. 6、enjoy it
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement