- 博客(8)
- 收藏
- 关注
原创 使用Kubeadm一步步部署 kubernetes 集群
部署教程基础环境准备VirtualBox: https://download.virtualbox.org/virtualbox/6.0.12/VirtualBox-6.0.12-133076-OSX.dmgCentos7-Minimal: http://mirrors.aliyun.com/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1908...
2019-10-10 15:53:11
310
原创 Java int byte 之间的相互转换
int转byte[]本文通过大端序的方式进行转换 private byte[] intToByte(int num) { byte[] bytes = new byte[4]; bytes[0] = (byte) ((num >> 24) & 0xff); bytes[1] = (byte) ((num >>...
2019-09-17 14:45:10
284
转载 docker日志路径获取(转)
docker日志路径获取转自:https://blog.csdn.net/learner198461/article/details/88133288
2019-08-14 17:43:10
814
原创 springboot mongodb连接认证失败
com.mongodb.MongoCommandException: Command failed with error 13 (Unauthorized): 'command insert requires authentication' on server localhost:27017. The full response is { "ok" : 0.0, "errmsg" : "comma...
2019-08-13 21:11:55
11207
1
原创 java MongoDB直接存pojo类
Pojo实体UserFaceCollection.javaimport lombok.Data;import java.io.Serializable;import java.util.Date;@Datapublic class UserFaceCollection implements Serializable { private static final long...
2019-08-13 19:31:16
1072
2
原创 jdbc com.alibaba.druid.pool 连接mysql8.0错误解决办法 (com.mysql.cj.jdbc.exceptions.CommunicationsException)
错误 The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicati...
2019-08-10 16:44:48
4016
1
原创 mysql8.0 配置远程连接用户
方式一: 已存在用户授权mysql> use mysql;mysql> select host,user from user where user='root';## 如果上面查询到有信息,但host为localhost或其他值,就需要根据实际需求来更新表信息mysql> update user set host='%' where user='root'; ## 如...
2019-08-05 21:08:45
950
原创 php微信消息推送
/** * @desc 公众号消息推送 * @author dongdong * @param access_token * @param openid 关注该公众号的用户openid * @param title 消息标题 * @param content 消息推送内容 * @param template_id 消息推送模板 */$appid =...
2017-08-17 09:53:23
383
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人