I am currently attempting to install RVM on an Ubuntu server using version 8.04.4.
我目前正在尝试使用8.04.4版在Ubuntu服务器上安装RVM。
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.
目前我正在尝试单个用户安装。我是唯一一个管理这台机器的人,而且我仍然很吵。我目前正在关注RVM站点上的安装指南,并在curl命令中添加了'k'标志。关于证书的投诉仍然没有消失。
$ 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'.
My ultimate goal is merely to upgrade ruby from v1.8.6 to 1.9.2 on this machine.
我的最终目标只是在这台机器上将ruby从v1.8.6升级到1.9.2。
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?
我注意到很多人建议反对多用户安装,这就是我还没有尝试的原因。我建议尝试多用户安装吗?如果没有,有人可以协助我根除这个证书问题吗?
Thanks in advance.
提前致谢。
2 个解决方案
#1
1
Do it single user. Your problem isn't RVM though -- it's the CA certs.
做单用户。您的问题不是RVM - 它是CA证书。
Read this link and make sure your SSL is up to date, and you have installed the CA certs:
阅读此链接并确保您的SSL是最新的,并且您已安装CA证书:
https://help.ubuntu.com/community/OpenSSL
https://help.ubuntu.com/community/OpenSSL
To install ca certs on Ubuntu using apt:
使用apt在Ubuntu上安装ca证书:
apt-get install ca-certificates
#2
0
according to man curl
this problem is:
根据男人卷曲这个问题是:
77 Problem with reading the SSL CA cert (path? access rights?).
I guess you have sissues with access rights to the mentioned file:
我猜你有对所提到文件的访问权限的sissues:
/etc/ssl/certs/ca-certificates.crt
make sure is readable for all users:
确保所有用户都可以阅读:
sudo chmod 755 /etc/ /etc/ssl/ /etc/ssl/certs/
sudo chmod 644 /etc/ssl/certs/ca-certificates.crt
#1
1
Do it single user. Your problem isn't RVM though -- it's the CA certs.
做单用户。您的问题不是RVM - 它是CA证书。
Read this link and make sure your SSL is up to date, and you have installed the CA certs:
阅读此链接并确保您的SSL是最新的,并且您已安装CA证书:
https://help.ubuntu.com/community/OpenSSL
https://help.ubuntu.com/community/OpenSSL
To install ca certs on Ubuntu using apt:
使用apt在Ubuntu上安装ca证书:
apt-get install ca-certificates
#2
0
according to man curl
this problem is:
根据男人卷曲这个问题是:
77 Problem with reading the SSL CA cert (path? access rights?).
I guess you have sissues with access rights to the mentioned file:
我猜你有对所提到文件的访问权限的sissues:
/etc/ssl/certs/ca-certificates.crt
make sure is readable for all users:
确保所有用户都可以阅读:
sudo chmod 755 /etc/ /etc/ssl/ /etc/ssl/certs/
sudo chmod 644 /etc/ssl/certs/ca-certificates.crt