分类目录归档:容器应用

docker-ce 安装


1、卸载旧版本

sudo yum remove docker   docker-client     docker-client-latest   docker-common   docker-latest   docker-latest-logrotate  docker-logrotate  docker-engine

2、安装依赖设置yum源

#在新主机上首次安装Docker CE之前,需要设置Docker存储库。之后,您可以从存储库安装和更新Docker。
#设置存储库
#安装所需的包。yum-utils提供了yum-config-manager 效用,并device-mapper-

Read more

CURL 指定后端HOST 下载文件,防止DNS轮询


最近碰到一个问题,在测试CDN缓存,每次上传更新一个同名文件,CDN后台并未做刷新缓存动作,但依旧能下载到新的文件,此时发现其实每次解析出来CDN节点都有很多个,怀疑我每次下载用的是不同的节点如下:

root@pc:~# nslookup cos.lejunwl.com
Server:         127.0.0.53
Address:        127.0.0.53#53

Non-authoritative answer:
cos.lejunwl.com canonical name = cos.lejunwl.com.cdn.dnsv1.com.
cos.lejunwl.com.

Read more

curl 指定IP 下载文件


最近碰到一个问题,在测试CDN缓存,每次上传更新一个同名文件,CDN后台并未做刷新缓存动作,但依旧能下载到新的文件,此时发现其实每次解析出来CDN节点都有很多个,怀疑我每次下载用的是不同的节点如下:

root@pc:~# nslookup cos.lejunwl.com
Server:         127.0.0.53
Address:        127.0.0.53#53

Non-authoritative answer:
cos.lejunwl.com canonical name = cos.lejunwl.com.cdn.dnsv1.com.
cos.lejunwl.com.

Read more

Let's encrypt 安装配置 Nginx on Ubuntu 18.04 LTS


1、SSH into the server

SSH into the server running your HTTP website as a user with sudo privileges.

2、Add Certbot PPA

You'll need to add the Certbot PPA to your list of repositories. To do so, run the following commands on the command line on the machine:

sudo apt-get update
sudo apt-get install sof

Read more

TeamViewer据称“被入侵”事件的研判及结论


2019年10月11日,火眼举办的FireEyeSummit大会上,几张演讲的PPT拍照被公开到网上,其中一张提及到一款非常流行的远程控制软件TeamViewer曾经疑似被黑客组织入侵,并称其可以访问安装了TeamViewer的任何系统。 由于TeamViewer的易用性、灵活性及强大的远控功能,其使用面非常大,此事件在国内安全圈中引起了极大关注。奇安信威胁情报中心红雨滴团队对TeamViewer相关的安全事件做了收集分析,FireEye所说的事件应该发生在数年前,新版本TeamViewer仍被受控的可能性较小,原因有以下两点。

第一、根据FireEye的报告,其中提到了他们认为的TeamV

Read more