2019年7月19日
摘要:
1.前期配置 aliyun镜像地址 https://cr.console.aliyun.com/cn-hangzhou/instances/mirrors 加速度地址:https://lvb4p7mn.mirror.aliyuncs.com 针对Docker客户端版本大于 1.10.0 的用户 您可
阅读全文
posted @ 2019-07-19 00:06
SZ_文彬
阅读(253)
推荐(0)
摘要:
1.镜像源 阿里云镜像源 https://opsx.alibaba.com/mirror/ 基于centos镜像的nginx镜像制作 vi /etc/nginx/nginx.conf user nginx; daemon off; 检查语法 nginx -t docker commit --help
阅读全文
posted @ 2019-07-19 00:03
SZ_文彬
阅读(378)
推荐(0)
2019年7月15日
摘要:
elk日志搜索安装: yum install elasticsearch-5.4.0.rpm hostnamectl set-hostname linux-host1.example.com && reboot vi /etc/security/limits.conf 添加开启文件最大数 * sof
阅读全文
posted @ 2019-07-15 17:14
SZ_文彬
阅读(430)
推荐(0)
2019年7月13日
摘要:
1.配置yum源:上传epel.repo yum clean all yum update 安装ansible 查询是否有ansible yum list *ansile 查看该ansible的信息 yum info ansible.noarch 安装ansible yum install ansi
阅读全文
posted @ 2019-07-13 00:46
SZ_文彬
阅读(302)
推荐(0)
2019年7月12日
摘要:
https://www.cnblogs.com/Dicky-Zhang/p/6925202.html 安装 yum install docker -y 无法启动docker vim /etc/sysconfig/doc ker OPTIONS='--selinux-enabled=false 镜像源
阅读全文
posted @ 2019-07-12 20:00
SZ_文彬
阅读(387)
推荐(0)
2019年7月9日
摘要:
程序目录 models.py from django.db import models# Create your models here.class Category(models.Model): caption_c=models.CharField(max_length=16)# class Ar
阅读全文
posted @ 2019-07-09 23:27
SZ_文彬
阅读(209)
推荐(0)
摘要:
content="""<p class='c1' id='i1'> asdfaa<span class='c2' style="font-family:NSimSun;">sdf<a>a</a>sdf</span>sdf</p><p> <strong class='c2' id='i2'>asdf<
阅读全文
posted @ 2019-07-09 13:26
SZ_文彬
阅读(338)
推荐(0)
2019年7月8日
摘要:
本地端 url: url(r'req/',a2.req), commons.js alert(123); views.py from django.shortcuts import renderimport requests# Create your views here.def req(reque
阅读全文
posted @ 2019-07-08 17:42
SZ_文彬
阅读(261)
推荐(0)
2019年7月2日
摘要:
程序目录 models.py from django.db import models# Create your models here.class UserType(models.Model): caption=models.CharField(max_length=32)class UserGr
阅读全文
posted @ 2019-07-02 23:36
SZ_文彬
阅读(187)
推荐(0)
摘要:
Form验证 UserInfoForm --> Form -->BaseForm(is_valid...) UserInfoModelForm -->ModelForm -->BaseModelForm -->BaseForm(is_valid...)提交表单报错:RuntimeError: You
阅读全文
posted @ 2019-07-02 23:35
SZ_文彬
阅读(209)
推荐(0)