openshift rhc
2016-04-24 20:12
363 查看
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\HXL>ruby -v
ruby 1.9.3p194 (2012-04-20) [i386-mingw32]
C:\Users\HXL>gem install rhc
ERROR: Could not find a valid gem 'rhc' (>= 0) in any repository
C:\Users\HXL>gem sources
*** CURRENT SOURCES ***
C:\Users\HXL>gem sources --add http://rubygems.org/ http://rubygems.org/ added to sources
C:\Users\HXL>gem install rhc
Fetching: net-ssh-2.9.2.gem (100%)
Fetching: net-scp-1.2.1.gem (100%)
Fetching: net-ssh-gateway-1.2.0.gem (100%)
Fetching: net-ssh-multi-1.2.1.gem (100%)
Fetching: archive-tar-minitar-0.5.2.gem (100%)
Fetching: highline-1.6.21.gem (100%)
Fetching: commander-4.2.1.gem (100%)
Fetching: httpclient-2.8.0.gem (100%)
Fetching: open4-1.3.4.gem (100%)
Fetching: rhc-1.38.4.gem (100%)
===========================================================================
If this is your first time installing the RHC tools, please run 'rhc setup'
===========================================================================
Successfully installed net-ssh-2.9.2
Successfully installed net-scp-1.2.1
Successfully installed net-ssh-gateway-1.2.0
Successfully installed net-ssh-multi-1.2.1
Successfully installed archive-tar-minitar-0.5.2
Successfully installed highline-1.6.21
Successfully installed commander-4.2.1
Successfully installed httpclient-2.8.0
Successfully installed open4-1.3.4
Successfully installed rhc-1.38.4
10 gems installed
Installing ri documentation for net-ssh-2.9.2...
unable to convert "\xC2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to GBK
for LICENSE.txt, skipping
Installing ri documentation for net-scp-1.2.1...
unable to convert "\xC2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to GBK
for LICENSE.txt, skipping
Installing ri documentation for net-ssh-gateway-1.2.0...
unable to convert "\xC2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to GBK
for LICENSE.txt, skipping
Installing ri documentation for net-ssh-multi-1.2.1...
unable to convert "\xC2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to GBK
for LICENSE.txt, skipping
Installing ri documentation for archive-tar-minitar-0.5.2...
Installing ri documentation for highline-1.6.21...
Installing ri documentation for commander-4.2.1...
Installing ri documentation for httpclient-2.8.0...
Installing ri documentation for open4-1.3.4...
Installing ri documentation for rhc-1.38.4...
Installing RDoc documentation for net-ssh-2.9.2...
unable to convert "\xC2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to GBK
for LICENSE.txt, skipping
Installing RDoc documentation for net-scp-1.2.1...
unable to convert "\xC2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to GBK
for LICENSE.txt, skipping
Installing RDoc documentation for net-ssh-gateway-1.2.0...
unable to convert "\xC2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to GBK
for LICENSE.txt, skipping
Installing RDoc documentation for net-ssh-multi-1.2.1...
unable to convert "\xC2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to GBK
for LICENSE.txt, skipping
Installing RDoc documentation for archive-tar-minitar-0.5.2...
Installing RDoc documentation for highline-1.6.21...
Installing RDoc documentation for commander-4.2.1...
Installing RDoc documentation for httpclient-2.8.0...
Installing RDoc documentation for open4-1.3.4...
Installing RDoc documentation for rhc-1.38.4...
C:\Users\HXL>rhc setup
OpenShift Client Tools (RHC) Setup Wizard
This wizard will help you upload your SSH keys, set your application namespace,
and check that other programs like Git are properly installed.
If you have your own OpenShift server, you can specify it now. Just hit enter to
use the server for OpenShift Online: openshift.redhat.com.
Enter the server hostname: |openshift.redhat.com|
You can add more servers later using 'rhc server'.
Login to openshift.redhat.com: 739272238@qq.com
Password: **********
OpenShift can create and store a token on disk which allows to you to access the
server without using your password. The key is stored in your home directory and
should be kept secret. You can delete the key at any time by running 'rhc
logout'.
Generate a token now? (yes|no) yes
Generating an authorization token for this client ... lasts about 1 month
Saving configuration to C:\Users\HXL\.openshift\express.conf ... done
No SSH keys were found. We will generate a pair of keys for you.
Created: C:/Users/HXL/.ssh/id_rsa.pub
Your public SSH key must be uploaded to the OpenShift server to access code.
Upload now? (yes|no)
yes
default (type: ssh-rsa)
-----------------------
Fingerprint: 9b:e3:f0:2e:9a:f2:65:66:a1:15:35:4d:cd:66:d8:72
739272238huxiaol (type: ssh-rsa)
--------------------------------
Fingerprint: e1:78:bf:4d:b3:6b:b6:4f:52:46:70:62:3b:16:2b:18
You can enter a name for your key, or leave it blank to use the default name.
Using the same name as an existing key will overwrite the old key.
Provide a name for this key: |739272238HXLPC|
Uploading key '739272238HXLPC' ... done
In order to fully interact with OpenShift you will need to install and configure
a git client if you have not already done so. Documentation for installing other
tools you will need for OpenShift can be found at https://www.openshift.com/developers/install-the-client-tools
We recommend these free applications:
* Git for Windows - a basic git command line and GUI client http://msysgit.github.io/ * TortoiseGit - git client that integrates into the file explorer http://code.google.com/p/tortoisegit/ Checking common problems
Your private SSH key file should be set as readable only to yourself. Please
run 'chmod 600 C:\Users\HXL\.ssh\id_rsa'
Checking for a domain ... mymono
Checking for applications ... found 2
leshui http://leshui-mymono.rhcloud.com/ xiaolin http://xiaolin-mymono.rhcloud.com/
You are using 2 of 3 total gears
The following gear sizes are available to you: small
Your client tools are now configured.
C:\Users\HXL>rhc port-forward
You must specify an application with -a, or run this command from within Git
directory cloned from OpenShift.
Usage: rhc port-forward <application>
Pass '--help' to see the full list of options
C:\Users\HXL>rhc port-forward xiaolin
Checking available ports ... done
Forwarding ports ...
To connect to a service running on OpenShift, use the Local address
Service Local OpenShift
------- -------------- ---- -----------------
java 127.0.0.1:8080 => 127.5.72.129:8080
mysql 127.0.0.1:3306 => 127.5.72.130:3306
Press CTRL-C to terminate port forwarding
C:\Users\Administrator>rhc show-app xiaolin --gears quota
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\HXL>ruby -v
ruby 1.9.3p194 (2012-04-20) [i386-mingw32]
C:\Users\HXL>gem install rhc
ERROR: Could not find a valid gem 'rhc' (>= 0) in any repository
C:\Users\HXL>gem sources
*** CURRENT SOURCES ***
C:\Users\HXL>gem sources --add http://rubygems.org/ http://rubygems.org/ added to sources
C:\Users\HXL>gem install rhc
Fetching: net-ssh-2.9.2.gem (100%)
Fetching: net-scp-1.2.1.gem (100%)
Fetching: net-ssh-gateway-1.2.0.gem (100%)
Fetching: net-ssh-multi-1.2.1.gem (100%)
Fetching: archive-tar-minitar-0.5.2.gem (100%)
Fetching: highline-1.6.21.gem (100%)
Fetching: commander-4.2.1.gem (100%)
Fetching: httpclient-2.8.0.gem (100%)
Fetching: open4-1.3.4.gem (100%)
Fetching: rhc-1.38.4.gem (100%)
===========================================================================
If this is your first time installing the RHC tools, please run 'rhc setup'
===========================================================================
Successfully installed net-ssh-2.9.2
Successfully installed net-scp-1.2.1
Successfully installed net-ssh-gateway-1.2.0
Successfully installed net-ssh-multi-1.2.1
Successfully installed archive-tar-minitar-0.5.2
Successfully installed highline-1.6.21
Successfully installed commander-4.2.1
Successfully installed httpclient-2.8.0
Successfully installed open4-1.3.4
Successfully installed rhc-1.38.4
10 gems installed
Installing ri documentation for net-ssh-2.9.2...
unable to convert "\xC2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to GBK
for LICENSE.txt, skipping
Installing ri documentation for net-scp-1.2.1...
unable to convert "\xC2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to GBK
for LICENSE.txt, skipping
Installing ri documentation for net-ssh-gateway-1.2.0...
unable to convert "\xC2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to GBK
for LICENSE.txt, skipping
Installing ri documentation for net-ssh-multi-1.2.1...
unable to convert "\xC2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to GBK
for LICENSE.txt, skipping
Installing ri documentation for archive-tar-minitar-0.5.2...
Installing ri documentation for highline-1.6.21...
Installing ri documentation for commander-4.2.1...
Installing ri documentation for httpclient-2.8.0...
Installing ri documentation for open4-1.3.4...
Installing ri documentation for rhc-1.38.4...
Installing RDoc documentation for net-ssh-2.9.2...
unable to convert "\xC2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to GBK
for LICENSE.txt, skipping
Installing RDoc documentation for net-scp-1.2.1...
unable to convert "\xC2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to GBK
for LICENSE.txt, skipping
Installing RDoc documentation for net-ssh-gateway-1.2.0...
unable to convert "\xC2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to GBK
for LICENSE.txt, skipping
Installing RDoc documentation for net-ssh-multi-1.2.1...
unable to convert "\xC2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to GBK
for LICENSE.txt, skipping
Installing RDoc documentation for archive-tar-minitar-0.5.2...
Installing RDoc documentation for highline-1.6.21...
Installing RDoc documentation for commander-4.2.1...
Installing RDoc documentation for httpclient-2.8.0...
Installing RDoc documentation for open4-1.3.4...
Installing RDoc documentation for rhc-1.38.4...
C:\Users\HXL>rhc setup
OpenShift Client Tools (RHC) Setup Wizard
This wizard will help you upload your SSH keys, set your application namespace,
and check that other programs like Git are properly installed.
If you have your own OpenShift server, you can specify it now. Just hit enter to
use the server for OpenShift Online: openshift.redhat.com.
Enter the server hostname: |openshift.redhat.com|
You can add more servers later using 'rhc server'.
Login to openshift.redhat.com: 739272238@qq.com
Password: **********
OpenShift can create and store a token on disk which allows to you to access the
server without using your password. The key is stored in your home directory and
should be kept secret. You can delete the key at any time by running 'rhc
logout'.
Generate a token now? (yes|no) yes
Generating an authorization token for this client ... lasts about 1 month
Saving configuration to C:\Users\HXL\.openshift\express.conf ... done
No SSH keys were found. We will generate a pair of keys for you.
Created: C:/Users/HXL/.ssh/id_rsa.pub
Your public SSH key must be uploaded to the OpenShift server to access code.
Upload now? (yes|no)
yes
default (type: ssh-rsa)
-----------------------
Fingerprint: 9b:e3:f0:2e:9a:f2:65:66:a1:15:35:4d:cd:66:d8:72
739272238huxiaol (type: ssh-rsa)
--------------------------------
Fingerprint: e1:78:bf:4d:b3:6b:b6:4f:52:46:70:62:3b:16:2b:18
You can enter a name for your key, or leave it blank to use the default name.
Using the same name as an existing key will overwrite the old key.
Provide a name for this key: |739272238HXLPC|
Uploading key '739272238HXLPC' ... done
In order to fully interact with OpenShift you will need to install and configure
a git client if you have not already done so. Documentation for installing other
tools you will need for OpenShift can be found at https://www.openshift.com/developers/install-the-client-tools
We recommend these free applications:
* Git for Windows - a basic git command line and GUI client http://msysgit.github.io/ * TortoiseGit - git client that integrates into the file explorer http://code.google.com/p/tortoisegit/ Checking common problems
Your private SSH key file should be set as readable only to yourself. Please
run 'chmod 600 C:\Users\HXL\.ssh\id_rsa'
Checking for a domain ... mymono
Checking for applications ... found 2
leshui http://leshui-mymono.rhcloud.com/ xiaolin http://xiaolin-mymono.rhcloud.com/
You are using 2 of 3 total gears
The following gear sizes are available to you: small
Your client tools are now configured.
C:\Users\HXL>rhc port-forward
You must specify an application with -a, or run this command from within Git
directory cloned from OpenShift.
Usage: rhc port-forward <application>
Pass '--help' to see the full list of options
C:\Users\HXL>rhc port-forward xiaolin
Checking available ports ... done
Forwarding ports ...
To connect to a service running on OpenShift, use the Local address
Service Local OpenShift
------- -------------- ---- -----------------
java 127.0.0.1:8080 => 127.5.72.129:8080
mysql 127.0.0.1:3306 => 127.5.72.130:3306
Press CTRL-C to terminate port forwarding
C:\Users\Administrator>rhc show-app xiaolin --gears quota
相关文章推荐
- 【POJ】[3258]River Hopscotch
- xshell配色Solarized Dark
- ubuntu安装tomcat
- Maven pom.xml中的元素modules、parent、properties以及import
- Fedora20-32bit cross-compiling arm-linux-gcc4.3.2
- webbench网站压力测试工具
- shell comand
- linux安全登录,ssh
- 嵌入式Linux 驱动开发头文件 定时器寄存器宏定义头文件
- VS2013 opencv2.4.9 配置过程若干问题
- Linux成神第一步——VI编辑器的使用
- 用saltstack批量安装jdk和tomcat
- 在Linux上安装Chef工作站
- Linux就这个范儿 第18章 这里也是鼓乐笙箫 Linux读写内存数据的三种方式
- Openfire服务器安装与配置教程
- Hadoop MapReduce多表关联程序
- Hadoop MapReduce单表关联程序
- Hadoop MapReduce数据去重程序
- Hadoop MapReduce排序程序
- apache和tomcat关系