问题描述
我目前正在尝试在使用 8.04.4 版本的 Ubuntu 服务器上安装 RVM.
I am currently attempting to install RVM on an Ubuntu server using version 8.04.4.
目前我正在尝试单用户安装.我是唯一管理这台机器的人,我对此仍然很菜.我目前正在关注 RVM 站点上的安装指南,并将k"标志添加到 curl 命令.关于证书的投诉仍然没有消失.
At the moment I am a attempting a single user install. I am the only person who administers this machine and I am still pretty noobish at this. I am currently following he installations guide on the RVM site and added the 'k' flag to the curl command. The complaints about the certificate still do not go away.
$ bash -s stable < <(curl -sk https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
Downloading RVM from wayneeseguin branch stable
curl: (77) error setting certificate verify locations:
CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
Could not download 'https://github.com/wayneeseguin/rvm/tarball/stable'.
curl returned status '77'.
我的最终目标只是在这台机器上将 ruby 从 v1.8.6 升级到 1.9.2.
My ultimate goal is merely to upgrade ruby from v1.8.6 to 1.9.2 on this machine.
我注意到很多人反对多用户安装,这就是为什么我还没有尝试过.是否建议我尝试多用户安装?如果没有,有人可以帮助我解决此证书问题吗?
I've noticed many people recommending against a multi-user installation which is why I have yet to attempt it. Is it recommended that I try a multi-user installation? If not can someone assist me in eradicating this certificate issue?
提前致谢.
推荐答案
单用户操作.不过,您的问题不是 RVM——而是 CA 证书.
Do it single user. Your problem isn't RVM though -- it's the CA certs.
阅读此链接并确保您的 SSL 是最新的,并且您已安装 CA 证书:
Read this link and make sure your SSL is up to date, and you have installed the CA certs:
https://help.ubuntu.com/community/OpenSSL
使用 apt 在 Ubuntu 上安装 ca 证书:
To install ca certs on Ubuntu using apt:
apt-get install ca-certificates
这篇关于我在 Ubuntu 8.04.4 机器上安装 RVM 失败.我应该将其安装为多用户吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!