随笔分类 - Linux点滴
摘要:lsof -i:8080 某端口的占用情况 lsof -p pid 某进程打开的文件列表 ps -ef https://linuxtools-rst.readthedocs.io/zh_CN/latest/tool/lsof.html lsof 一切皆文件 lsof(list open files)
阅读全文
摘要:在这里 https://code.google.com/archive/p/hslinuxextra/downloads https://blog.csdn.net/halazi100/article/details/41518453?utm_medium=distribute.pc_relevan
阅读全文
摘要:最近看到一篇, 虽然是考证机构写的, 但感觉不错. Linus可能没有想到, 有这么多人,这么多机构因他而发财. 既然开源, 就应该免费考. 既然设了有效期, 那么第一次交钱之后, 以后免费考或者打折考. 没有这样搞, 就是在耍流氓. 1. CompTIA Linxu+ CompTIA Linux+
阅读全文
摘要:https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit 1. Add the following line to either /etc/sysctl.conf file or a new *.conf file
阅读全文
摘要:vi设置了语法高亮后, 注释显得非常暗, 也可能是显示器不好. 解决一下. 在/etc/vimrc文件中增加一句, 就好了.暗绿色变成亮绿色了.highlight Comment ctermfg=green guifg=green另外一个, 装一下enhanceyum -y install vim-
阅读全文
摘要:https://www.cnblogs.com/hailun1987/p/7518306.html docker端口映射或启动容器时报错Error response from daemon: driver failed programming external connectivity on end
阅读全文
摘要:最近在docker上装了一台elasticesearch, 被安全部门扫描出弱密码漏洞, 修复之: cd /usr/share/elasticsearch/config vim config/elasticsearch.yml http.basic.enabled true http.basic.u
阅读全文
摘要:docker很多镜像都用debian, 都是简配, 连个vim也没安装. 所以需要自己配置debian源. docker cp xxxx:/etc/apt/sources.list ./ vim sources.list deb http://mirrors.xxxxx/debian stretch
阅读全文
摘要:今天简单试用了一下华为云IDE, 嗯....速度不行....可能是试用版的原因. 挺好 起来服务之后, 把外网端口暴露出一个来 点一个access就好了, 哈 看源代码, 速度很快, maven的doc都存好了 代码补全功能,还是挺好 package不会自动引入的感觉, 编译错误不是很明显 断点:
阅读全文
摘要:https://github.com/appbaseio/dejavu#easily-connect-and-remember-indices license也比较友好
阅读全文
摘要:https://www.cnblogs.com/sunny1009/p/11429775.htmlhttps://www.sojson.com/blog/85.htmlhttps://github.com/mobz/elasticsearch-headhttps://www.cnblogs.com/
阅读全文
摘要:https://blog.csdn.net/wdz306ling/article/details/80087889 https://www.runoob.com/linux/linux-comm-sed.html 一堆废话, 最有用 sed 's/要被取代的字串/新的字串/g' 文件
阅读全文
摘要:https://www.elastic.co/guide/cn/kibana/current/index.html 非常棒! https://www.elastic.co/guide/cn/kibana/current/tutorial-load-dataset.html 04/16:今天演练了莎士
阅读全文
摘要:官网的docker真是...简配了很多东西.连个vi也没有 https://hub.docker.com/_/elasticsearch docker network create somenetworkdocker run -d --name elasticsearch --net somenet
阅读全文
摘要:mongo很难用, 主要是因为不习惯写很多字 文档写得很不错. https://docs.mongodb.com/manual/reference/aggregation-variables/#agg-system-variables https://docs.mongodb.com/manual/
阅读全文
摘要:z最近扫描出ssh版本太低, yum update已经可以解决, 升到了7.4 但是看到网上说, 版本更新到8.0以上才可能解决问题, 于是编译安装ssh 8 ./configure --with-md5-passwords --with-pam --with-selinux --with-priv
阅读全文
摘要:/root/ 文件删除了. -bash: history: /root/.bash_history: cannot create: No such file or directory mkdir /root cp -a /etc/skel/.[!.]* /root https://blog.csdn
阅读全文
摘要:各个版本和内核对照 https://www.cnblogs.com/jing1617/p/6428382.html https://access.redhat.com/articles/3078 centos和redhat版本对照 https://www.cnblogs.com/jing1617/p
阅读全文