摘要:
1.bin bin目录主要是用来存放tomcat的命令,主要有两大类,一类是以.sh结尾的(linux命令),另一类是以.bat结尾的(windows命令)。 重要: 很多环境变量的设置都在此处,例如可以设置JDK路径、TOMCAT路径 startup 用来启动tomcat shutdown 用来关 阅读全文
摘要:
import unittest from functools import wraps class DependencyError(Exception): def __init__(self, _type=0): self._type = _type def __str__(self): if se 阅读全文
摘要:
工具:memtester 官方:http://pyropus.ca/software/memtester/ 安装: wget http://pyropus.ca/software/memtester/old-versions/memtester-4.3.0.tar.gz tar -xzvf memt 阅读全文
摘要:
# coding=utf-8 from selenium import webdriver import os, sys from selenium.common.exceptions import WebDriverException driver_base = os.path.abspath(o 阅读全文
摘要:
# coding=utf-8 import os from selenium.common.exceptions import ElementNotInteractableException, ElementClickInterceptedException from selenium.webdri 阅读全文
摘要:
# coding=utf-8 from config.setting_base import SettingBase from util.read_ini import ReadIni from selenium.webdriver.common.by import By from selenium 阅读全文
摘要:
# coding=utf-8 import configparser # 创建读取ini文件工具类 class ReadIni(object): def __init__(self, file_name=None, node=None): # 初始化登录参数 if file_name is None 阅读全文
摘要:
# -*- coding: utf-8 -*- import os, sys import MySQLdb from sshtunnel import SSHTunnelForwarder from util.read_ini import ReadIni db_name = os.path.abs 阅读全文
摘要:
# coding=utf-8 import sys, logging from paramiko.client import SSHClient, AutoAddPolicy from paramiko import AuthenticationException from paramiko.ssh 阅读全文
摘要:
虚拟化架构分类 摘至小小铁匠的博客 (1)1型虚拟化 Hypervisor 直接安装在物理机上,多个虚拟机在 Hypervisor 上运行。Hypervisor 实现方式一般是一个特殊定制的 Linux 系统。Xen 和 VMWare 的 ESXi都属于这个类型。 (2)2型虚拟化 物理机上首先安装 阅读全文