Skip to content

Instantly share code, notes, and snippets.

@oeegee
Last active December 20, 2015 19:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oeegee/6183949 to your computer and use it in GitHub Desktop.
Save oeegee/6183949 to your computer and use it in GitHub Desktop.
OpenShift/testmongo 생성 JBoss User Group - WildFly 스터디 (최성훈님 강의 참조)
[rhc client tool 설치]
https://www.openshift.com/developers/rhc-client-tools-install
[ssh public key 생성]
http://git-scm.com/book/ko/Git-%EC%84%9C%EB%B2%84-SSH-%EA%B3%B5%EA%B0%9C%ED%82%A4-%EB%A7%8C%EB%93%A4%EA%B8%B0
https://www.openshift.com/developers/remote-access#keys
[Application 생성/설치]
https://github.com/openshift/jbossas-mongoDB-quickstart
---------------------------------------------------------------------------------------------------------
root@ip-10-161-5-236:/project/AA+/servers/workspace/openshift# rhc app create testmongo jbossas-7 mongodb-2.2
Application Options
-------------------
Namespace: oeegee
Cartridges: jbossas-7, mongodb-2.2
Gear Size: default
Scaling: no
Creating application 'testmongo' ... done
MongoDB 2.2 database added. Please make note of these credentials:
Root User: admin
Root Password: DKTHe6fefRZC
Database Name: testmongo
Connection URL: mongodb://$OPENSHIFT_MONGODB_DB_HOST:$OPENSHIFT_MONGODB_DB_PORT/
Waiting for your DNS name to be available ... done
Cloning into 'testmongo'...
The authenticity of host 'testmongo-oeegee.rhcloud.com (107.21.164.87)' can't be established.
RSA key fingerprint is cf:ee:77:cb:0e:fc:02:d7:72:7e:ae:80:c0:90:88:a7.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'testmongo-oeegee.rhcloud.com,107.21.164.87' (RSA) to the list of known hosts.
Your application 'testmongo' is now available.
URL: http://testmongo-oeegee.rhcloud.com/
SSH to: 520384d05973ca3fd500031d@testmongo-oeegee.rhcloud.com
Git remote: ssh://520384d05973ca3fd500031d@testmongo-oeegee.rhcloud.com/~/git/testmongo.git/
Cloned to: /project/AA+/servers/workspace/openshift/testmongo
Run 'rhc show-app testmongo' for more details about your app.
---------------------------------------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment