- 博客(433)
- 资源 (2)
- 收藏
- 关注
转载 nginx error: (99: Cannot assign requested address)如何解决?
https://cloud.tencent.com/developer/ask/55222/answer/91335
2019-09-26 14:35:04
5589
转载 opc plc解释
https://opcdatahub.com/WhatIsOPC.htmlmodbus和opc区别https://modbus.control.com/thread/1026215470
2019-09-23 11:20:51
1129
转载 linux启动service服务
https://medium.com/@ameyadhamnaskar/running-java-application-as-a-service-on-centos-599609d0c641
2019-09-17 15:53:17
1723
转载 win10摄像头灰屏问题
http://iknow.lenovo.com/detail/dc_141257.htmlhttps://www.itsupportguides.com/knowledge-base/windows-10/solved-lenovo-built-in-webcam-camera-not-working-windows-10/https://support.microsoft.com/en-...
2019-09-11 10:50:12
4412
转载 webrtc安装的一些参考资料
https://github.com/webrtc/apprtc/issues/603https://github.com/webrtc/apprtc/issues/556https://blog.youkuaiyun.com/qq_31967569/article/details/81060525https://github.com/webrtc/apprtc/issues/384https...
2019-09-09 10:56:39
532
转载 javascript modules
https://www.freecodecamp.org/news/javascript-modules-a-beginner-s-guide-783f7d7a5fcc/https://scotch.io/tutorials/a-zero-configuration-module-bundler-meet-parcelhttps://hungryturtlecode.com/tutoria...
2019-08-15 17:33:26
306
转载 百度地图,openlayers ,arcgis
百度地图接openlayershttp://www.openlayers.cn/forum.php?mod=viewthread&tid=222https://www.cnblogs.com/songjiang6940/p/openlayers_baidu.html
2019-08-07 17:22:19
607
原创 kubernetes资料
https://queue.acm.org/detail.cfm?id=2898444这篇文章写了kubernetes的前世今生,之前学习kbs总是感觉他的一些设定很怪,这里说了为什么这么设计,还有现实中设计容器遇到的问题。之前公司使用了spring cloud,但实践中发现,spring cloud更多的是用软件层的实现来控制多服务节点,这种感觉有些无力感,在多服务多节点的情况下,好多部...
2019-07-26 11:48:30
345
转载 maven如何使用外部的配置文件
https://stackoverflow.com/questions/1510071/maven-how-can-i-add-an-arbitrary-classpath-entry-to-a-jar参考https://yq.aliyun.com/articles/679578?spm=a2c4e.11163080.searchblog.180.54952ec100XbSaI fou...
2019-07-22 16:29:30
1654
转载 docker的一些命令,kubernetes和docker区别
docker的一些命令docker run --name mysql5.7.26 -e MYSQL_ROOT_PASSWORD=3edc4rfv -d mysql:5.7.26连接mysqldocker run -it --rm mysql mysql -hdockerip -uroot -p查看docker ip>docker inspect -f "{{range ....
2019-07-17 16:15:42
1971
转载 微服务的一些资料
介绍微服务拆分的一些问题https://auth0.com/blog/introduction-to-microservices-part-4-dependencies/https://www.apiacademy.co/articles/2015/10/the-whole-truth-about-embedding-of-dependencies-in-microservices...
2019-07-16 13:39:49
196
转载 关于activemq消息策略
https://blog.christianposta.com/activemq/activemq-message-priorities-how-it-works/http://activemq.apache.org/featurestopic queue区别http://activemq.apache.org/how-does-a-queue-compare-to-a-topic.h...
2019-07-09 16:36:27
300
转载 mvn package 和mvn install区别
https://stackoverflow.com/questions/16602017/how-are-mvn-clean-package-and-mvn-clean-install-different今天一个依赖项目改了一些东西,但是mvn package依赖的项目后,还是找不到,后来找的了这两个命令的区别Well, both will clean. That means they'l...
2019-07-08 17:15:55
4540
原创 spring boot依赖包冲突
今天打包maven报了很多错,我之前是parent继承parent项目,该项目没有用spring boot,而是自己到了很多spring 的各种包,但是我这个继承项目screen,想用spring boot,就造成很多异常,我开始不理解maven的机制,<depndency>spring boot<depndency>的同时,又dependency很多spring 的一...
2019-07-04 11:21:57
3294
原创 安装mysql 7 Linux - Generic
由于需要在不能连外网的环境下安装mysql,网上yum等方法就不适用了,下面贴出一个可以执行的方法安装mysql 添加用户组groupadd mysqluseradd -r -g mysql -s /bin/false mysql进入安装路径cd /usr/local解压tar zxvf /root/software/mysql-5.7.26-linux-g...
2019-07-02 16:47:29
1603
原创 centos 7 安装jdk
安装jdk1)进入目录cd software/2)创建文件夹mkdir jdk73)输入解压缩包命令sudo tar xvzf jdk-7u80-linux-x64.tar.gz -C jdk74)设置环境变量export JAVA_HOME=/root/software/jdk7/jdk1.7.0_80export PATH=$PATH:$...
2019-07-02 10:07:35
227
转载 转载 Centos7 卸载jdk1.8
首先 :rpm -qa|grep java这里有两个版本的jdk 所以我们需要卸载两个jdk使用 yum 卸载: yum -y remove java-1.8.0-openjdk-headless-1.8.0.65-3.b17.el7.x86_64然后再查看:rpm -qa|grep java我的电脑没有 nodeps 这个功能,所以我选择 yum 卸载最后发现还是没有卸...
2019-07-02 09:25:20
1054
转载 java 性能优化
https://dzone.com/articles/disappointing-story-on-java-memory-optimizationhttp://java-performance.info/overview-of-memory-saving-techniques-java/
2019-06-27 17:31:21
237
转载 关于tcp,udp区别 如何优化tcp性能 Nagle's Algorithm TCP_NODELAY
tcp udp解释https://www.diffen.com/difference/TCP_vs_UDPhttp://www.steves-internet-guide.com/tcp-vs-udp/Nagle's Algorithmhttps://www.extrahop.com/company/blog/2016/tcp-nodelay-nagle-quickack-best...
2019-06-26 09:35:34
556
转载 黑海边的天堂
https://www.douban.com/note/640342065/<黑海边的天堂> (2014-01-29 14:56:56) 一 清晨,天色蓝蒙蒙的,窗帘映出几缕光线。我的妻子格丽雅还像以前一样,准备着一家人的早餐。我默默地看着她的背影。 吃过早饭,我们出发了。儿子开着车,我和妻子坐在后座上。车子在俄罗斯广阔的土地上飞驰。 眼下已是深秋,病...
2019-06-25 16:46:56
913
转载 ThreadLocal一些源码摘抄
thread里有 threadlocalThreadLocal.ThreadLocalMap threadLocals /* ThreadLocal values pertaining to this thread. This map is maintained * by the ThreadLocal class. */ ThreadLocal.ThreadLocal...
2019-06-25 15:22:23
174
转载 redis性能方面的一些资料汇总
关于redis性能优化的几点建议https://sorentwo.com/2015/07/27/optimizing-redis-usage-for-caching.htmlredis lru的说明https://redis.io/topics/lru-cacheredis-benchmark 测试性能的使用https://redis.io/topics/benchmarks...
2019-06-25 14:05:52
152
转载 Thread Interruption
Thread Interruption The wait() method—like the sleep() and join() methods that we examined in Section 2.1—may under certain circumstances throw an InterruptedException. These methods all throw such...
2019-06-19 14:52:09
385
原创 CyclicBarrier LockSupport学习
学习CyclicBarrier可以了解下LockSupport主要是这个方法/** * Disables the current thread for thread scheduling purposes unless the * permit is available. * * <p>If the permit is available then it is con...
2019-06-19 14:48:39
248
转载 关于CyclicBarrier的一些解释
我在网上找了一些关于CyclicBarrier的一些解释In a nutshell, just to understand key functional differences between the two :public class CountDownLatch { private Object mutex = new Object(); private int co...
2019-06-19 09:58:59
289
1
原创 CountDownLatch自旋锁 clh
CountDownLatch这个类大家可以学习学习,里面用了一个clh的自旋锁模式大家可以看看关于自旋锁的介绍,他是一个公平锁。避免饥饿模式https://www.jianshu.com/p/5ad8539e25c3具体的代码可以看下node这个类,实现了自旋锁模式贴下一些代码片段abstractqueuedsynchronizerdoReleaseSharedN...
2019-06-18 16:10:37
412
转载 解析spring xml报错 没找到handler
https://stackoverflow.com/questions/971158/maven-2-assembly-plugin-clobbers-some-meta-inf-fileshttps://stackoverflow.com/questions/8609322/need-understanding-of-spring-handlers-and-spring-schemasI...
2019-06-05 10:51:27
297
转载 spring boot实现不用重启就能动态编译修改的代码
https://stackoverflow.com/questions/45639904/intelijj-idea-springboot-devtoolsspring boot实现不用重启就能动态编译修改的代码This a guide I used some time ago to make it work: https://www.mkyong.com/spring-boo...
2019-05-22 11:36:22
3186
转载 如何优化redis内存使用
这篇文章讲了如何优化redis内存使用,用最小的内存存储更多的数据,值得一读Understanding Redis hash-max-ziplist-entriesThis is an advanced topic for people who do serious stuff in Redis. I need to do serious stuff in Redis so I'm try...
2019-01-08 11:39:34
522
转载 exec user process caused "exec format error" when run container with CMD on RHE
exec user process caused "exec format error" when run container with CMD on RHEjust adding #!/bin/bash to my entry point file fixed the issue.转自:https://github.com/projectatomic/buildah/issues/475...
2018-08-20 14:32:45
6479
转载 kubernetes文档
kubernetes api https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.11/#pod-v1-corehttps://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#types-kinds...
2018-08-19 17:36:54
420
转载 kubernetes kubeadm 阿里云镜像安装方法
使用 kubeadm 创建一个 kubernetes 集群https://yq.aliyun.com/articles/431059深入玩转K8S之使用kubeadm安装Kubernetes v1.10以及常见问题解答http://blog.51cto.com/devingeng/2096495?from=singlemessageCentOS 7.4 安装 K8S v1.11.0...
2018-08-19 10:38:31
8282
转载 kafka启动使用jmx支持远程连接
sudo KAFKA_JMX_OPTS="-Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=10.0.0.109 -Djava.net.p...
2018-07-09 15:45:22
2868
1
转载 intellij 格式化代码参考
Setting -> Editor -> File and Code Templates -> Files -> Class Settings -> Edito -> Live Templates -> 参考地址1:https://blog.youkuaiyun.com/u014044812/article/details/76577479参考地址2:https://...
2018-07-03 17:02:21
1243
转载 Java分布式跟踪系统Zipkin(八):Zipkin源码分析-KafkaCollector
所有博文均在个人独立博客http://blog.mozhu.org首发,欢迎访问!前面几篇博文中,都是使用OkHttpSender来上报Trace信息给Zipkin,这在生产环境中,当业务量比较大的时候,可能会成为一个性能瓶颈,这一篇博文我们来使用KafkaSender将Trace信息先写入到Kafka中,然后Zipkin使用KafkaCollector从Kafka中收集Span信息。在Brave...
2018-06-30 10:35:16
573
转载 java.lang.IllegalArgumentException: Prometheus requires that all meters with the same name have the
JSYK. Custom servers are not supported since 2.7.x. @EnableZipkinServer is deprecated. Please use one of the supported binary release directly or use the Docker version.转自:https://github.com/openzipki...
2018-06-30 10:33:49
2787
转载 kafka如何修改复制factor
How do I change RF using Kafka managerI think it's possible to increase the replication for a topic after creationhttps://cwiki.apache.org/confluence/display/KAFKA/Replication+toolshttps://kafka.apach...
2018-06-23 11:52:18
1449
转载 No JMX Port Error
No JMX Port Error one can also add the following line to bin/kafka-server-start.sh.export JMX_PORT=${JMX_PORT:-9999}env JMX_PORT=9999 bin/kafka-server-start.sh /Users/JaideepsinhGohil/Apache/kafka_2.1...
2018-06-23 11:29:07
663
转载 spring cloud学习网站
Spring boot2.0、SpringCloud(Eureka、Config、Feign、ribbon、Sleuth、GateWay&Zuul)、Swagger2整合源码例子:https://github.com/piomin/sample-spring-microservices-new整合源码说明:http://www.itrator.top/quick-guide-to-micr...
2018-06-20 21:43:53
370
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人