摘要:
Django安装 row15 错误参考 row 460 项目参考 row280 models类型参考 模板标签 row 410 Templates 前端调整 字符串转换为字典 Django 可直接下载源码进行安装 Linux直接用yum install python-django -y 安装 直接用
阅读全文
posted @ 2017-11-27 22:35
syother
阅读(609)
推荐(0)
摘要:
如果遠程連接Mysql时发生以下错误,可按照下文更改: ERROR 1130: Host '192.168.1.3' is not allowed to connect to this MySQLserver [root@louts_test01 loutsx]# mysql -uroot -pEn
阅读全文
posted @ 2017-11-27 22:20
syother
阅读(122)
推荐(0)
摘要:
正则表达式介绍正则表达式(Regular expressions 也称为 REs,或 regexes 或 regex patterns)本质上是一个微小的且高度专业化的编程语言。它被嵌入到 Python 中,并通过 re 模块提供给程序猿使用。使用正则表达式,你需要指定一些规则来描述那些你希望匹配的
阅读全文
posted @ 2017-08-30 16:20
syother
阅读(288)
推荐(0)
摘要:
Linux NTP SERVER INSTALL
阅读全文
posted @ 2017-07-30 21:55
syother
阅读(214)
推荐(0)
摘要:
Created on 2017年7月17日 第1课 本节内容 8minutes 任务编排系统开发 架构思路/实现方式介绍 项目实现 接口认证 扩展: Python的类是什么 模板语言的本质 第2课 任务编排系统架构 46minutes 发任务让机器执行 gitlab github svn git.o
阅读全文
posted @ 2017-07-23 23:27
syother
阅读(329)
推荐(0)
posted @ 2017-07-21 11:52
syother
阅读(2)
推荐(0)
摘要:
#!/usr/bin/env python #-*- coding:utf-8 -*- import os,sys,time,shutil,re from _ast import Num from django.db.models.sql.datastructures import Join ''' ----------------...
阅读全文
posted @ 2017-07-18 17:31
syother
阅读(1620)
推荐(0)
摘要:
Created on 2017年7月14日 第1课 本节内容介绍 5Minutes 毕业项目功能介绍 架构讲解 CMDB开发 上节作业: 将客户端发来的数据存放到后台并记录到日志中 第2课 CMDB拾遗之Agent开发 35Minutes 将Try的功能单独放在一个类中,并对类中的数据进行封装,以后
阅读全文
posted @ 2017-07-17 22:58
syother
阅读(337)
推荐(0)
摘要:
/sbin/modprobe ip_gre/sbin/iptunnel add tun0 mode gre remote 114.141.167.167 local 114.55.73.157/sbin/ifconfig tun0 122.115.74.170/sbin/route add 202.
阅读全文
posted @ 2017-07-11 09:47
syother
阅读(2047)
推荐(0)
posted @ 2017-06-12 10:40
syother
阅读(11)
推荐(0)
摘要:
Created on 2017年6月6日 第1课 上节作业 10minutes 显示页面时,只有登录了才能显示,没登录会弹出一个登录框,就是一个遮挡层 第2课 自动化之路和CMBD地位 22minutes CMDB: 自动安装 配置管理系统 CMDB运维资产管理系统(所有系统都需要调用这里的信息)-
阅读全文
posted @ 2017-06-07 01:43
syother
阅读(440)
推荐(0)
摘要:
服务端: iperf3 -s -p 9999 -i 1 客户端: iperf3 -p 9999 -c 114.28.37.27 -i 1 -t 10 iperf3 -p 9999 -c 114.141.185.4 -i 1 -P 1 -w 100K -f m -t 10 Iperf是一个网络性能测试
阅读全文
posted @ 2017-06-06 12:19
syother
阅读(27374)
推荐(0)
摘要:
Created on 2017年5月15日 @author: louts 第1课 作业讲解及装饰器使用 28minutes def check(func): def rec(request,*args,**kargs): return func(request,*args,**kargs) retu
阅读全文
posted @ 2017-05-25 00:08
syother
阅读(369)
推荐(0)
摘要:
Contents Contents Contents Contents Introduction Problem Solution Cisco ASA IOS: https://software.cisco.com/download/type.html?mdfid=284143092&flowid=
阅读全文
posted @ 2017-05-18 12:00
syother
阅读(622)
推荐(0)
摘要:
同Cisco中路由器一样,启动时按CTRL+BREAK . 1,ASA配置线 需要通过配置线把PC机的COM口与ASA的控制接口相连。 2,密码恢复程序 首先,我们打开PC机的超级终端,然后启动ASA后迅速按ESC或CTRL+BREAK 键进入Rommon状态。 romon #0> 然后我们打入命令
阅读全文
posted @ 2017-05-18 10:03
syother
阅读(310)
推荐(0)
摘要:
1. tcpdump 2.iftop 下载RPM:ftp://rpmfind.net/linux/dag/redhat/el6/en/x86_64/dag/RPMS/iftop-1.0-0.pre3.el6.rf.x86_64.rpm 安装:rpm -ivh iftop-1.0-0.pre3.el6
阅读全文
posted @ 2017-05-17 14:15
syother
阅读(4604)
推荐(0)
摘要:
1 # -*- coding: utf-8 -*- 2 3 from django.utils.safestring import mark_safe 4 ''' 5 Created on 2017年5月4日 6 7 change on 07May2017 8 ''' 9 def model(page,per_item,M): 10 try: 11 ...
阅读全文
posted @ 2017-05-11 12:12
syother
阅读(217)
推荐(0)
摘要:
Created on 2017年5月3日 第1课:上节作业简介 鼠标放上表单后进入编辑模式-----需学习----CMDB里会学到模态对话框里--弹出对话框---对后台进行操作---方式:1 Form-用Submit页面整个刷新 2 用Ajax后台请求,通过Sessuss方式返回数据来控制模态对话框
阅读全文
posted @ 2017-05-06 19:35
syother
阅读(212)
推荐(0)
摘要:
1. Python manager出现以下错误 File "C:\Python27\lib\functools.py", line 56, in <lambda> '__lt__': [('__gt__', lambda self, other: other < self), File "C:\Py
阅读全文
posted @ 2017-04-27 12:25
syother
阅读(2084)
推荐(0)
摘要:
rrdtool: rrdtool可直接用pip install python-rrdtool import rrdtool 创建:create(...)create(args..): Set up a new Round Robin Database create filename [--start
阅读全文
posted @ 2017-04-27 12:21
syother
阅读(402)
推荐(0)