上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 29 下一页
摘要: 安装客户端 #安装zabbix源、aliyu nYUM源 curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo curl -o /etc/yum.repos.d/epel.repo 阅读全文
posted @ 2020-04-06 17:58 流年中渲染了微笑 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 一 安装zabbix 1.1. 环境检查 [root@localhost ~]# cat /etc/redhat-release CentOS Linux release 7.4.1708 (Core) [root@localhost ~]# uname -r 3.10.0-693.el7.x86_ 阅读全文
posted @ 2020-04-06 16:20 流年中渲染了微笑 阅读(169) 评论(0) 推荐(0) 编辑
摘要: """ 基于Python实现对git仓库进行操作,使用前需要安装模块:gitpython pip3 install gitpython """ # ############## 1. clone下载代码 ############## """ import os from git.repo impor 阅读全文
posted @ 2020-04-03 14:41 流年中渲染了微笑 阅读(859) 评论(0) 推荐(0) 编辑
摘要: match查询 PUT zhifou/doc/1 { "name":"顾老二", "age":30, "from": "gu", "desc": "皮肤黑、武器长、性格直", "tags": ["黑", "长", "直"] } PUT zhifou/doc/2 { "name":"大娘子", "ag 阅读全文
posted @ 2020-04-01 15:45 流年中渲染了微笑 阅读(399) 评论(0) 推荐(0) 编辑
摘要: elasticsearch提供两种查询方式 查询字符串(query string),简单查询,就像是像传递URL参数一样去传递查询语句,被称为简单搜索或查询字符串(query string)搜索。 另外一种是通过DSL语句来进行查询,被称为DSL查询(Query DSL),DSL是Elasticse 阅读全文
posted @ 2020-04-01 15:12 流年中渲染了微笑 阅读(364) 评论(0) 推荐(0) 编辑
摘要: 作为一个程序员其实都在使用git 但是对于大多数人而言 可能也就是会部分 下面是常用的Git命令 $ git init $ git add . $ git commit -m 'first commit' $ git remote add origin https://gitee.com/..... 阅读全文
posted @ 2020-04-01 11:45 流年中渲染了微笑 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 第一步 我们先设计表 有大课和小课 他们的价格各不相同 第一次设计 第二次设计 第三次设计 注:表记录那张表 由contenttype组件实现 上面傻种都是可以 但是我们今天主要看的是第三种 # content type 表不需要你自己生成 在你建表的时候 django会自动给你生成from dja 阅读全文
posted @ 2020-03-30 11:10 流年中渲染了微笑 阅读(121) 评论(0) 推荐(0) 编辑
摘要: related_name/related_query_name 一般出现在有 Foreignkey 或者 Manytomang 字段的时候 一 一般查询 class Department(models.Model): title = models.CharField(verbose_name='部门 阅读全文
posted @ 2020-03-29 22:43 流年中渲染了微笑 阅读(1407) 评论(0) 推荐(1) 编辑
摘要: # 这是django下的一张表 from django.db import models class Auction(models.Model): # cover = models.CharField(verbose_name='封面', max_length=128,null=True, blan 阅读全文
posted @ 2020-03-29 22:29 流年中渲染了微笑 阅读(1633) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-03-28 21:00 流年中渲染了微笑 阅读(143) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 29 下一页