首页 > 服务器 > Web服务器 > 正文

CentOS 7 安装Chrome浏览器的方法

2019-10-11 23:37:57
字体:
来源:转载
供稿:网友

本文介绍了CentOS 7 安装Chrome浏览器的方法,分享给大家,具体如下:

配置yum下载源:

在目录 /etc/yum.repos.d/ 下新建文件 google-chrome.repo

[root@localhost ~]#  cd /ect/yum.repos.d/[root@localhost yum.repos.d]#  vim google-chrome.repo

编辑google-chrome.repo,内容如下,,编辑后保存退出(:wq)

[google-chrome]name=google-chromebaseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearchenabled=1gpgcheck=1gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

安装google chrome浏览器:

[root@localhost yum.repos.d]# yum -y install google-chrome-stable

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

[root@localhost yum.repos.d]# yum -y install google-chrome-stable --nogpgcheck

这样,google chrome就可在安装成功。

以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持VEVB武林网。


注:相关教程知识阅读请移步到服务器教程频道。
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表