no response “Installing Python packages” when letsencrypt-auto

星期一, 2016-11-07 | Author: Lee | JAVA-and-J2EE, linux | 7,083 views

延续https的时间的时候,遭遇no response “Installing Python packages”,卡在一直不动的解决方法

主要执行 三,四即可

一.重新配置pip的源文件

vim ~/.pip/pip.conf
 
[global]
index-url = http://mirrors.aliyun.com/pypi/simple/
 
[install]
trusted-host=mirrors.aliyun.com

二.切换源 为aliyun 源
1、备份

mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup

2、下载新的CentOS-Base.repo 到/etc/yum.repos.d/

CentOS 5
 
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-5.repo
CentOS 6
 
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo
CentOS 7
 
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo

3、之后运行yum makecache生成缓存

三:升级对应更新

sudo yum update
sudo yum install scl-utils python27 python27-scldevel

四:续期https 可以加 –verbose 看详细信息

 ./letsencrypt-auto renew --verbose --email service@xxx.com --agree-tos --force-renewal

Tags: ,

文章作者: Lee

本文地址: https://www.pomelolee.com/1630.html

除非注明,Pomelo Lee文章均为原创,转载请以链接形式标明本文地址

No comments yet.

Leave a comment

Search

文章分类

Links

Meta