项目管理中:时间,成本,质量只可能同时达成两项
架构设计中:数据一致性,系统可用性,系统容错性,只可能同时满足两项

一些工作及日常随笔
项目管理中:时间,成本,质量只可能同时达成两项
架构设计中:数据一致性,系统可用性,系统容错性,只可能同时满足两项
建立install-docker.sh,内容如下:
#!/bin/bash
apt-get update
apt-get upgrade -y
apt-get install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL http://mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg | sudo apt-key add -
add-apt-repository "deb [arch=amd64] http://mirrors.aliyun.com/docker-ce/linux/ubuntu $(lsb_release -cs) stable"
apt-get update
apt-get install docker-ce docker-ce-cli containerd.io -y
建立install-docker-compose.sh,内容如下:
#!/bnin/bash
curl -L "https://get.daocloud.io/docker/compose/releases/download/1.25.5/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose