摘要: 在dockerfile中加入RUN sed -i 's/DEFAULT@SECLEVEL=2/DEFAULT@SECLEVEL=1/g' /etc/ssl/openssl.cnf 阅读全文
posted @ 2020-06-01 14:34 浪潮之巅 阅读(249) 评论(0) 推荐(0) 编辑
摘要: docker run -d -p 5672:5672 -p 15672:15672 --name rabbitmq rabbitmq:management docker exec -it rabbitmq bash rabbitmq-plugins enable rabbitmq_tracing 阅读全文
posted @ 2019-01-03 10:28 浪潮之巅 阅读(2203) 评论(0) 推荐(0) 编辑
摘要: #第一步必须先进入目录 cd /docker/service 然后先上传zip包#1 进入 service目录cd /docker/service myFile="system.zip" if [ -e $myFile ]; then#2 解压zip包unzip webapi.zip -d weba 阅读全文
posted @ 2018-10-30 07:30 浪潮之巅 阅读(364) 评论(0) 推荐(0) 编辑
摘要: 1、安装python-pip yum -y install epel-release yum -y install python-pip yum -y install epel-release yum -y install python-pip 2、安装docker-compose pip inst 阅读全文
posted @ 2018-08-01 17:23 浪潮之巅 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 测试是照着阮一峰的教程做的。http://www.ruanyifeng.com/blog/2018/02/nginx-docker.html 在第二步 映射网页目录是出现 403 Forbidden 百度一下发现是权限的问题 只要添加selinux规则 chcon -Rt svirt_sandbox 阅读全文
posted @ 2018-08-01 14:35 浪潮之巅 阅读(964) 评论(0) 推荐(0) 编辑
摘要: 1、[root@localhost ~]# yum install -y unzip 2、[root@localhost ~]# yuminstall -y wget 3、[root@localhost ~]# wget https://releases.hashicorp.com/consul/0 阅读全文
posted @ 2018-07-26 13:32 浪潮之巅 阅读(2940) 评论(0) 推荐(1) 编辑
摘要: 1、点击虚拟网络编辑器:2、选择VMnet0为桥接模式,选择自动或者网卡3、右键VMware Network Adapter 属性4、选中VMware Bridge Protocol 5、选择共享6、返回网络7、虚拟机设置8、进入CentOS 7 系统进行操作9、查看当前网卡信息[root@loca 阅读全文
posted @ 2018-07-26 09:31 浪潮之巅 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 做个记录,遇到几次了. Open PowerShell as administrator and Enable Hyper-V with dism.exe /Online /Enable-Feature:Microsoft-Hyper-V /All or Enable Hypervisor with 阅读全文
posted @ 2018-01-02 16:09 浪潮之巅 阅读(2722) 评论(0) 推荐(1) 编辑
摘要: eshoponcontainers cannot start service rabbitmq rabbitmq port is already allocated 解决方法是在任务管理器中找到erl.exe erlsrv.exe进程,并结束它。 阅读全文
posted @ 2017-12-29 09:52 浪潮之巅 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 不知道为什么我电脑上的Docker 开始怎么都出不来Shared Drives,后来通过多次切换windows 与linux竟然了出现了,最后只要共享驱动盘就能解决。 阅读全文
posted @ 2017-12-29 09:48 浪潮之巅 阅读(331) 评论(0) 推荐(0) 编辑