https://openshift.redhat.com/
OpenShift is a PaaS cloud application platform launched by Redhat, where developers can build, test, deploy, and run applications that support a wide range of language environments and development frameworks, including Java, Ruby, node. js, Python, PHP, Perl, and support MySQL, PostgreSQL, MongoDB and other database services. Most importantly, its entire system is open source, just like the IaaS open source cloud software OpenStack, which is of great value to service providers who have hardware resources and want to deploy the cloud. After all, is free of things, feel a bit unreliable, but usually test with or can.
I deployed two projects (and bound domain names):
Installing OpenShift Client tool Tools
#安装rhc
gem install rhc
#生成公钥和私钥
rhc setup
#保存公钥和私钥
软件提示你是否上传新生成的公钥,输入Yes,回车,起一个别名,回车上传。
SSH key is Putty login authorized key
I'm using Gitextensions's own putty.
The key file generated by the OpenShift space is typically in the C:\Users\Administrator\.ssh\id_rsa folder.
#保存密钥到本地
SSH Login to OpenShift
copy an app's SSH address ssh://[email protected]/~/git/node.git/
#使用Putty登陆
userid:5382a0a6e0b8cd5cfe00009f
Serice:node-irving.rhcloud.com
Import PPK File
#登陆成功
git pull Replace code
Follow-up work, modify the push can, after the successful submission back to automatically restart the service app.
Git commit–a–m ' Change code by Irving '
git push
OpenShift Redhat's cross-X wall
Adding a port type to the SSH channel is dynamic
Install the Autoproxy plugin under FF, add a proxy server, and the port number is set just the same
#选择代理
#使用Putty登录OpenShift, and then open the browser
Refer:
Http://www.huiwei19.com/free/605.html
http://tedeum.iteye.com/blog/1787796
Http://www.oschina.net/p/openshift