티스토리 뷰

RedHat OpenShift/기술문서

[설치] WebLogic 12.1.3 on Openshift

알 수 없는 사용자 2017. 7. 31. 23:31

[ WebLogic 12.1.3 on OpenShift]


1) github에서 Oracle Weblogic 관련 Dockerfille 다운로드

$ git clone https://github.com/oracle/docker-images.git


2) 웹로직 설치파일 복사

$ cp fmw_12.1.3.0.0_wls.jar OracleWebLogic/dockerfiles


3) java 이미지 만들기

$ cd java-8

$ wget --header "Cookie: oraclelicense=accept-securebackup-cookie" \

http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/server-jre-8u144-linux-x64.tar.gz

$ docker build -t oracle/serverjre:8 .


4) wls1213 이미지 생성 (-v 는 설치버전, -g 는 generic 파일)

$ ./buildDockerImage.sh -v 12.1.3 -g

Removing intermediate container 89ca4fdd24f1

Successfully built c5ecdcec8b01


  WebLogic Docker Image for 'generic' version 12.1.3 is ready to be extended: 

    

    --> oracle/weblogic:12.1.3-generic


  Build completed in 382 seconds.



5) 도메인 생성

cd OracleWebLogic/samples/1213-domain

docker build -t 1213-domain --build-arg ADMIN_PASSWORD=weblogic1 .



6) docker registry 등록 및 integrated registry 등록

$ docker push oracle/Weblogic:12.1.3-generic


$ oc import-image wls1213 --from='192.168.137.201:5000/1213-domain:latest' --insecure=true --confirm -n openshift

The import completed successfully.


Name: wls1213

Namespace: openshift

Created: Less than a second ago

Labels: <none>

Annotations: openshift.io/image.dockerRepositoryCheck=2017-07-31T14:06:31Z

Docker Pull Spec: 172.30.247.80:5000/openshift/wls1213

Unique Images: 1

Tags: 1


latest

  tagged from 192.168.137.201:5000/1213-domain:latest

    will use insecure HTTPS or HTTP connections


  * 192.168.137.201:5000/1213-domain@sha256:5b5d061c3691afc2dc25744d29ca51312ee93b8cd18556c4c95345e44e5fa448

      Less than a second ago


7) openshift 배포 (배포 전 권한 문제로 이 명령어를 먼저 수행한다 : oadm policy add-scc-to-user anyuid -z default)


공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/12   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
글 보관함