Skip to main content

Posts

Showing posts from February, 2016

Install oracle 11.2.0.3 in a centos 7 docker container

I installed Oracle 11.2.0.3 in a Centos 7 docker container with following steps: Setup bigger /dev/shm for the docker container, you may follow http://data-matters.blogspot.com/2016/02/config-size-of-shared-memorydevshm-for.html Install dependencies: yum -y install gcc gcc-c++ libaio-devel make Setup a rsp file for install, just follow https://gist.github.com/arnobroekhof/8465884 http://nervinformatica.com.br/blog/?p=2303 Edit stage/cvu/cvu_prereq.xml, make RUNLEVEL check IGNORABLE. The step is based on http://www.torkwrench.com/2014/10/16/automating-oracle-11-2-installation-on-rhel-7/ Install with runInstaller script: ./runInstaller -silent -responseFile /path/to/rspfile

Config the size of shared memory(/dev/shm) for docker containers

Due to the issue from github , the size of shared memory is fixed at 64M. If you want larger size /dev/shm, please upgrade your docker to version newer than 1.10, and specify --shm-size when you run a docker image. Below is the help message of --shm-size. --shm-size="" Size of /dev/shm. The format is . number must be greater than 0. Unit is optional and can be b (bytes), k (kilobytes), m (megabytes), or g (gigabytes). If you omit the unit, the system uses bytes. If you omit the size entirely, the system uses 64m.