当前位置: 首页 > news >正文

centos部署chrome和chromedriver

下载

chrome安装包1:http://dist.control.lth.se/public/CentOS-7/x86_64/google.x86_64/
chrome安装包2:https://googlechromelabs.github.io/chrome-for-testing/#stable
chromedrver1:https://registry.npmmirror.com/binary.html?path=chromedriver/
chromedriver2:https://www.cnblogs.com/aiyablog/articles/17948703

替换139.0.7258.68版本号
https://storage.googleapis.com/chrome-for-testing-public/139.0.7258.68/win64/chromedriver-win64.zip
https://storage.googleapis.com/chrome-for-testing-public/139.0.7258.68/linux64/chromedriver-linux64.zip

124版chrome下载地址:
http://dist.control.lth.se/public/CentOS-7/x86_64/google.x86_64/google-chrome-stable-124.0.6367.118-1.x86_64.rpm

安装chrome

安装最新版:
yum install https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
或安装本地:
wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
yum install ./google-chrome-stable_current_x86_64.rpm
yum localinstall google-chrome-stable_current_x86_64.rpm

卸载chrome

yum remove google-chrome-stable

查看chrome版本

google-chrome -version

查看安装目录

whereis google-chrome

注意事项:

centos7最高只能安装chrome124版本,以上或报错

chromedriver需要添加执行权限

http://www.lryc.cn/news/620642.html

相关文章:

  • Redis的 ​​散列(Hash)​​ 和 ​​列表(List)​​ 数据结构操作详解
  • 带环链表详解:环形链表检测与入环节点查找
  • C# 中 ArrayList动态数组、List<T>列表与 Dictionary<T Key, T Value>字典的深度对比
  • Java List 集合详解(ArrayList、LinkedList、Vector)
  • 上网行为安全概述和组网方案
  • 服务器的安全检测和防御技术
  • Docker部署美化SunPanel导航页
  • 从负载均衡到配置中心,Nacos内置功能一次讲清?
  • 如果超过10W并发,后台如何做负载均衡?
  • OpenManus项目中搜索引擎工具替换的技术方案解析
  • 文件上传接口接收不到文件入参
  • 新手如何高效运营亚马逊跨境电商:从传统SP广告到DeepBI智能策略
  • 飞算JavaAI:革新Java开发体验的智能助手
  • AI数据仓库的核心优势解析
  • MCPServerChart实用图表MCP快速入门指南
  • 预训练模型在机器翻译中的应用:迁移学习的优势详解
  • 介绍一下 自动驾驶 感知多任务训练模型设计
  • 自动驾驶轨迹规划算法——Apollo OpenSpace Planner
  • 【系统安装】虚拟机中安装win10IOT企业版系统记录
  • 智能制造综合实训平台数据采集物联网解决方案
  • 在启智平台使用A100对文心开源大模型Ernie4.5 0.3B微调(失败)
  • ISIS报文
  • python中的map函数
  • 初识c语言————缓冲区字符滞留
  • 计算机视觉(opencv)实战三——图像运算、cv2.add()、cv2.addWeighted()
  • 疏老师-python训练营-Day45Tensorboard使用介绍
  • Effective C++ 条款40:明智而审慎地使用多重继承
  • 给植物浇水
  • 计算机视觉CS231n学习(8)
  • 飞算 JavaAI 云原生实践:基于 Docker 与 K8s 的自动化部署架构解析