chrome安装(sentos7)

匿名 (未验证) 提交于 2019-12-02 21:59:42

在服务器上安装chrome是用来模拟浏览器抓取数据的。

直接 yum install chrome是安装不了的

你要做以下几步就可以了。

配置yum源

1.vim /etc/yum.repos.d/google-chrome.repo

写入以下内容:

[google-chrome]

name=google-chrome

baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch

enabled=1

gpgcheck=1

gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

##Google官方源可能在中国无法使用,导致安装失败或者在国内无法更新,可以添加以下参数来安装:

2.yum-chrome-stable --nogpgcheck

3. 查看chrome版本:google-chrome-stable --version

出现版本号表示安装成功,恭喜,恭喜!

参考链接:

https://blog.csdn.net/u010472499/article/details/72327963

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!