docker oracle install

https://hub.docker.com/r/9fevrier/oracle-11g
Informations

Oracle directory : /opt/oracle
Data directory : /app/oracle/data
SID : orcl
Login/password : system / oracle
System root : root / C%[email protected]2#
System Oracle user : oracle / oracle
Start listener : lsnrctl start
Start database : sqlplus / as sysdba then startup
Start the container

docker run --name oracle -d -t -p 1521:1521 -p 22:2222 9fevrier/oracle-11g:15.08.21  /usr/bin/supervisord -c /etc/supervisord.conf

Tags
15.08.22
CentOS 6.6 + Oracle 11g r2
SSH port 22

### 查看容器id
docker ps -a
### 进入容器
docker exec -it 60a0b1414fd3 /bin/bash

### 切换用户名
su - oracle
### 设置参数
export ORACLE_SID=orcl
export ORACLE_HOME="/opt/oracle/product/11.2.0/dbhome_1"
export PATH="${PATH}:${ORACLE_HOME}/bin"

### 启动监听
lsnrctl start
lsnrctl status
### 启动oracle实例
sqlplus / as sysdba
shutdown immediate;
startup;
select * from user_tables;

原文地址:https://www.cnblogs.com/chenzechao/p/11599593.html

时间: 2024-11-10 05:05:24

docker oracle install的相关文章

ORACLE Install (10g r2) FOR Red Hat Enterprise Linux Server release 5.5 (64 bit) (转)

OS Info----------# cat /etc/redhat-releaseRed Hat Enterprise Linux Server release 5.5 (Tikanga)# cat /etc/issue.netRed Hat Enterprise Linux Server release 5.5 (Tikanga)Kernel r on an m# uname -rm2.6.18-194.el5 x86_64# echo $MACHTYPEx86_64-redhat-linu

Oracle Install logs

oracle 11.2.0.4.0 INFO: Using paramFile: /home/oracle/softs/database/install/oraparam.ini INFO: INFO: INFO: Checking Temp space: must be greater than 120 MB. Actual 31314 MB Passed INFO: Checking swap space: must be greater than 150 MB. Actual 4094 M

[Oracle] - Install Oracle12cR1 on Oracle Linux 6.5 in VirtualBox

My Oralce Linux 6.5 is running on VirtualBox. Basic settings is 4G memory, 50G hard-disk, auto partition when install OL6.5.   ** Following series of operations need root privilege. 1. Edit /etc/hosts Add your hostname. For example, you host name ol6

使用docker oracle 容器作为开发数据库服务器

oracle 作为oltp的大佬,很多行业应用都会用到它.那么在开发的过程中就不可避免的要使用oracle数据库,oracle数据库的版本有好多,其中 express版本是免费的开发版,它的主要限制是数据库的大小最大1G,和一些性能的限制,所以拿来做开发还是比较合适的. 下面介绍下如何使用装了oracle的 docker容器来进行开发: 介绍一下docker-oracle这个image,他是在ubuntu的基础上安装oracle xe版本来完成的. pull一个已经装好oracle xe的ima

Docker 0x03:Install Docker

目录 Install Docker Centos yum 安装 运行docker-daemon并开机自启动 运行hello-world应用docker容器中 Ubn Install Docker docker现在分Moby,Docker CE 和Docker EE.由于docker开源后,将docker开源项目变为了Moby项目.对于想开发docker的人现在转移到Moby,而对于我们使用docker的用户,即再docker上有的应用开发和维护,还是关注docker EE. Centos yum

docker ce install via yum

yum update -y #yum install epel-release -y#yum install -y yum-utils -y#yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo#yum makecache fast#yum install docker-ce -y#systemctl start docker#systemctl enable docker 原文

docker centos install

1. yum update 2. yum install -y yum-utils device-mapper-persistent-data lvm2 3. yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo(阿里仓库) 4 yum list docker-ce 5. yum install docker-ce 6. systemctl start docke

docker oracle

https://hub.docker.com/r/wnameless/oracle-xe-11g/ docker run -d -p 49160:22 -p 49161:1521 -e ORACLE_ALLOW_REMOTE=true wnameless/oracle-xe-11g

docker nginx install

1. docker search nginx 2. docker pull nginx:latest 3. docker images 4. docker run --name nginx-test -p 8080:80 -d nginx 原文地址:https://www.cnblogs.com/sunnykwan/p/12233016.html