Docker容器管理基础 运行第一个容器,容器启动必须依赖镜像。 [root@localhost ~]# docker image ls #首先查看已有的镜像REPOSITORY TAG IMAGE ID CREATED SIZEnginx latest 62d49f9bab67 3 weeks a ...
分类:
其他好文 时间:
2021-05-24 05:44:20
阅读次数:
0
mybatis 什么是mybatis ? orm的半自动化框架,自己封装了jdbc,创建驱动,创建链接,创建statement等,采取mapper动态代理机制,使使用者只需要关注sql的编写。 ? mybatis的sql是通过xm或者注解来进行对欲生成的sql进行配置,再通过配置的类路劲反射找到类的 ...
分类:
编程语言 时间:
2021-05-24 05:02:56
阅读次数:
0
Git 和 HTTPS git clone https://xxx.daFei 会返回 SSL certificate problem: unable to get local issuer certificate,这时候需要把HTTPS关闭一下 git config --global http.s ...
分类:
Web程序 时间:
2021-05-24 04:28:43
阅读次数:
0
Accounts used for Azure AD Connect Azure AD Connect uses 3 accounts in order to synchronize information from on-premises or Windows Server Active Dire ...
分类:
其他好文 时间:
2021-05-24 04:09:23
阅读次数:
0
python中global关键字实现在函数内部对全局变量进行修改。 1、测试 >>> v = 10 >>> def test(): v = 5 print(v) >>> test() 5 >>> v ## 这说明在函数内部修改的全局变量只能在函数内部生效,不会真正影响全局变量 10 加global关 ...
分类:
编程语言 时间:
2021-05-24 03:51:31
阅读次数:
0
安装完haproxy后默认是没有启用日志的,如果需要日志配置,那么需要结合rsyslog 修改haproxy配置 在全局配置段中配置,定义日志记录级别。 global log 127.0.0.1 local3 info 修改rsyslog配置 #日志传输基于udp,所以需要取消这两行的注释。 [ro ...
分类:
其他好文 时间:
2021-05-24 03:50:05
阅读次数:
0
1. 配置 配置全局的用户名:git config --global user.name "zhangyang0514" 配置全局的邮箱 :git config --global use.email "18109230755@163.com" 查看当前配置 :git config --list 如下 ...
分类:
其他好文 时间:
2021-05-24 03:25:28
阅读次数:
0
错误解决过程 总结:datetime类型插入数据应给数值加''单引号。 在解决问题的过程中添加过一条语句 set global max_allowed_packet=1024*1024*16; 如果添加单引号无法解决你的问题,请尝试以下添加它。 ...
分类:
数据库 时间:
2021-05-24 01:41:37
阅读次数:
0
POJ 1005 - I Think I Need a Houseboat Description Fred Mapper is considering purchasing some land in Louisiana to build his house on. In the process o ...
分类:
其他好文 时间:
2021-05-24 00:42:36
阅读次数:
0
一份HAProxy配置文件 #全局配置 global #设置日志 log 127.0.0.1 local0 info #当前工作目录 chroot /usr/local/haproxy #用户与用户组 user haproxy group haproxy #运行进程ID uid 99 gid 99 ...
分类:
其他好文 时间:
2021-05-24 00:27:22
阅读次数:
0