码迷,mamicode.com
首页 >  
搜索关键字:global cache    ( 16277个结果)
HAProxy——关于配置的备份
一份HAProxy配置文件 #全局配置 global #设置日志 log 127.0.0.1 local0 info #当前工作目录 chroot /usr/local/haproxy #用户与用户组 user haproxy group haproxy #运行进程ID uid 99 gid 99 ...
分类:其他好文   时间:2021-05-24 00:27:22    阅读次数:0
Codeforces Global Round 14 A. Phoenix and Gold
一、算法分析 当时比赛做的时候有点急躁,就首先考虑了三种情况,分别是砝码总重恰好为x,大于x和小于x.显然只有总重恰好为x的时候才会必然爆炸,否则都可以通过一定的方式进行规避。然后考虑如何安排顺序进行规避,如果总重小于x则显然随便安排都不会炸。但是如果总重大于x则就要考虑怎么安排了,思路如下: 先排 ...
分类:其他好文   时间:2021-05-23 23:40:03    阅读次数:0
Redis Replication主备复制
Redis 主备复制 1 相关配置: 1) replicaof <masterip> <masterport> 2) masterauth <master-password> 设置时候 replica 在发送同步相关的命令时会被要求 authenticate 3) masteruser <usern ...
分类:其他好文   时间:2021-05-23 23:35:00    阅读次数:0
python 解包、递归
解包: d = {"username":"admin","password":"123456"}print(d.items())# [('username', 'admin'), ('password', '123456')]for k,v in d.items(): print(k,v)递归 #函 ...
分类:编程语言   时间:2021-05-04 15:37:45    阅读次数:0
21-5-01_innodb内幕
5.6 B+树索引的使用 5.6.1 不同应用中B+树索引的使用 OLTP(on-line transaction processing)翻译为联机事务处理, OLAP(On-Line Analytical Processing)翻译为联机分析处理,从字面上来看OLTP是做事务处理,OLAP是做分析 ...
分类:数据库   时间:2021-05-04 15:27:37    阅读次数:0
gitblit 记录
gitblit 非常简单易用的开源免费的git服务端,能满足一般的git server的要求,非常好。 安装非常简单:http://gitblit.github.io/gitblit/ 下载windows或linux版本,默认启动或简单改一下配置文件的端口就能用,不需要数据库。 记录一下遇到的小问题 ...
分类:其他好文   时间:2021-05-03 12:04:32    阅读次数:0
linux Error downloading packages free 0 * needed 71 k
linux Error downloading packages free 0 * needed 71 k 原因:硬盘空间不足 查看磁盘大小 /]# df -hl 从/主目录开始搜索,查看占用磁盘大的 # du -sh * 最后发现jenkins目录下占用过高 cd /var/lib/Jenkins ...
分类:系统相关   时间:2021-04-30 12:41:59    阅读次数:0
linux Error downloading packages free 0 * needed 71 k
linux Error downloading packages free 0 * needed 71 k 原因:硬盘空间不足 查看磁盘大小 # df -hl 从/主目录开始搜索,查看占用磁盘大的 # du -sh * 最后发现jenkins目录下占用过高 # cd /var/lib/jenkins ...
分类:系统相关   时间:2021-04-28 12:21:51    阅读次数:0
keepalived+lvs
配置lvs-dr环境 master配置文件 global_defs { notification_email { root@localhost } notification_email_from keeplived@localhost smtp_server 127.0.0.1 smtp_conne ...
分类:其他好文   时间:2021-04-27 14:56:45    阅读次数:0
keepalived-master-slave
Master配置 global_defs { notification_email { root@localhost } notification_email_from keeplived@localhost smtp_server 127.0.0.1 smtp_connect_timeout 30 ...
分类:其他好文   时间:2021-04-27 14:42:00    阅读次数:0
共16277条   上一页 1 ... 8 9 10 11 12 ... 1628 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!