上一页 1 ··· 6 7 8 9 10 11 12 13 14 15 下一页
摘要: 一般来讲,多台服务器搭建成一个集群来运行相应的程序,这样会避免单点故障,同时提升服务器的承载能力。 高可用,可称为"HA"也叫做双机热备,同时实现高可用一般使用keepalived,且keepalived还支持负载均衡的作用。高可用原理是:一条心跳线同时连接两台服务器,若当中的一台服务器宕机了,备用 阅读全文
posted @ 2018-06-15 19:35 想翻身的猫 阅读(1064) 评论(0) 推荐(0) 编辑
摘要: 使用图 阅读全文
posted @ 2018-06-14 13:21 想翻身的猫 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 首先在html中加个a标签 阅读全文
posted @ 2018-06-14 10:18 想翻身的猫 阅读(7173) 评论(0) 推荐(0) 编辑
摘要: django操作数据库 orm操作 select * from tb where id > 1 对应关系 models.tb.objects.filter(id__gt=1) models.tb.objects.filter(id=1) models.tb.objects.filter(id__lt=1) 创建类 1 -根据类自动创建数据库表 #models.... 阅读全文
posted @ 2018-06-14 00:37 想翻身的猫 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 类似这种效果 这是基于a标签 不是用table实现的 以上就可以实现图片效果 阅读全文
posted @ 2018-06-14 00:34 想翻身的猫 阅读(831) 评论(0) 推荐(0) 编辑
摘要: wget -O /etc/yum.repos.d/jenkins.repo http://jenkins-ci.org/redhat/jenkins.repo rpm --import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key yum i 阅读全文
posted @ 2018-06-13 13:15 想翻身的猫 阅读(557) 评论(0) 推荐(0) 编辑
摘要: You are using pip version 9.0.1, however version 10.0.1 is available.You should consider upgrading via the 'pip install --upgrade pip' command 此时执行 py 阅读全文
posted @ 2018-06-13 13:14 想翻身的猫 阅读(144) 评论(0) 推荐(0) 编辑
摘要: windows_host文件路径:C:\Windows\System32\drivers\etc ssh-copy-id -i ~/.ssh/id-rsa.pub root@xxxxxxx 免密验证操作 /etc/ssh/ssh_config 执行远程脚本#!/bin/bashssh root@xx 阅读全文
posted @ 2018-06-13 13:11 想翻身的猫 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 提取于http://www.cnblogs.com/wupeiqi/articles/5132791.html 感谢博主 使用Redis有哪些好处? (1) 速度快,因为数据存在内存中,类似于HashMap,HashMap的优势就是查找和操作的时间复杂度都是O(1) (2) 支持丰富数据类型,支持s 阅读全文
posted @ 2018-06-13 13:06 想翻身的猫 阅读(249) 评论(0) 推荐(0) 编辑
摘要: FBV function base view url.py index -> 函数名 view.py def 函数(requset): ... CBV class base view /index/ -》 函数名 /index/ -> 类 方法 ##############... 阅读全文
posted @ 2018-06-12 23:15 想翻身的猫 阅读(192) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 15 下一页