Redhat.com红帽提供可绑米免费PHP云空间
redhat.com是国外非常著名的开源技术厂家,其Linux操作系统,拥有全球最多的用户。目前redhat也推出了OpenShift平台服务,这个平台最适合开源开发人员。因其LOGO最突出的就是红帽子,在国内统称该公司为“红帽”。 红帽OpenShift支持多种开发语言,拥有比其它平台更多的灵活性,它支持用于Java、Python、PHP和Ruby更多的开发框架。对于普通用户我们可以把他用作免费PHP云空间来使用,目前每个注册用户,可以免费创建三个app应用,提供3G存储空间,单个文件上传最大200M,自定义.htaccess,支持绑定域名。本文主要介绍如何PHP语言建立网站,例如dzx2.5论坛、WP博客。
注册地址:https://openshift.redhat.com/app/
论坛演示: http://bbs-blogwp.rhcloud.com/
论坛绑米演示:http://bbs.nashui8.com/
探针测试:http://bbs-blogwp.rhcloud.com/php.php
中文WP博客:http://cnfree-blogwp.rhcloud.com/
redhat免费空间申请方法: 一、中文WP博客的建立 1、进入注册地址,点击“SIGN UP-IT FREE”,开始注册账号。




4、在管理界面,点击“ADD APPLICATION”创建应用。



6、创建应用,填写你的应用名称以及应用名。

7、创建应用完成后,会生成MysqL和WP用户名密码管理信息,注意保存好,如若丢了,只有删了重装。到此WP已经安装完成了,但WP是英文的,通过下面修改wp-config.php文件可以使WP变成中文。








6、启动压缩包里的Winscp的程序,复制上图的主机名以及选择好私匙文件,点击登录。



7、登录成功依次进入WP所在的目录/app-root/runtime/repo/php/,把wp-config.php编辑修改一下,就可以变成中文。查找define(‘WPLANG’, ”);改成define(‘WPLANG’, ‘zh_CN’);,并保存或上传覆盖。




三、这部分主要介绍如何安装BBS,当然如果有必要你也可以安装其他程序。 1、再创建一个PHP5.3的应用,创建方法和博客基本一样,把该应用的主机名复制下来,一会要登录上传程序。 注意:每个应用的“SSH主机名”都不一样,但私匙都是一个。 2、创建完成后返回该应用的管理界面。建立MySQL数据库以及管理器,需先安装MySQL数据库,后面需要的话,也可以安装数据库管理器PhpMyAdmin。


3、下图就是生成的数据库信息,全部复制下来保存文本文件,后面都有用。


5、访问unzip.php,运行解压程序。解压完成后会有提示。


6、删除掉解压程序和源文件,并开始安装论坛,一直下一步,把图三生成数据库信息,依次填入。





- rhc app add-alias -a bbs --alias bbs.nashui8.com

