上一页 1 2 3 4 5 6 ··· 31 下一页
摘要: 最简配置文件: cluster.name: your_cluster_name node.name: your_ip network.host: 0.0.0.0 http.port: your_port discovery.zen.ping.multicast.enabled: false disc 阅读全文
posted @ 2018-01-20 11:02 xuanhui 阅读(8336) 评论(0) 推荐(1) 编辑
摘要: es2.x 关闭集群的动态分片:(动态分片开启状态如果节点宕机了,会导致集群重新分配数据进行数据转移,会导致节点直接大量传输数据)curl -XPUT 'http://192.168.248.193:9888/_cluster/settings?pretty' -d '{"transient":{" 阅读全文
posted @ 2018-01-20 10:25 xuanhui 阅读(2994) 评论(1) 推荐(0) 编辑
摘要: # redis-cli -h 10.5.8.18 -c -p 8001 cluster nodes|grep master 6d2f817064a10631648f24f450a37237b3d53ff 10.5.8.13:8002@18002 master - 0 1514990543393 7 阅读全文
posted @ 2018-01-20 10:18 xuanhui 阅读(1013) 评论(0) 推荐(0) 编辑
摘要: 总是,总是,然后,然后,其实也就没有然后了。 人生其实也是如此,我们总会错过一些东西,总是无法抓住这.那.. 勇敢的去追求自己想要的是件很难的事情.... 2018.1.20 阅读全文
posted @ 2018-01-20 10:02 xuanhui 阅读(184) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2018-01-13 11:09 xuanhui 阅读(7) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2018-01-13 10:36 xuanhui 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 背景: 主库上通过navicat导入csv文件,然后改名。导致多源数据库不同步。 报警信息: 登陆多源库查看: (猜测原因:navicat内部做了封装) 查看主库对应点的binlog: mysqlbinlog --base64-output=decode-rows -vv -d goods --st 阅读全文
posted @ 2017-12-16 16:45 xuanhui 阅读(365) 评论(0) 推荐(0) 编辑
摘要: from wsgiref.simple_server import make_server def book(request): #视图函数 return [b'<h1> book !!! </h1>']def web(request): return [b'<h1> web !!! </h1>'] 阅读全文
posted @ 2017-12-03 14:46 xuanhui 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 一、创建项目:# django-admin startproject mysite# cd mysite# python manage.py startapp blog目录结构: 一、html文件:templates/userInfo.html 数据提交: 姓名 性别 邮箱 数据展示: 姓名 ... 阅读全文
posted @ 2017-12-03 14:17 xuanhui 阅读(7077) 评论(0) 推荐(0) 编辑
摘要: 安装MySQL5.7: 安装准备阶段: yum -y groupinstall "Development tools"yum -y install ncurses ncurses-devel openssl-devel bison gcc gcc-c++ make useradd mysql -s 阅读全文
posted @ 2017-12-03 11:33 xuanhui 阅读(181) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 31 下一页