上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 23 下一页
摘要: https://www.mysubmail.com/chs/documents/developer/YPWD84 文本文档 官网:www.mysubmail.com 操作流程:快速接入短信 API接口并测试发送操作指引仅需6步 即可完成 API短信发送 1. SDK开发包下载链接与代码示例https 阅读全文
posted @ 2017-11-16 14:37 ~小学生~ 阅读(781) 评论(0) 推荐(0) 编辑
摘要: Slave_IO_Running: Yes Slave_SQL_Running: Yes Seconds_Behind_Master: 0 (从服务器与主服务器延时多少秒) #! /bin/bash # 指定用户 USER=root # 指定密码 PASS=123456 # 指定主机地址 HOST= 阅读全文
posted @ 2017-11-16 14:35 ~小学生~ 阅读(369) 评论(0) 推荐(0) 编辑
摘要: #! /bin/bash # 指定用户 USER=root # 指定密码 PASS=123456 # 指定主机地址 HOST=localhost # 指定备份的目录 BACKUP=/backup/sql # 如果备份的目录存在,创建路径 if [ ! -d $BACKUP ]; then mkdir 阅读全文
posted @ 2017-11-16 14:34 ~小学生~ 阅读(257) 评论(0) 推荐(0) 编辑
摘要: netstat -lntupa | grep ":80" | grep ESTABLISHED | awk '{print $5}' | awk -F: '{print $1}' | sort | uniq -c| sort -nr | head -n5 > /tmp/ip.txt while re 阅读全文
posted @ 2017-11-16 14:34 ~小学生~ 阅读(174) 评论(0) 推荐(0) 编辑
摘要: #! /bin/bash # 指定用户 USER=root # 指定密码 PASS=123456 # 指定主机地址 HOST=localhost # 指定备份的目录 BACKUP=/backup/sql # 如果备份的目录存在,创建路径 if [ ! -d $BACKUP ]; then mkdir 阅读全文
posted @ 2017-11-16 14:33 ~小学生~ 阅读(176) 评论(0) 推荐(0) 编辑
摘要: print(''' hello word ''') hello word print (" hello \nwoerd") hello woed print("hello \\nword ") hello \nword print (r"hello word\n") hello work\n a=" 阅读全文
posted @ 2017-11-10 22:10 ~小学生~ 阅读(357) 评论(0) 推荐(0) 编辑
摘要: 实际操作过程 1:准备四个节点mongodb1(mongos)、mongodb2(config)、mongodb3(shard1)、mongodb4(shard2)且保证可以通过主机名访问,且时间同步 2:配置mongodb2(config)节点,使得mongodb2为config节点,编辑配置文件 阅读全文
posted @ 2017-11-05 17:31 ~小学生~ 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 当单个MongoDB节点的数据量过大的时候,我们通常考虑将数据切分为多个shard,也就是切分为多片。 (一)数据分片之后,整个集群中的MongoDB节点就分为了三类,一类是Router节点,实现前端路由,客户端由此接入,且让整个集群看上去像单一数据库,前端应用可以透明使用。一类是Config节点, 阅读全文
posted @ 2017-11-05 17:30 ~小学生~ 阅读(530) 评论(0) 推荐(0) 编辑
摘要: 1:集群环境说明:mongodb1:192.168.43.10、mongodb2:192.168.43.11、mongodb3:192.168.43.12。且基于主机名相互通信/etc/hosts文件(为了集群信息同步不出现问题,先关闭认证功能anth) 2:编辑mongodb1的/etc/mong 阅读全文
posted @ 2017-11-05 17:29 ~小学生~ 阅读(762) 评论(0) 推荐(0) 编辑
摘要: 参考官方文档:https://docs.mongodb.com/compass/current/install/#install-on-red-hat-enterprise-linux-rhel Mongodb compass 提供图形化管理界面管理MongoDB 安装 Mongodb compas 阅读全文
posted @ 2017-11-05 17:20 ~小学生~ 阅读(2676) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 23 下一页