尝试安装
rclone:sudo -v ; curl https://rclone.org/install.sh | sudo bash
提示如下错误:
curl: (60) SSL certificate problem: certificate has expired
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).
If the default bundle file isn’t adequate, 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.
开始时以为是证书问题,后来查询后才明白是curl版本太旧了,主机是ubuntu server 16.04,curl版本是7.40
因此尝试升级curl,但是碍于OS 16.04,一直提示已经是最新版,因此只好采用手动升级,具体步骤如下:
Step 1 : Remove the currently installed curl if installed:
sudo apt remove curl
sudo apt purge curl
Step 2 : Install the tools to compile this release and curl dependencies:
sudo apt-get update
sudo apt-get install -y libssl-dev autoconf libtool make
Step 3 : Download and install the latest release from http://curl.haxx.se/download.html. Run this commands one by one in ssh terminal:
cd /usr/local/src
rm -rf curl*
wget https://curl.haxx.se/download/curl-7.70.0.zip
unzip curl-7.70.0.zip
Compile : cd curl-7.70.0 #选择对应的版本号#
./buildconf
./configure –with-ssl
make
make install
Step 4 : Update the system’s binaries and symbol lookup (which libcurl your curl loads):
mv /usr/bin/curl /usr/bin/curl.bak
cp /usr/local/bin/curl /usr/bin/curl
完成后可通过 curl -V 查看版本
服务器托管,北京服务器托管,服务器租用 http://www.fwqtg.net
机房租用,北京机房租用,IDC机房托管, http://www.fwqtg.net
前几天看到几个逼格比较高的二维码,然后自己动手做了一下,给大家看看效果: 1、文生图(狮子): 2、文生图(城市): 下边将开始介绍怎么做的,有兴趣的可以继续读一读。 这里使用的AI绘图工具是Stable Diffusion,没有的同学需要去部署一个,计算…