上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 16 下一页
摘要: apt-get install ufw //安装防火墙 ufw status //查看防火墙状态,并显示已开放的端口 ufw enable //启用防火墙 sudo ufw allow/deny smtp //允许所有的外部IP访问本机的smtp服务所在的端口 sudo ufw allow/deny 阅读全文
posted @ 2020-08-21 17:19 远洪 阅读(721) 评论(0) 推荐(0) 编辑
摘要: 一、关于maven maven主要有两个功能,一是通过gav定位获取jar包,一是编译打包。 二、spring Boot 介绍 其实springboot就是一个maven项目,只不过使用了spring提供的多个starter来加载多个相关依赖包,starter简单说就是maven包的组合。 三、关系 阅读全文
posted @ 2020-08-14 16:52 远洪 阅读(1561) 评论(0) 推荐(1) 编辑
摘要: 1.用` `,(尖号)把命令括起来,然后赋值给变量 dir=`pwd` 2.采用 变量=$(pwd) dir=$(pwd) 阅读全文
posted @ 2020-07-14 18:11 远洪 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 参考地址:https://www.cnblogs.com/liyuanhong/articles/13255681.html lsb_release -a ############## cat /etc/issue cat /etc/issue.net cat /etc/lsb-release ca 阅读全文
posted @ 2020-07-06 17:02 远洪 阅读(185) 评论(0) 推荐(0) 编辑
摘要: window.open(url,"_blank","") window.open(url,"_blank") window.open(url,"_blank").location window.open(url) 阅读全文
posted @ 2020-06-02 14:07 远洪 阅读(6345) 评论(0) 推荐(1) 编辑
摘要: 最近维护一台服务器,使用putty登录后,用vim时,鼠标右键不能 粘贴而是进入了visual模式。网上查找一番找到了解决方法: 方 法一:在普通模式下键入“ :set mouse-=a”(不包括引号) 方 法二:编辑 ~/.vimrc 文件,加入如下代码: if has('mouse') set 阅读全文
posted @ 2020-02-25 15:36 远洪 阅读(959) 评论(0) 推荐(1) 编辑
摘要: 参考地址:https://blog.csdn.net/lyhDream/article/details/79342051 1、过滤返回内容包含某字符串 frame contains "xxxx" #或者 tcp contains "xxxx" #或者 http contains "xxxx" 2、地 阅读全文
posted @ 2020-02-23 23:25 远洪 阅读(3683) 评论(0) 推荐(0) 编辑
摘要: 1、启动kafka服务 bin/kafka-server-start.sh config/server.properties & 2、停止kafka服务 ./kafka-server-stop.sh 3、查看所有的话题 ./kafka-topics.sh --list --zookeeper loc 阅读全文
posted @ 2020-02-22 16:04 远洪 阅读(11975) 评论(3) 推荐(0) 编辑
摘要: 一、zookeeper的启动与关闭 #启动zookeeper ./zkServer.sh start #查看zookeeper运行状态 ./zkServer.sh status #停止zookeeper服务 ./zkServer.sh stop 二、zookeeper的链连接与退出 #连接zooke 阅读全文
posted @ 2020-02-20 22:36 远洪 阅读(7093) 评论(0) 推荐(0) 编辑
摘要: 请参考:https://www.cnblogs.com/liyuanhong/articles/12183279.html 使用wxpython做界面,可以使用绝对布局和Sizer 其中Sizer有分为以下几个布局管理器: 1.wx.BoxSizer 2.wx.StaticBoxSizer 3.wx 阅读全文
posted @ 2020-01-12 17:39 远洪 阅读(426) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 16 下一页