centos8 安装 docker
1.安装 yum-utils
sudo yum install -y yum-utils
2.设置Docker存储库
sudo yum-config-manager \ --add-repo \ https://download.docker.com/linux/centos/docker-ce.repo
3.安装 docker
sudo yum install docker-ce docker-ce-cli containerd.io -y
4.启动docker并设置开机启动
sudo systemctl start docker sudo systemctl enable docker
docker 安装 rabbitMq
参考文档:https://blog.csdn.net/qq_44402069/article/details/124303944
docker search rabbitmq:management docker pull rabbitmq:management docker run -d --hostname localhost --name rabbitmq -p 15672:15672 -p 5672:5672 rabbitmq:management
docker 安装 elasticsearch
参考文档:https://developer.aliyun.com/article/936643?spm=a2c6h.14164896.0.0.2cf26015AOmZai
docker pull elasticsearch:7.6.2 docker run --restart=always -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" -e ES_JAVA_OPTS="-Xms512m -Xmx512m" --name='docker-elasticsearch' -d elasticsearch:7.6.2
本篇文章链接 地址:https://wmzos.com/?id=66
添加新评论