会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
唐明星
手机营业厅
上一页
1
2
在Ubuntu上安装node.js
摘要: 参考这篇文章:https://www.digitalocean.com/community/articles/how-to-install-an-upstream-version-of-node-js-on-ubuntu-12-04
阅读全文
posted @ 2013-07-02 21:35 唐明星
阅读(162)
评论(0)
推荐(0)
编辑
学习使用Capistrano自动化部署
摘要: 首先,根据这篇文章进行学习:http://guides.beanstalkapp.com/deployments/deploy-with-capistrano.html1.设置capistrano使用rvm默认的ruby版本,而不是系统默认的ruby使用rvm-capistrano,在deploy.rb中写入:set :rvm_ruby_string, ENV['GEM_HOME'].gsub(/.*\//,"")set :rvm_type,:user在不同版本的gem中切换,参考stackoverflow:http://stackoverflow.com/
阅读全文
posted @ 2013-07-02 21:32 唐明星
阅读(252)
评论(0)
推荐(0)
编辑
在ubuntu server 12.04上部署Rails程序
摘要: 这篇文章主要记录的是部署nginx+unicorn服务器,同时兼顾使用自动化部署工具Capistrano合理发布新版本。主要参考的文章是:http://ruby-china.org/topics/12033在这里顺带提一下,如何将修改ubuntu的源:建议使用ubuntu的cn源,直接用vi打开/etc/apt/sources.list,输入如下命令:g/us.ar/s//cn.ar/g1.安装nginx1)增加nginx的自主源deb http://nginx.org/packages/mainline/ubuntu/ precise nginxdeb-src http://nginx.or
阅读全文
posted @ 2013-07-02 00:50 唐明星
阅读(257)
评论(0)
推荐(0)
编辑
在Ubuntu上安装ruby-china
摘要: 1.安装libpngsudo apt-get install libpng-dev2.安装imagemagicksudo apt-get install imagemagick3.安装MongoDB参考文档:https://www.digitalocean.com/community/articles/how-to-install-mongodb-on-ubuntu-12-044.安装Redis参考了discourse文档中关于安装redis的说明sudo su -mkdir /tmp/redis_installcd /tmp/redis_installwget http://redis.go
阅读全文
posted @ 2013-07-01 00:49 唐明星
阅读(696)
评论(0)
推荐(0)
编辑
安装Ruby on Rails
摘要: 参考这个教程:https://www.digitalocean.com/community/articles/how-to-install-ruby-on-rails-on-ubuntu-12-04-lts-precise-pangolin-with-rvm首先看看现在的源是啥:gemsources-l把里面的rubygem.org删除:gemsources--remove要删除的源添加新的gem源:gemsources-ahttp://ruby.taobao.org/再看一下现有的源。已经更新成功了!
阅读全文
posted @ 2013-06-29 02:13 唐明星
阅读(167)
评论(0)
推荐(0)
编辑
上一页
1
2
导航
博客园
首页
联系
订阅
管理
公告