Ubuntu安装docker 运维 更新系统包 sudo apt update 安装依赖包 sudo apt install apt-transport-https ca-certificates curl software-properties-common 添加 Docker 的 GPG 密钥 curl -fsSL https
解决GOPROXY默认值https://proxy.golang.org,direct被墙无法下载依赖的问题 默认分类 一劳永逸的解决办法:命令行直接输入(需要先安装配置go环境变量),全局生效 go env -w GOPROXY=https://goproxy.cn,direct
无法通过ssh连接到远程linux服务器的可能原因 检查linux的ssh配置文件/etc/ssh/sshd_config,找到如下配置是否存在并且未被注释: PubkeyAuthentication yes AuthorizedKeysFile .ssh/authorized_keys 放开注释后重启ssh服务 sudo systemctl res
docker部署postgres 运维 docker-compose.yml version: "3.9" services: postgres: image: postgres:11.5 container_name: postgres restart: unless-stopped environm
docker部署jenkins 运维 docker-compose.yml version: '3' services: jenkins: image: jenkins/jenkins:lts ports: - "10240:8080" - "10241:50000" volumes:
docker部署NPM(nginx proxy manager) 运维 需要将其它docker部署的应用程序放在同一个网络下,这里创建了一个docker-common的网络 docker-compose.yml version: '3' services: app: image: 'jc21/nginx-proxy-manager:latest' r
docker部署hbase 运维 docker-compose.yml version: '3' services: hbase-master: image: harisekhon/hbase:${VERSION:-latest} container_name: hbase restart: always
docker部署minio 运维 docker-compose.yml version: "3.9" # rotating logs so they do not overflow x-logging: logging: &default-logging driver: "local" options:
docker部署elasticsearch+kibana+es-exporter 运维 docker-compose.yml version: '3' volumes: es-conf: driver: local driver_opts: type: 'none' o: 'bind' device: '/opt/elastics