摘要: 一.常见信息: Port 22 端口 ListenAddress 监听的IP Protocol 2 SSH版本选择,选择2即可 HostKey /etc/ssh/ssh_host_rsa__key 私钥保存位置 ServerKeyBits 大小1024 ServerFacility AUTH 日志记 阅读全文
posted @ 2021-03-17 00:42 ocean0327 阅读(78) 评论(0) 推荐(0) 编辑
摘要: 一.jenkins容器已经启动起来了,但是浏览器打不开地址 1.查看容器日志, 是不是日志里已经抛错了 docker logs XXXX(容器id) 2.看看网络,确认一下你本机到宿主机的网络是不是通的 3.如果是在云上, 确认一下云上的安全组设置 有些云可能会把一些端口封掉, 你得打开 4.第四步 阅读全文
posted @ 2021-03-17 00:34 ocean0327 阅读(661) 评论(0) 推荐(0) 编辑
摘要: 容器以管理员权限进入: sudo docker exec -ti -u root 容器ID bash 下载包:1.wget https://www.python.org/ftp/python/3.9.0/Python-3.9.0.tar.xz 解包:2.tar -xvJf Python-3.9.0. 阅读全文
posted @ 2021-03-15 11:32 ocean0327 阅读(347) 评论(0) 推荐(0) 编辑
摘要: 1,数组和int,string..各种类型的转换 2,数据驱动的读取 3,做了什么项目,你担任的角色是什么? 5. 最有成就感的测试 6. 项目的测试流程,接口测试流程,ui自动化测试流程,接口自动化流程 7.印象最深的测试场景,为什么? 8.印象最深的测试bug,为什么? 阅读全文
posted @ 2019-12-19 16:47 ocean0327 阅读(84) 评论(0) 推荐(0) 编辑
摘要: Arrays常用函数 1.Array.sort(Object[] array):数组按照升序排序 2.Arrays.sort(Object[] array, int from, int to):数组元素指定范围进行排序(排序范围是从元素下标为from,到下标为to-1的元素进行排序) 3.Array 阅读全文
posted @ 2019-12-18 15:00 ocean0327 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 1.查看操作系统上是否已经安装了apache服务器:httpd rpm -qa | grep httpd 2.查看服务是否启动:ps -ef | gerp httpd 3.清除tomcat:yum remove httpd 4.安装Tomcat:yum install httpd -y 5.查询是否 阅读全文
posted @ 2019-12-16 22:49 ocean0327 阅读(117) 评论(0) 推荐(0) 编辑
摘要: jenkins 下载地址:https://jenkins.io/download/ windows和linux通用的war包 1.jenkins在windows下安装 前提:已经安装jdk、tomcat 1.1将war包放到D:\apache-tomcat-9.0.27\webapps下 然后启动t 阅读全文
posted @ 2019-12-16 22:38 ocean0327 阅读(133) 评论(0) 推荐(0) 编辑
摘要: maven中pom.xml文件加入依赖包 <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>4.3.2</version> </dependen 阅读全文
posted @ 2019-12-12 22:08 ocean0327 阅读(379) 评论(0) 推荐(0) 编辑
摘要: 1. 安装: 一:下载安装包,然后python setup.py install 二:如果安装有easy_install或pip,可直接使用: easy_install requests或者pip install requests来安装。若安装失败使用python -m pip install -- 阅读全文
posted @ 2019-12-12 22:07 ocean0327 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 1.先调用浏览器驱动与浏览器版本是否一致 2.浏览器调用成功后,创建session返回 System.setProperty("webdriver.chrome.driver", "D:\\java_selenium\\pig\\chromedriver_win32\\chromedriver.ex 阅读全文
posted @ 2019-12-05 23:36 ocean0327 阅读(115) 评论(0) 推荐(0) 编辑