打赏
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 54 下一页
摘要: 1.jenkins安装 1.)docker安装 2.)测试访问 3.)配置国内镜像源 4.)离线插件下载 https://mirrors.tuna.tsinghua.edu.cn/jenkins/plugins/ //国内下载 https://plugins.jenkins.io/ http://u 阅读全文
posted @ 2020-04-10 14:19 苍山落暮 阅读(167) 评论(0) 推荐(0)
摘要: 问题记录: docker.socket: Failed with result 'service start limit hit' docker.service: Service RestartSec=100ms expired, scheduling restart. docker.service 阅读全文
posted @ 2020-04-10 10:35 苍山落暮 阅读(16518) 评论(0) 推荐(1)
摘要: docker mysql 安装 1.拉取镜像 2.运行容器 3.查看容器启动 4.相关链接 https://www.runoob.com/docker/docker install mysql.html 5.界面工具 https://dev.mysql.com/downloads/workbench 阅读全文
posted @ 2020-04-09 14:58 苍山落暮 阅读(117) 评论(0) 推荐(0)
摘要: gitlab runner安装 Debian/Ubuntu 用户 1.首先信任 GitLab 的 GPG 公钥: 2.修改清华源: 3.安装 gitlab runner: CentOS/RHEL 新建 /etc/yum.repos.d/gitlab runner.repo,内容为 再执行 4.启动 阅读全文
posted @ 2020-04-09 11:42 苍山落暮 阅读(1016) 评论(0) 推荐(0)
摘要: 1.wget直接下载: wget https://img.cdn.apipost.cn/download/linux/apipost_x64.deb //wget https://img.cdn.apipost.cn/download/linux/ApiPost linux x64.tar.xz 2 阅读全文
posted @ 2020-04-08 17:09 苍山落暮 阅读(1876) 评论(0) 推荐(0)
摘要: 1.chrome安装 wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add - sudo apt-get update sudo apt-get install google-chrome- 阅读全文
posted @ 2020-04-07 16:30 苍山落暮 阅读(805) 评论(0) 推荐(0)
摘要: harbon下载 wget https://storage.googleapis.com/harbor releases/harbor offline installer latest.tgz //百度网盘下载 https://pan.baidu.com/s/1Da5NuhNVRmmzdtjEJLt 阅读全文
posted @ 2020-04-03 15:56 苍山落暮 阅读(199) 评论(0) 推荐(0)
摘要: go应用 docker部署 1.创建hello.go 2.设置go编译的环境 3.编写Dockerfile 方法一:这样出来的镜像文件较大。 方法二:最小化构建(推荐) 4.构建镜像 5.运行容器 6.Q:我们需要将 Golang 容器和 Mysql 容器关联起来,那么我们需要怎么做呢? A:增加命 阅读全文
posted @ 2020-04-03 11:47 苍山落暮 阅读(1371) 评论(0) 推荐(0)
摘要: go get 使用 go get 命令能正常工作,你必须确保安装了合适的源码管理工具,并同时把这些命令加入你的 PATH 中。其实 go get 支持自定义域名的功能。 go get 使用时的附加参数 相关链接 http://c.biancheng.net/view/123.html 阅读全文
posted @ 2020-04-02 16:53 苍山落暮 阅读(1686) 评论(0) 推荐(0)
摘要: 1.beego 支持多语言 配置文件如下: 使用如下: 2.mysql数据库初始化 3.查询结构到struct & map 4.QueryBuilder使用 5.关联删除 on_delete 设置对应的 rel 关系删除时,如何处理关系字段。 cascade 级联删除(默认值) set_null 设 阅读全文
posted @ 2020-04-02 13:56 苍山落暮 阅读(1043) 评论(0) 推荐(0)
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 54 下一页