OpenShift使用总结

来源:互联网 发布:淘宝整蛊零食店铺推荐 编辑:程序博客网 时间:2024/06/06 20:00

1.安装

ruby 、git 这两个没有难度。安装一下就行了。

rhc这个比较麻烦。

1.gem sources -r https://rubygems.org/

2.gem sources -a http://rubygems.org/

3.gem install rhc

4.ok了。网络问题。在中国开发。就是在跟网络和编码较劲。

rhc setup
DL is deprecated, please use Fiddle
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'.

至此,已经完事了。可以运行了。

但是。最终还是败给了中国的网络。OpenShift提供的域名在咱们这是不可以访问的。

这也是为什么os在中国没什么人用的道理。还是转投新浪了。新浪的SEA还是很适合我这种不太想花钱的玩家的。呵呵。

谢谢。。。洗洗睡了。

0 0
原创粉丝点击