上一页 1 2 3 4 5 6 7 ··· 59 下一页

2020年6月11日

JAR 冲突

摘要: 遇到这种情况,在maven helper里面没有搜索到jar,结果maven打包出来就是一个包有两个版本,导致版本冲突 最终解决办法: <dependencyManagement> <dependencies> <dependency> <groupId>org.mongodb</groupId> 阅读全文

posted @ 2020-06-11 15:23 手撕高达的村长 阅读(207) 评论(0) 推荐(0) 编辑

mysql 事务遇到并发问题

摘要: 在开发中遇到过这样一个问题 一个看视频记录,更新到100就表示看完了,后面再有请求不继续更新了. 结果是: 导致,里面很多数据出现问题. 推测是以下的情况才会导致 第一条请求 事务在执行中,还未提交(因为本地有时候比较难再现,于是手动在程序中,第一条记录处理的时候,sleep了几秒,就达到这种效果了 阅读全文

posted @ 2020-06-11 14:04 手撕高达的村长 阅读(696) 评论(0) 推荐(0) 编辑

2020年6月3日

Docker 安装tomcat

摘要: 这里来记录下tomcat的安装 拉取镜像 https://hub.docker.com/_/tomcat?tab=tags 这里有各种版本的 docker pull tomcat:8.5-jdk14-openjdk-oracle 本地安装: docker run --name tomcat-test 阅读全文

posted @ 2020-06-03 17:58 手撕高达的村长 阅读(362) 评论(0) 推荐(0) 编辑

2020年6月2日

Linux 监控,性能工具

摘要: Intellij IDEA集成JProfiler性能分析神器 https://blog.csdn.net/wytocsdn/article/details/79258247 https://www.cnblogs.com/zhangyaxiao/p/6678385.html Arthas 是Alib 阅读全文

posted @ 2020-06-02 11:38 手撕高达的村长 阅读(167) 评论(0) 推荐(0) 编辑

2020年5月28日

'xterm': unknown terminal type.

摘要: 问题: 在linux上输入top命令,报错'xterm': unknown terminal type.网上找了很多方法都不行,拷贝目录也不行,下面说我的解决方法 解决: 1.将好的/usr/share/terminfo 拷贝到自己的服务器. 2.执行export,方向没有设置TERMINFO环境变 阅读全文

posted @ 2020-05-28 15:50 手撕高达的村长 阅读(3262) 评论(0) 推荐(1) 编辑

linux下压力测试工具ab的使用

摘要: 一、安装 [root@node2 logs]# yum install httpd-tools 已加载插件:fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.aliyun.com * extras: mi 阅读全文

posted @ 2020-05-28 15:03 手撕高达的村长 阅读(316) 评论(0) 推荐(0) 编辑

2020年5月22日

解决the table '' is full

摘要: 线上项目中遇到一次在数据量有3G的一张表中添加字段的问题,结果字段添加不上去. 去网上找了什么增加size的方法,没用依然如此 这里说下我的解决办法,就是创建一个和原表一样的新表,把原表的数据copy到新表中,然后改表名就解决了这个问题 insert into new_table (a,b,c) s 阅读全文

posted @ 2020-05-22 08:59 手撕高达的村长 阅读(2182) 评论(0) 推荐(0) 编辑

2020年4月29日

linux防火墙查看状态firewall、iptable

摘要: 一、iptables防火墙1、基本操作 # 查看防火墙状态 service iptables status # 停止防火墙 service iptables stop # 启动防火墙 service iptables start # 重启防火墙 service iptables restart # 阅读全文

posted @ 2020-04-29 15:21 手撕高达的村长 阅读(222) 评论(0) 推荐(0) 编辑

2020年4月24日

layer 关闭弹出框刷新父页面

摘要: 关闭当前弹出框,并刷新父页面 parent.location.reload(); // 父页面刷新 var index1 = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引 parent.layer.close(index1); 阅读全文

posted @ 2020-04-24 10:17 手撕高达的村长 阅读(437) 评论(0) 推荐(0) 编辑

2020年3月13日

MongoDb 创建用户

摘要: mongodb的用户和库绑定,访问哪个库,就用哪个用户,这里说一下创建用户的方法. show dbs use db_name 这里的db名是cpeducloud2 db.createUser({user:"duser",pwd:"test1mongodb23","roles" : [{"role" 阅读全文

posted @ 2020-03-13 12:46 手撕高达的村长 阅读(182) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 ··· 59 下一页

导航