上一页 1 ··· 44 45 46 47 48 49 50 51 52 ··· 109 下一页
摘要: 在 1-2 年前,Docker 所有容器都连接于默认的桥接网络上,也就是很多老文章鼓捣的 docker0 桥接网卡。因此实际上默认情况下所有容器都是可以互联的,没有隔离,当然这样安全性不好。而服务发现,是在这种环境下发展出来的,通过修改容器内的 /etc/hosts 文件来完成的。凡是 --link 阅读全文
posted @ 2020-06-06 23:40 jiftle 阅读(1720) 评论(0) 推荐(0) 编辑
摘要: # Nginx配置TCP服务负载均衡## 前置条件- nginx 1.18 (1.9之后支持tcp负载)- 两个前置服务## 配置文件修改LegacyStable```# cat nginx.confuser nginx;# 增加工作线程worker_processes 4;error_log /v 阅读全文
posted @ 2020-06-05 15:16 jiftle 阅读(1983) 评论(0) 推荐(0) 编辑
摘要: 1. Docker容器的重启策略Docker容器的重启策略是面向生产环境的一个启动策略,在开发过程中可以忽略该策略。Docker容器的重启都是由Docker守护进程完成的,因此与守护进程息息相关。Docker容器的重启策略如下: no,默认策略,在容器退出时不重启容器 on-failure,在容器非 阅读全文
posted @ 2020-06-04 23:53 jiftle 阅读(2179) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8"?> Multiple annotations found at this line: - cvc-complex-type.2.4.c: The matching wildcard is strict, but no decl 阅读全文
posted @ 2020-06-04 15:34 jiftle 阅读(389) 评论(0) 推荐(0) 编辑
摘要: 官方仓库地址https://github.com/joaotavora/yasnippetEmacs: How to Define Templates in YASnippethttp://ergoemacs.org/emacs/yasnippet_templates_howto.htmlemacs 阅读全文
posted @ 2020-06-03 10:50 jiftle 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 安装python 3.x: 1.sudo apt-get install python3 安装完成后 2.sudo apt-get install ipython3 它所相对应的python版本为python3,是下面这个样子的 阅读全文
posted @ 2020-06-01 19:52 jiftle 阅读(551) 评论(0) 推荐(0) 编辑
摘要: Nov 18, 2018 pythonnet简介 pythonnet是cpython的扩展 pythonnet提供了cpython和.net程序集之间交互的桥梁 pythonnet开源在github上 pythonnet安装 通过pip install pythonnet安装 pythonnet的使 阅读全文
posted @ 2020-06-01 19:39 jiftle 阅读(453) 评论(0) 推荐(0) 编辑
摘要: 缘起缘落 来源一个梦想,随身携带的开发环境,docker是个合适的工具,把开发环境和软件安装到docker内,到一个新的电脑只需要拉取docker镜像,就可以具有完整的开发环境了。 花落,实践证明,这只是个梦,docker开发者、开源大佬,包括我都是这个梦想的实践者,放弃者。 体验 拉取镜像,doc 阅读全文
posted @ 2020-05-31 12:24 jiftle 阅读(405) 评论(0) 推荐(0) 编辑
摘要: Eclipse是一款很强的Java IDE,我们在开始的时候,往往设定了默认的workspace,当用久在之后,我们可能要去更改一下workspace的位置,但是在启动的时候已经不会显示更改了。下面有几种方法可以更改workspace的目录。1、进入 Window > Preferences > G 阅读全文
posted @ 2020-05-22 14:15 jiftle 阅读(919) 评论(0) 推荐(0) 编辑
摘要: 拉取镜像 https://store.docker.com/community/images/sameersbn/bind docker pull sameersbn/bind 生成容器 docker run --name bind -d --restart=always \ --publish 5 阅读全文
posted @ 2020-05-22 12:05 jiftle 阅读(5615) 评论(1) 推荐(0) 编辑
上一页 1 ··· 44 45 46 47 48 49 50 51 52 ··· 109 下一页