VMware安装centos8
centos8 安装常用开发软件(redis rabbitmq mysql)
避免环境变量冲突,不使用时关闭虚拟机提升性能
安装CentOS8
CentOS 8 安装图解
https://zhuanlan.zhihu.com/p/85807189
在VMware中安装centos8后配置网络
https://jingyan.baidu.com/article/49ad8bce02c2011935d8fa38.html
VMware虚拟机三种网络模式详解与配置
https://blog.csdn.net/zhang33565417/article/details/97779579
安装docker
https://docs.docker.com/engine/install/centos/
centos8安装教程
https://www.pianshen.com/article/67741967305/
阿里云镜像加速器
https://cr.console.aliyun.com/cn-hangzhou/instances/mirrors
docker hub
https://hub.docker.com/
安装MySql
https://hub.docker.com/_/mysql
docker pull mysql:latest
docker run --name mysql8 -p 13306:3306 -e MYSQL_ROOT_PASSWORD=123456 --restart=always -v /etc/mysql/my.cnf:/etc/mysql/conf.d/mysqld.cnf -v /data/mysql/data:/var/lib/mysql -d mysql:latest
https://segmentfault.com/a/1190000021523570
https://www.cnblogs.com/qq931399960/p/11670625.html
安装RabbitMQ
https://juejin.cn/post/6844903970545090574
docker run -d --name rabbitmq -p 5672:5672 -p 15672:15672 --restart=always -v /data/rabbitmq:/var/lib/rabbitmq -e RABBITMQ_DEFAULT_USER=admin -e RABBITMQ_DEFAULT_PASS=123456 rabbitmq:latest
rabbitmq-plugins enable rabbitmq_management
https://blog.csdn.net/plg17/article/details/96316637
REDIS
docker pull redis:latest
docker run -d --name redis -p 6379:6379 --restart=always redis:latest