导航

2022年11月5日

摘要: 运行python脚本报错:selenium.common.exceptions.SessionNotCreatedException: Message: session not created 原因:ChromeDriver版本与浏览器版本不匹配。 解决方法:重新下载适配的ChromeDriver。 阅读全文

posted @ 2022-11-05 18:24 Qtoken 阅读(832) 评论(0) 推荐(0) 编辑

摘要: 运行python脚本报错 SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape 原因: 反斜杠 \ 在python3 中属于 阅读全文

posted @ 2022-11-05 15:43 Qtoken 阅读(139) 评论(0) 推荐(0) 编辑

摘要: xshell连接虚拟机 1.提前打开虚拟机,xshell才能连上 2.打开xshell,点击会话框 或 菜单栏的新建图标创建新连接 3.新建会话框左侧的类别,选择连接,输入相关信息 4.左侧类别选择“用户身份验证”,填入登陆服务器使用的 用户名和密码,点击确认 5.双击xshell会话框,自定义的连 阅读全文

posted @ 2022-11-05 15:20 Qtoken 阅读(297) 评论(0) 推荐(0) 编辑

摘要: CentOS 7(Linux)安装Docker 一、分别执行下列命令添加并更新yum源 yum update yum install epel-release -y yum clean all yum list 二、安装Docker后运行 yum install docker-io -y # 安装 阅读全文

posted @ 2022-11-05 15:19 Qtoken 阅读(39) 评论(0) 推荐(0) 编辑

摘要: Docker 部署 Nginx 报错 WARNING: IPv4 forwarding is disabled. Networking will not work. [root@localhost ~]# docker run --name nginx-1 -p 8080:80 -d nginx 一 阅读全文

posted @ 2022-11-05 15:18 Qtoken 阅读(137) 评论(0) 推荐(0) 编辑

2022年7月4日

摘要: CentOS 7(Linux)安装Docker,执行yum install docker-io -y报错 一、执行yum install docker-io -y报错 Error: docker-ce conflicts with 2:docker-1.13.1-209.git7d71120.el7 阅读全文

posted @ 2022-07-04 17:24 Qtoken 阅读(586) 评论(0) 推荐(0) 编辑

2022年6月22日

摘要: centos7查看ip地址 1.centos7进入终端 安装的centos7虚拟机(无图形界面):输入账号密码进入centos7 2.命令行输入 ip addr 查看 ip地址 阅读全文

posted @ 2022-06-22 12:40 Qtoken 阅读(320) 评论(0) 推荐(0) 编辑

2020年5月19日

摘要: Ubuntu与centos之间的文件传输 默认端口:22 传输前确认端口是否开启 1、在Ubuntu上安装scp命令 apt-get install openssh-server 2、将Ubuntu上的文件/文件夹上传到centos scp Ubuntu文件路径 centos用户名@外网ip:存储路 阅读全文

posted @ 2020-05-19 22:10 Qtoken 阅读(1171) 评论(0) 推荐(0) 编辑

2020年5月14日

摘要: error: failed to push some refs to 'https://github.com/Qtoken/......' 1. 问题描述:执行命令:git push origin master 将git仓库项目 添加到github非空仓库报错 2.返回内容: error: fail 阅读全文

posted @ 2020-05-14 11:41 Qtoken 阅读(192) 评论(0) 推荐(0) 编辑

2020年5月13日

摘要: jenkins新建用户,设置权限 一、新建用户 1.1 登录jenkins,点开 manage Jenkins 1.2进入Manage Users 1.3 新建用户 1.4填入新建用户信息 1.5用户列表可查看用户信息 二、设置用户权限 2.1点开 manage Jenkins 2.2 进入Conf 阅读全文

posted @ 2020-05-13 20:14 Qtoken 阅读(920) 评论(0) 推荐(0) 编辑