OpenShift Redhat Building Nodejs Environment

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.