如何在CentOS 5.5中安装RVM?

时间:2021-02-01 07:16:33

I followed this link to install RVM https://rvm.io/rvm/install/

我按照此链接安装RVM https://rvm.io/rvm/install/

and then gave command \curl -L https://get.rvm.io | bash -s stable

然后给出命令\ curl -L https://get.rvm.io | bash -s稳定

I'm getting the following error,

我收到以下错误,

 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                             Dload  Upload   Total   Spent    Left  Speed
 100   185  100   185    0     0    105      0  0:00:01  0:00:01 --:--:--     0
 curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:
 error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
 More details here: http://curl.haxx.se/docs/sslcerts.html

 curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). The default
 bundle is named curl-ca-bundle.crt; you can specify an alternate file
 using the --cacert option.If this HTTPS server uses a certificate signed 
 by a CA represented in  the bundle, the certificate verification probably
 failed due to a  problem with the certificate (it might be expired, 
 or the name might not match the domain name in the URL).
 If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.

Can anyone help me to solve this?

任何人都可以帮我解决这个问题吗?

Or is than any better installation manual to install RVM in CentOS5.5?

或者是比任何更好的安装手册在CentOS5.5中安装RVM?

1 个解决方案

#1


3  

run:

跑:

sudo curl -L http://curl.haxx.se/ca/cacert.pem -o /etc/pki/tls/certs/ca-bundle.crt

It will update your certificates (I have tested it on centos 5.6).

它将更新您的证书(我已经在centos 5.6上测试过它)。

#1


3  

run:

跑:

sudo curl -L http://curl.haxx.se/ca/cacert.pem -o /etc/pki/tls/certs/ca-bundle.crt

It will update your certificates (I have tested it on centos 5.6).

它将更新您的证书(我已经在centos 5.6上测试过它)。