2024年5月30日

Python selenium webdriver

摘要: 元素定位 第一步,导入selenium模块的webdrivier包 import time from selenium import webdriver from selenium.webdriver.common.by import By 窗口最大化 driver=maximize_window( 阅读全文

posted @ 2024-05-30 21:52 沐心q 阅读(266) 评论(0) 推荐(0) 编辑

python连接数据库

摘要: 一 # 删除数据库 import pymysql mydb = pymysql.connect( host="localhost", user="root", password="000000", database="my_db" ) mycursor = mydb.cursor() sql = " 阅读全文

posted @ 2024-05-30 21:51 沐心q 阅读(37) 评论(0) 推荐(0) 编辑

CMD 与 ENTRYPOINT 区别

摘要: CMD 命令演示 编写 Dockerfile [root@sail dockerfile]# vim Dockerfile-cmd-test [root@sail dockerfile]# cat Dockerfile-cmd-test FROM centos CMD ["ls","-a"] 构建镜 阅读全文

posted @ 2024-05-30 20:58 沐心q 阅读(11) 评论(0) 推荐(0) 编辑

dockerfile1

摘要: dockerfile介绍 dockerfile是用来构建docker镜像的文件!命令参数脚本! 构建步骤: 编写一个dokerfile文件 docker build 构建一个镜像 docker run 运行镜像 docker push 发布镜像(dckerhub 、阿里云镜像仓库) dockerfi 阅读全文

posted @ 2024-05-30 20:30 沐心q 阅读(6) 评论(0) 推荐(0) 编辑

配置redhat9阿里源

摘要: vim /etc/yum.repo/aliyun_yum.repo [ali_baseos] name=ali_baseos baseurl=https://mirrors.aliyun.com/centos-stream/9-stream/BaseOS/x86_64/os/ gpgcheck=0 阅读全文

posted @ 2024-05-30 16:14 沐心q 阅读(36) 评论(0) 推荐(0) 编辑

配置yum本地源

摘要: 1 vim /etc/yum.repos.d/local.repo [dvd_BaseOS] name=dvd_BaseOS baseurl=file:///iso/BaseOS gpgcheck=0 enabled=1 [dvd_AppStream] name=dvd_AppStream base 阅读全文

posted @ 2024-05-30 15:59 沐心q 阅读(18) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

点击右上角即可分享
微信分享提示