Apr
2
centos已经被放弃了,所以尝试使用debain 为作服务器的母机系统.
目前的架构都是使用docker来运行具体的服务.所以安装docker成了第一步.
[code]
apt update
apt install apt-transport-https ca-certificates curl software-properties-common gnupg2
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
echo " deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable "> /etc/apt/sources.list.d/docker.list
apt update
apt install docker-ce
systemctl status docker.service
docker ps
docker container run hello-world
[code]
目前的架构都是使用docker来运行具体的服务.所以安装docker成了第一步.
[code]
apt update
apt install apt-transport-https ca-certificates curl software-properties-common gnupg2
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
echo " deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable "> /etc/apt/sources.list.d/docker.list
apt update
apt install docker-ce
systemctl status docker.service
docker ps
docker container run hello-world
[code]