CentOS 7 安装Chrome浏览器的方法

这篇文章主要介绍了CentOS 7 安装Chrome浏览器的方法,小编觉得挺不错的,现在分享给大家,也给大家做个参考。一起跟随小编过来看看吧

本文介绍了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-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 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就可在安装成功。

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

以上就是CentOS 7 安装Chrome浏览器的方法的详细内容,更多请关注0133技术站其它相关文章!

赞(0) 打赏
未经允许不得转载:0133技术站首页 » 服务器