首页 > 网络 > 云计算 >

阿里云安装certbot-auto

2017-01-09

阿里云安装certbot-auto。安装certbot-auto就是被各种折腾。

阿里云安装certbot-auto。安装certbot-auto就是被各种折腾,

好不容易来到这一步:

Reading package lists... Done

Building dependency tree       
Reading state information... Done
dialog is already the newest version.
gcc is already the newest version.
python is already the newest version.
python-dev is already the newest version.
ca-certificates is already the newest version.
libssl-dev is already the newest version.
augeas-lenses is already the newest version.
libaugeas0 is already the newest version.
libffi-dev is already the newest version.
python-virtualenv is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Creating virtual environment...
Installing Python packages...

然后就是被卡住了,经过各种查找,一个比较靠谱的说法是:内存不够了!

会产生这种错误:

x86_64-linux-gnu-gcc: internal compiler error: Killed (program cc1)

于是, 我关闭了各种我能够控制的程序,然后根据大神的说明做如下处理:

sudo dd if=/dev/zero of=/swapfile bs=1024 count=524288
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
这种方法,下载原程序安装时通过,直接运行还在等待中。。。
相关文章
最新文章
热点推荐