自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(13)
  • 收藏
  • 关注

原创 安装与运行thin, eventmachine [CentOS6]

[size=medium]安装[/size]难点主要是关联扩展, 这个没装会报错[code="java"]yum install libevent libevent-devel[/code][code="java"]gem install thin[/code][size=medium]运行[/size]假如公网ip 10.21.133.2, (cd入c...

2013-03-22 15:56:47 235

原创 在centos6上安装ruby环境 (2013版)

[size=xx-large][b][color=darkred]第一, 以aliyun的centos 6.2 安全加固版为例, 先装编译器, 有编译器可以跳过这步[/color][/b][/size][code="code"]vi /etc/yum.conf[/code]注解掉[code="code"]#exclude=kernel*[/code]然后安装[code="cod...

2013-03-22 15:52:25 136

原创 Github is so powerful!

好几次遇到错误, 在github上发帖, 几个小时就有人回复说错误被修复, 应用已更新。github应用群和社区真是强大, 也是开源的强大之处。 特发此帖。...

2011-12-15 17:13:08 103

原创 git usage

[b]checkout a file from repository[/b][code="java"]git checkout HEAD^1 [/code]or [code="java"]git checkout [/code][b]reset the checkout[/b][code="java"]git reset --hard [/code]...

2011-11-30 16:17:25 107

原创 my vimrc

[code="vim"]"basic operationset autoindentset ts=4cmap Q qcmap W wcmap WQ wqcmap Wq wqcmap tn tabnewmap ^map $map {map }"search, and replace the string or text...

2011-10-27 11:55:47 104

原创 Some resources on the ruby way

[url=http://integrumtech.com/2010/01/how-to-build-a-ruby-gem/]How to build a rubygems[/url][url=http://stackoverflow.com/questions/5630113/how-would-you-design-such-a-dsl-in-ruby]How to buil...

2011-10-13 10:13:32 91

原创 openssl ruby centos

Fixing the openssl extension after the ruby installation.[code="inteminal"]# yum install openssl-devel.i686 openssl.i686# cd /path/to/ruby_install_package/ext/openssl/# ruby extconf.rb --with-...

2011-09-07 17:47:37 95

原创 Ruby installation on centos 6

Sometime the system will loses some packages for installing the ruby, here is the CentOS, the following denpendenices is nesscary .Donwloading ruby package from http://www.ruby-lang.org/en/downloa...

2011-09-07 16:45:23 102

原创 the lighttpd 1.4.29 -- startup script

Solution 1 :Coping this [url]http://redmine.lighttpd.net/wiki/1/ScriptsUbuntu[/url]to your folder /etc/init.d/lighttpd, and fix the path in that file as the following.[code="java"]USE...

2011-08-31 16:55:18 115

原创 the lighttpd 1.4.29 -- installation

[b]Step 0 [/b]System envrionment , Ubuntu 10.04Downloading from [url]http://www.lighttpd.net/download[/url][b]Step 1 [/b][code="java"]sudo sutar -xf lighttpd-1.4.29.tar.gzcd lighttpd-1.4...

2011-08-31 15:40:01 117

原创 installing the mysql extension for ruby

sudo apt-get install build_essential libmysqlclient15-dev libmysqld-dev sudo gem install mysqlmore details please check this linkhttp://www.ruby-forum.com/topic/133380#new

2011-07-09 20:14:32 89

原创 Ruby 系列安装 <RVM 版>

RVM安装ruby系统应用免除编译安装的痛苦, 方便快捷。supassword(...密码)$ bash < > ~/.bash_profile$ ln -sf /usr/local/rvm /root/.rvm$ source .bash_profile(查看是否安装成功, 命令如下, 看到 rvm is a function 即成功)$ ty...

2011-07-09 14:42:15 89

Ruby 系列安装

[size=large]环境: ubuntu10.04, ruby1.9.2, gem1.8.5, rails3等[b]1. 下载包[/b]ruby下载: http://www.ruby-lang.org/en/downloads/ gem下载: http://rubyforge.org/frs/?group_id=126[b]1.1 安装依赖包 和 ruby[/b]...

2011-07-04 22:07:58 152

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除