上一页 1 ··· 41 42 43 44 45 46 47 48 49 ··· 71 下一页
摘要: 查看zk 注册服务:在zk bin 下执行 sh zkCli.sh 计入客户端shell命令行 查看zk注册服务:ls / 或者递归查看 ls -s / 列出的为注册服务。 查询服务节点的信息: get /zookeeper/config zk 服务管理: 创建节点: 临时节点退出失效的创建:cre 阅读全文
posted @ 2020-01-05 14:24 不带R的墨菲特 阅读(1768) 评论(0) 推荐(0)
摘要: 安装包下载地址:http://mirror.bit.edu.cn/apache/zookeeper,记住要下载那个bin的不要下tar.gz包不然即使你安装了也会报错误: 找不到或无法加载主类org.apache.zookeeper.server.quorum.QuorumPeerMain,你安装了 阅读全文
posted @ 2020-01-04 22:27 不带R的墨菲特 阅读(518) 评论(0) 推荐(0)
摘要: app切换root ubuntu: sudo su - app sudo su - root centos : sudo su ############ root 切换app sudo su - app 阅读全文
posted @ 2020-01-03 18:33 不带R的墨菲特 阅读(783) 评论(0) 推荐(0)
摘要: docker 查看所有容器 docker ps -a docker 查看所有running 容器: docker ps docker 停止全部容器: docker stop $(docker ps -aq) docker 批量删除所有容器: docker rm $(docker ps -aq) do 阅读全文
posted @ 2020-01-03 18:28 不带R的墨菲特 阅读(220) 评论(0) 推荐(0)
摘要: 批量根据服务名称查询进程id然后批量杀sudo ps -ef|grep java | awk '{print $2}'|sudo xargs kill -9sudo ps -ef|grep python |awk '{print $2}'|sudo xargs kill -9sudo ps -ef| 阅读全文
posted @ 2020-01-03 18:13 不带R的墨菲特 阅读(157) 评论(0) 推荐(0)
摘要: 查询安装的yum源rpm -qa | grep -i mysql 使用yum remove卸载 yum remove 刚才过滤出来的包一个个来剩下卸载不了使用rpm -e --nodeps: rpm -e --nodeps mysql-community-libs-5.7.22-1.el7.x86_ 阅读全文
posted @ 2020-01-03 17:50 不带R的墨菲特 阅读(287) 评论(0) 推荐(0)
摘要: #安装git yum -y install git #下载wondershaper git clone https://github.com/magnific0/wondershaper.git 第二种安装依赖以及工具: yum install epel-release -y yum install 阅读全文
posted @ 2020-01-02 10:54 不带R的墨菲特 阅读(1365) 评论(0) 推荐(0)
摘要: python主流绘图工具:matplotlib ,seaborn,pandas ,openpyxl ,xslwriter openpyxl :首先说下这个官网的demo,看的有点懵,没有具体说明多个图在一个excel引用不通ws Rererence 只是简单的一个deepcopy 用的一点懵逼,反正 阅读全文
posted @ 2020-01-02 10:43 不带R的墨菲特 阅读(2956) 评论(0) 推荐(0)
摘要: https://docs.python.org/zh-cn/3/tutorial/controlflow.html#unpacking-argument-lists 阅读全文
posted @ 2019-12-31 19:56 不带R的墨菲特 阅读(413) 评论(1) 推荐(0)
摘要: def test(a:str,b:int)->str: print(test.__annotations__) return a+str(b)def doc_print(): """this is test doc """ passdef pack_args(args): """test 解包参数列 阅读全文
posted @ 2019-12-31 19:55 不带R的墨菲特 阅读(332) 评论(0) 推荐(0)
上一页 1 ··· 41 42 43 44 45 46 47 48 49 ··· 71 下一页