随笔分类 - 配置问题
摘要:拉取Prometheus、Grafana镜像 docker pull prom/prometheus docker pull grafana/grafana 监控MongoDB docker pull eses/mongodb_exporter docker run -it -p 9104:9104
阅读全文
摘要:https://zhangguodong.me/2017/01/22/nginx%E9%85%8D%E7%BD%AE%E9%9D%99%E6%80%81%E6%96%87%E4%BB%B6%E7%9B%AE%E5%BD%95404/
阅读全文
摘要:Dockfile文件 FROM golang:1.14.6 #创建工作目录 RUN mkdir -p /go/src/web_db #进入工作目录 WORKDIR /go/src/web_db #将当前目录下的所有文件复制到指定位置 COPY . /go/src/web_db #下载beego和be
阅读全文
摘要:https://blog.csdn.net/lanyang123456/article/details/89288824 https://www.shuzhiduo.com/A/8Bz88Z2Nzx/ 场景是在rpc调用中出现的,最终解决是服务设置了超时时间,客户端去调用时出现的
阅读全文
摘要:https://zhuanlan.zhihu.com/p/165514533
阅读全文
摘要:1.下载,解压缩,移动 wget https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.6.5.tgz gunzip mongodb-linux-x86_64-3.6.5.tgz tar -xvf mongodb-linux-x86_64-3
阅读全文
摘要:基本命令: sudo docker ps#查看所有容器 sudo docker exec -it 775c7c9ee1e1 /bin/bash#进入容器 如何拉取,上传镜像到Harbor仓库? docker pull tomcat:8.5.35#name:tag docker images #查看所
阅读全文
摘要:1.新建Dockerfile文件 FROM python:3.6 # install google chrome #RUN wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | apt-key add - #RUN sh -
阅读全文