- 博客(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
277
原创 在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
172
原创 Github is so powerful!
好几次遇到错误, 在github上发帖, 几个小时就有人回复说错误被修复, 应用已更新。 github应用群和社区真是强大, 也是开源的强大之处。 特发此帖。...
2011-12-15 17:13:08
135
原创 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
140
原创 my vimrc
[code="vim"] "basic operation set autoindent set ts=4 cmap Q q cmap W w cmap WQ wq cmap Wq wq cmap tn tabnew map ^ map $ map { map } "search, and replace the string or text ...
2011-10-27 11:55:47
134
原创 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
115
原创 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
133
原创 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
131
原创 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
150
原创 the lighttpd 1.4.29 -- installation
[b]Step 0 [/b] System envrionment , Ubuntu 10.04 Downloading from [url]http://www.lighttpd.net/download[/url] [b]Step 1 [/b] [code="java"]sudo su tar -xf lighttpd-1.4.29.tar.gz cd lighttpd-1.4...
2011-08-31 15:40:01
149
原创 installing the mysql extension for ruby
sudo apt-get install build_essential libmysqlclient15-dev libmysqld-dev sudo gem install mysql more details please check this link http://www.ruby-forum.com/topic/133380#new
2011-07-09 20:14:32
120
原创 Ruby 系列安装 <RVM 版>
RVM安装ruby系统应用免除编译安装的痛苦, 方便快捷。 su password(...密码) $ bash < > ~/.bash_profile $ ln -sf /usr/local/rvm /root/.rvm $ source .bash_profile (查看是否安装成功, 命令如下, 看到 rvm is a function 即成功) $ ty...
2011-07-09 14:42:15
128
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
191
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅