hopeless-dream

导航

上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 31 下一页

2021年5月15日 #

Pycharm鼠标滚动控制字体大小

摘要: 一、pycharm字体放大的设置 File —> Settings —> Keymap —>在搜寻框中输入:increase —> Increase Font Size(双击) —> 在弹出的对话框中选择Add Mouse Shortcut 在弹出的对话框中同时按住ctrl键和鼠标滚轮向上滑。 二、 阅读全文

posted @ 2021-05-15 10:01 hopeless-dream 阅读(181) 评论(0) 推荐(0) 编辑

2021年4月22日 #

SQL基础-DML

摘要: insert语句 mysql> insert into students(sid,sname,scardid,saddr,hobby,salary,sdate) values(1000,'lisi','110102','北京市','足 球,羽毛球',10001.00,now()); mysql> c 阅读全文

posted @ 2021-04-22 17:40 hopeless-dream 阅读(68) 评论(0) 推荐(0) 编辑

mysql的pager命令

摘要: pager介绍 You can configure MySQL Shell to use an external pager tool such as less or more. Once a pager is configured, it is used by MySQL Shell to dis 阅读全文

posted @ 2021-04-22 15:10 hopeless-dream 阅读(411) 评论(0) 推荐(0) 编辑

由于rngd进程导致的tomcat 启动慢

摘要: 之前在阿里云做客服的时候遇到某用户提交工单,反馈一批服务器中有一台上面运行的后端应用启动缓慢 具体现象由于客户隐私就不贴了 处理办法: 1、先让用户将程序调整到debug级别,看一下打印出来的日志,在哪一步出现了阻塞。 2、如果日志打印时有阻塞时间长的现象,可以通过strace命令看一下系统调用(我 阅读全文

posted @ 2021-04-22 10:42 hopeless-dream 阅读(1403) 评论(0) 推荐(0) 编辑

2021年4月5日 #

elasticsearch安装

摘要: 安装过程 安装jdk 下载jdk,地址:https://www.oracle.com/technetwork/java/javase/downloads/ # mkdir /opt/{softwares,modules} -p 上传jdk包到modules下 # tar xfz jdk-8u191- 阅读全文

posted @ 2021-04-05 19:25 hopeless-dream 阅读(92) 评论(0) 推荐(0) 编辑

2021年3月8日 #

zookeeper的observer模式

摘要: Observer的作用:水平扩展zookeeper集群 虽然通过Client直接连接到ZooKeeper集群的性能已经很好了,可是这样的架构假设要承受超大规模的Client,就必须添加ZooKeeper集群的Server数量,随着Server的添加,ZooKeeper集群的写性能必定下降。我们知道Z 阅读全文

posted @ 2021-03-08 09:04 hopeless-dream 阅读(1156) 评论(0) 推荐(0) 编辑

2021年3月7日 #

zookeeper的watcher观察者机制

摘要: Zookeeper提供了数据的发布/订阅功能,多个订阅者可同时监听某一特定主题对象,当该主题对象的自身状态发生变化时(例如节点内容改变、节点下的子节点列表改变等),会实时、主动通知所有订阅者。 watcher实现原理 框架实现如下图: 1、zk客户端向zk服务器注册watcher的同时,会将watc 阅读全文

posted @ 2021-03-07 20:22 hopeless-dream 阅读(252) 评论(0) 推荐(0) 编辑

zookeeper相关操作

摘要: zookeeper相关命令 zk服务器端命令 命令 功能 zkServer.sh start 启动zookeeper zkServer.sh stop 关闭zookeeper zkServer.sh restart 重启zookeeper zkServer.sh status 查看zookeeper 阅读全文

posted @ 2021-03-07 18:36 hopeless-dream 阅读(82) 评论(0) 推荐(0) 编辑

2021年2月28日 #

解决ipython或jupeter中无法使用tab补全

摘要: ipython中无法使用tab补全,并且调用方法直接推出 报错 In [2]: help(open) Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/IPython/terminal/pt 阅读全文

posted @ 2021-02-28 23:34 hopeless-dream 阅读(252) 评论(0) 推荐(0) 编辑

2021年2月15日 #

Linux 6.4 chown: invalid user: `root:root`错误 无法进入系统

摘要: 开启服务器后发现主机名消失[I have a no name!@localhost] chown: invalid user: `root:root',经查阅资料,其可能是无意间改动了/etc/passwd文件,/etc/passwd文件第一行就是root:x:0:0 ,仔细想想也就etc/pass 阅读全文

posted @ 2021-02-15 09:44 hopeless-dream 阅读(970) 评论(0) 推荐(0) 编辑

上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 31 下一页