ubuntu 14.04 RVM安装
1、apt-get update 404
修改/etc/apt/sources.list里面的内容 deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
2、RVM 及ruby bundle rails 安装
http://quangelab.com/rails-setup/
###3、RVM is not a function, selecting rubies with ‘rvm use …’ will not work.
终端右键配置文件—-配置文件首选项—标题和命令—-命令—以登录shell方式运行命令
docker 安装
通过系统自带包安装(可能不是最新版)
- 通过Docker源安装最新版本
#####免 sudo 使用 docker
如果还没有 docker group 就添加一个:
将用户加入该 group 内。然后退出并重新登录就生效啦。
重启docker服务
切换当前会话到新 group 或者重启 X 会话